/* =========================================================================
   FIKSON — iGaming SEO · GEO · AI Visibility
   Design system: light premium SaaS, purple→blue gradient accents
   Type: Space Grotesk (display) · Hanken Grotesk (body) · IBM Plex Mono (labels)
   ========================================================================= */

:root {
  /* Neutrals (cool-tinted) */
  --bg:        oklch(0.992 0.003 280);
  --bg-2:      oklch(0.975 0.005 280);
  --surface:   oklch(1 0 0);
  --ink:       oklch(0.22 0.022 285);
  --ink-soft:  oklch(0.40 0.020 285);
  --muted:     oklch(0.55 0.018 285);
  --line:      oklch(0.915 0.010 285);
  --line-soft: oklch(0.945 0.008 285);

  /* Accent gradient stops */
  --violet:    oklch(0.58 0.205 298);
  --indigo:    oklch(0.56 0.190 277);
  --blue:      oklch(0.62 0.170 256);
  --cyan:      oklch(0.74 0.130 220);
  --accent:    var(--indigo);
  --accent-ink:oklch(0.46 0.200 290);

  --grad:        linear-gradient(110deg, var(--violet) 0%, var(--indigo) 48%, var(--blue) 100%);
  --grad-soft:   linear-gradient(110deg, oklch(0.58 0.205 298 / 0.12), oklch(0.62 0.170 256 / 0.12));

  /* Radii + shadow */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px oklch(0.4 0.03 285 / 0.05), 0 2px 6px oklch(0.4 0.03 285 / 0.04);
  --shadow:    0 10px 30px -12px oklch(0.4 0.06 285 / 0.18), 0 2px 8px oklch(0.4 0.03 285 / 0.05);
  --shadow-lg: 0 30px 70px -28px oklch(0.45 0.10 290 / 0.30), 0 8px 24px -10px oklch(0.4 0.05 285 / 0.10);
  --glow:      0 0 0 1px oklch(0.58 0.20 290 / 0.25), 0 18px 50px -16px oklch(0.56 0.20 285 / 0.40);

  --maxw: 1200px;
  --nav-h: 70px;
  --dock-h: 58px;

  --f-display: "Space Grotesk", "Hanken Grotesk", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: oklch(0.58 0.20 290 / 0.18); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }

/* ----------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.eyebrow {
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent); opacity: 0.6; }
.eyebrow.is-center::before { display: none; }
.gradient-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); line-height: 1.55; max-width: 60ch; }
.muted { color: var(--muted); }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; font-family: var(--f-display);
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .25s; }
.btn-primary { background: var(--grad); color: white; box-shadow: 0 10px 26px -10px oklch(0.56 0.20 285 / 0.55); position: relative; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(110deg, white 0%, transparent 40%); opacity: 0; transition: opacity .25s; mix-blend-mode: overlay;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px oklch(0.56 0.20 285 / 0.65); }
.btn-primary:hover::after { opacity: 0.25; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: oklch(0.58 0.15 290 / 0.4); box-shadow: var(--shadow); }
.btn-lg { padding: 16px 28px; font-size: 16.5px; }
.btn-text { color: var(--accent-ink); font-weight: 600; font-family: var(--f-display); display: inline-flex; align-items: center; gap: 7px; }
.btn-text svg { width: 16px; height: 16px; transition: transform .25s; }
.btn-text:hover svg { transform: translateX(4px); }

/* ----------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  background: oklch(0.992 0.003 280 / 0.72); backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 oklch(1 0 0 / 0.6), var(--shadow-sm); }
.nav__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--f-display); font-weight: 700; font-size: 21px; letter-spacing: -0.04em; color: var(--ink); }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 6px 16px -6px oklch(0.56 0.20 285 / 0.6);
  position: relative; flex: none;
}
.brand__mark::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 1px oklch(1 0 0 / 0.5); }
.brand__mark span { width: 11px; height: 11px; border-radius: 3px; background: oklch(1 0 0 / 0.95); box-shadow: 0 0 12px oklch(1 0 0 / 0.6); }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__links a { padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: oklch(0.58 0.10 290 / 0.07); }
.nav__links a.is-active { color: var(--accent-ink); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; }
.nav__burger svg { width: 20px; height: 20px; }

/* ----------------------------------------------------------------- bottom dock */
.dock {
  position: fixed; inset: auto 0 0 0; height: var(--dock-h); z-index: 99;
  display: flex; align-items: center;
  background: oklch(0.18 0.02 285 / 0.88); backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-top: 1px solid oklch(1 0 0 / 0.08);
  color: oklch(0.96 0.005 285);
}
.dock__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; display: flex; align-items: center; gap: 22px; }
.dock__status { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.02em; color: oklch(0.82 0.01 285); }
.dock__dot { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.78 0.16 150); box-shadow: 0 0 0 0 oklch(0.78 0.16 150 / 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 oklch(0.78 0.16 150 / 0.5);} 70%{ box-shadow: 0 0 0 7px oklch(0.78 0.16 150 / 0);} 100%{ box-shadow: 0 0 0 0 oklch(0.78 0.16 150 / 0);} }
.dock__links { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.dock__links a { color: oklch(0.80 0.01 285); transition: color .2s; }
.dock__links a:hover { color: white; }
.dock__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.dock__mail { font-family: var(--f-mono); font-size: 13px; color: oklch(0.85 0.02 285); display: inline-flex; align-items: center; gap: 8px; }
.dock__cta { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; background: var(--grad); color: white; font-family: var(--f-display); font-weight: 600; font-size: 13.5px; transition: transform .2s, box-shadow .2s; box-shadow: 0 6px 18px -8px oklch(0.56 0.2 285 / 0.8); }
.dock__cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px oklch(0.56 0.2 285 / 0.9); }

main { padding-bottom: var(--dock-h); }

/* ----------------------------------------------------------------- mesh bg */
.mesh { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.mesh__blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.38; will-change: transform; }
.mesh__blob.b1 { width: 600px; height: 600px; background: radial-gradient(circle, var(--violet), transparent 66%); top: -280px; left: -160px; animation: drift1 22s ease-in-out infinite; }
.mesh__blob.b2 { width: 540px; height: 540px; background: radial-gradient(circle, var(--blue), transparent 66%); top: -220px; right: -180px; animation: drift2 26s ease-in-out infinite; }
.mesh__blob.b3 { width: 480px; height: 480px; background: radial-gradient(circle, var(--cyan), transparent 70%); top: 0px; left: 42%; opacity: 0.26; animation: drift3 30s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(80px,60px) scale(1.12);} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-70px,50px) scale(1.08);} }
@keyframes drift3 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-40px,-40px) scale(1.15);} }
.grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); }

/* ----------------------------------------------------------------- hero */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 104px)); padding-bottom: clamp(64px, 9vw, 120px); overflow: hidden; }
.hero__grid-lines { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(oklch(0.58 0.1 290 / 0.05) 1px, transparent 1px), linear-gradient(90deg, oklch(0.58 0.1 290 / 0.05) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(120% 90% at 50% 0%, black 30%, transparent 75%); }
.hero__inner { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(40px, 6.4vw, 80px); letter-spacing: -0.035em; line-height: 1.0; max-width: 16ch; }
.hero .lead { margin-top: 26px; font-size: clamp(18px, 2.1vw, 22px); }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 7px 7px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; color: var(--ink-soft); margin-bottom: 26px; }
.hero__pill b { color: var(--ink); font-weight: 600; }
.hero__pill .tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--grad-soft); color: var(--accent-ink); }

/* engine chips under hero */
.engines { margin-top: 56px; display: flex; flex-direction: column; gap: 16px; }
.engines__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.engines__row { display: flex; flex-wrap: wrap; gap: 12px; }
.engine-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink-soft); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.engine-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: oklch(0.58 0.15 290 / 0.35); }
.engine-chip .d { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }

/* ----------------------------------------------------------------- section heads */
.shead { max-width: 64ch; }
.shead h2 { font-size: clamp(30px, 4.2vw, 50px); margin-top: 18px; }
.shead p { margin-top: 18px; }
.shead.is-center { margin-inline: auto; text-align: center; }
.shead.is-center .eyebrow { justify-content: center; }
.shead.is-center .lead { margin-inline: auto; }

/* ----------------------------------------------------------------- stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--surface); padding: 30px 26px; }
.stat__num { font-family: var(--f-display); font-size: clamp(32px, 4vw, 46px); font-weight: 600; letter-spacing: -0.04em; }
.stat__label { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* ----------------------------------------------------------------- shift / split */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.shift-card { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); padding: 30px; overflow: hidden; }
.shift-card__head { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.serp-row { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line-soft); }
.serp-row:last-child { border-bottom: 0; }
.serp-rank { font-family: var(--f-mono); font-size: 13px; color: var(--muted); width: 28px; flex: none; }
.serp-bar { height: 9px; border-radius: 999px; background: var(--grad); flex: 1; transform-origin: left; }
.serp-bar.dim { background: var(--line); }
.serp-tag { font-family: var(--f-mono); font-size: 11px; padding: 3px 9px; border-radius: 999px; background: var(--grad-soft); color: var(--accent-ink); flex: none; }
.ai-quote { margin-top: 18px; padding: 18px; border-radius: var(--r); background: linear-gradient(180deg, oklch(0.58 0.10 290 / 0.06), transparent); border: 1px solid oklch(0.58 0.12 290 / 0.2); }
.ai-quote__src { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; color: var(--accent-ink); margin-bottom: 8px; }
.ai-quote p { font-size: 15px; color: var(--ink-soft); }
.ai-quote cite { font-style: normal; color: var(--accent-ink); font-weight: 600; }

/* ----------------------------------------------------------------- services grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc {
  position: relative; padding: 30px; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.svc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; }
.svc::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, oklch(0.6 0.18 290 / 0.16), transparent 70%); top: var(--my, -100px); left: var(--mx, -100px); transform: translate(-50%,-50%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc:hover::before { opacity: 1; }
.svc:hover::after { opacity: 1; }
.svc__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid oklch(0.58 0.12 290 / 0.18); margin-bottom: 22px; position: relative; z-index: 1; }
.svc__icon svg { width: 26px; height: 26px; stroke: var(--accent-ink); }
.svc__num { position: absolute; top: 26px; right: 28px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); z-index: 1; }
.svc h3 { font-size: 21px; position: relative; z-index: 1; }
.svc p { margin-top: 11px; font-size: 15.5px; color: var(--ink-soft); position: relative; z-index: 1; }
.svc__tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; position: relative; z-index: 1; }
.svc__tags span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.03em; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); }

/* ----------------------------------------------------------------- process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 28px 26px 28px 0; position: relative; }
.step::before { content: ""; position: absolute; top: 14px; left: 0; right: 22px; height: 1px; background: var(--line); }
.step__dot { width: 13px; height: 13px; border-radius: 50%; background: var(--grad); position: relative; top: 8px; box-shadow: 0 0 0 5px var(--bg), 0 0 14px oklch(0.58 0.2 290 / 0.5); }
.step__n { font-family: var(--f-mono); font-size: 12px; color: var(--accent-ink); margin-top: 22px; letter-spacing: 0.1em; }
.step h3 { font-size: 19px; margin-top: 10px; }
.step p { font-size: 14.5px; color: var(--ink-soft); margin-top: 9px; }

/* ----------------------------------------------------------------- case cards */
.case { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 28px 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: oklch(0.58 0.14 290 / 0.3); }
.case__sector { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.case__metric { font-family: var(--f-display); font-size: clamp(34px, 4vw, 46px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.case__metric small { font-size: 0.5em; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.case h3 { font-size: 20px; margin-top: 4px; }
.case p { font-size: 15px; color: var(--ink-soft); margin-top: 8px; max-width: 52ch; }
.case__kpis { display: flex; gap: 26px; }
.case__kpi { text-align: right; }
.case__kpi .v { font-family: var(--f-display); font-weight: 600; font-size: 22px; }
.case__kpi .l { font-size: 12.5px; color: var(--muted); }

/* ----------------------------------------------------------------- big CTA */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; background: oklch(0.20 0.04 285); color: white; padding: clamp(48px, 7vw, 90px); text-align: center; }
.cta-band .mesh__blob { opacity: 0.7; filter: blur(80px); }
.cta-band__inner { position: relative; z-index: 2; }
.cta-band h2 { color: white; font-size: clamp(32px, 5vw, 60px); max-width: 18ch; margin-inline: auto; }
.cta-band p { color: oklch(0.85 0.02 285); margin-top: 20px; font-size: clamp(17px, 2vw, 20px); max-width: 52ch; margin-inline: auto; }
.cta-band .hero__cta { justify-content: center; margin-top: 36px; }
.cta-band .btn-ghost { background: oklch(1 0 0 / 0.08); color: white; border-color: oklch(1 0 0 / 0.2); }
.cta-band .btn-ghost:hover { background: oklch(1 0 0 / 0.16); }

/* ----------------------------------------------------------------- footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: 64px 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand p { margin-top: 16px; font-size: 14.5px; color: var(--muted); max-width: 34ch; }
.footer__col h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 15px; color: var(--ink-soft); padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: var(--accent-ink); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); }
.footer__bottom .f-mono { font-family: var(--f-mono); }

/* ----------------------------------------------------------------- page hero (interior) */
.phero { position: relative; padding-top: calc(var(--nav-h) + clamp(50px, 6vw, 80px)); padding-bottom: clamp(36px, 5vw, 60px); overflow: hidden; }
.phero h1 { font-size: clamp(36px, 5.4vw, 68px); max-width: 18ch; }
.phero .lead { margin-top: 22px; }
.crumb { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 18px; }
.crumb a { color: var(--accent-ink); }

/* prose (blog / about content) */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: clamp(26px, 3.2vw, 36px); margin-top: 48px; }
.prose h3 { font-size: 22px; margin-top: 36px; }
.prose p, .prose li { font-size: 17.5px; color: var(--ink-soft); line-height: 1.7; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 24px; display: flex; flex-direction: column; gap: 10px; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 6px 22px; font-size: 19px; color: var(--ink); font-family: var(--f-display); font-weight: 500; }
.prose img { border-radius: var(--r); border: 1px solid var(--line); }
.prose code { font-family: var(--f-mono); font-size: 0.9em; background: var(--bg-2); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); }

/* blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: oklch(0.58 0.14 290 / 0.3); }
.post-card__thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--bg-2); }
.post-card__thumb .ph { position: absolute; inset: 0; }
.post-card__cat { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em; padding: 5px 11px; border-radius: 999px; background: oklch(1 0 0 / 0.92); color: var(--accent-ink); backdrop-filter: blur(6px); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.post-card h3 { font-size: 20px; margin-top: 10px; line-height: 1.2; }
.post-card p { font-size: 15px; color: var(--ink-soft); margin-top: 10px; flex: 1; }
.post-card__more { margin-top: 18px; font-family: var(--f-display); font-weight: 600; font-size: 14.5px; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 7px; }
.post-card__more svg { width: 16px; height: 16px; flex: none; transition: transform .25s; }
.post-card:hover .post-card__more svg { transform: translateX(4px); }

/* placeholder striped imagery */
.ph { background:
  repeating-linear-gradient(135deg, oklch(0.58 0.12 290 / 0.10) 0 14px, transparent 14px 28px),
  linear-gradient(135deg, oklch(0.95 0.02 290), oklch(0.93 0.03 256));
  display: grid; place-items: center; }
.ph span { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--accent-ink); text-transform: uppercase; opacity: 0.75; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px oklch(0.58 0.18 290 / 0.12); }
.contact-aside { padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-aside .row { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.contact-aside .row:last-child { border-bottom: 0; }
.contact-aside .row svg { width: 22px; height: 22px; stroke: var(--accent-ink); flex: none; margin-top: 2px; }
.contact-aside .row .l { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-aside .row .v { font-size: 16px; color: var(--ink); margin-top: 2px; }
.contact-aside .row .v a { color: var(--accent-ink); }

/* value cards (about) */
.value { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value h3 { font-size: 19px; }
.value p { font-size: 15px; color: var(--ink-soft); margin-top: 10px; }
.value__k { font-family: var(--f-mono); font-size: 12px; color: var(--accent-ink); letter-spacing: 0.08em; }

/* ----------------------------------------------------------------- reveal anim */
/* Hidden base; .in plays a keyframe animation (won't stall like a transition can). */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { animation: fikReveal .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fikReveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.reveal[data-d="1"].in { animation-delay: .08s; }
.reveal[data-d="2"].in { animation-delay: .16s; }
.reveal[data-d="3"].in { animation-delay: .24s; }
.reveal[data-d="4"].in { animation-delay: .32s; }
/* Force-visible escape hatch set by JS safety net — beats everything. */
.reveal.fik-show { opacity: 1 !important; transform: none !important; animation: none !important; }

/* ----------------------------------------------------------------- mobile menu */
.mmenu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 98; background: oklch(0.992 0.003 280 / 0.98); backdrop-filter: blur(20px); padding: 24px 28px; display: none; flex-direction: column; gap: 4px; }
.mmenu.open { display: flex; }
.mmenu a { font-family: var(--f-display); font-size: 24px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.mmenu .btn-primary { margin-top: 20px; }

/* ----------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .case { grid-template-columns: 1fr; gap: 18px; }
  .case__kpis { justify-content: flex-start; }
  .case__kpi { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__right .btn { display: none; }
  .dock__links { display: none; }
  .dock__status .txt { display: none; }
  .grid-3, .grid-2, .posts, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .container { padding-inline: 20px; }
  .step::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mesh__blob { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .reveal.in { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   WORDPRESS INTEGRATION — wp_nav_menu output, core classes, pagination
   (harmless for the static prototype; only applies inside WP markup)
   ========================================================================= */
.nav__menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__menu li { position: relative; }
.nav__menu a { display: block; padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .2s, background .2s; }
.nav__menu a:hover { color: var(--ink); background: oklch(0.58 0.10 290 / 0.07); }
.nav__menu .current-menu-item > a, .nav__menu .current_page_item > a { color: var(--accent-ink); }
/* submenus */
.nav__menu ul { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 10px); left: 0; min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; }
.nav__menu li:hover > ul { opacity: 1; visibility: visible; transform: none; }
.nav__menu ul a { font-size: 14.5px; }

/* mobile menu list */
.mmenu__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mmenu__menu a { font-family: var(--f-display); font-size: 24px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); display: block; }

/* dock + footer menus */
.dock__menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 20px; }
.dock__menu a { color: oklch(0.80 0.01 285); font-size: 14px; transition: color .2s; }
.dock__menu a:hover { color: white; }
.footer__menu { list-style: none; margin: 0; padding: 0; }
.footer__menu a { display: block; font-size: 15px; color: var(--ink-soft); padding: 6px 0; transition: color .2s; }
.footer__menu a:hover { color: var(--accent-ink); }

/* WP core alignment + media */
.prose .alignleft, .alignleft { float: left; margin: 6px 28px 18px 0; }
.prose .alignright, .alignright { float: right; margin: 6px 0 18px 28px; }
.prose .aligncenter, .aligncenter { display: block; margin-inline: auto; }
.prose figure { margin: 28px 0; }
.prose figcaption, .wp-caption-text { font-size: 13.5px; color: var(--muted); margin-top: 8px; text-align: center; font-family: var(--f-mono); }
.wp-block-image img { border-radius: var(--r); }
.sticky, .bypostauthor { display: block; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); font-family: var(--f-display); font-weight: 600; font-size: 15px; transition: all .2s; }
.pagination .page-numbers:hover { border-color: oklch(0.58 0.15 290 / 0.4); color: var(--ink); }
.pagination .page-numbers.current { background: var(--grad); color: white; border-color: transparent; }

/* tags / post meta chips */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.post-tags a { font-family: var(--f-mono); font-size: 12px; padding: 6px 13px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); transition: all .2s; }
.post-tags a:hover { color: var(--accent-ink); border-color: oklch(0.58 0.15 290 / 0.35); }

/* comments (minimal) */
.comments-area { max-width: 820px; margin: 56px auto 0; }
.comments-area .comment-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.comments-area .comment-body { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }

/* search form */
.searchform { display: flex; gap: 10px; }
.searchform input[type="search"] { flex: 1; font: inherit; font-size: 16px; padding: 13px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); }
.searchform input[type="search"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px oklch(0.58 0.18 290 / 0.12); }
