/* ==========================================================================
   Follow Your Code - redesign
   Fonts are self-hosted (no third-party requests before cookie consent).
   ========================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/bricolage-grotesque-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(../fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(../fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens (palette taken from the rocket illustration) ---------- */
:root {
  --ink: #1a1240;
  --ink-2: #4b4569;
  --ink-3: #66617f;
  --bg: #fbfaff;
  --bg-2: #f4f1ff;
  --surface: #ffffff;
  --line: rgba(26, 18, 64, .09);
  --line-2: rgba(26, 18, 64, .16);

  --violet: #6b4dff;
  --violet-dark: #5638e8;
  --violet-soft: #eeeaff;
  --mint: #10c6a1;
  --mint-strong: #0a9e80;
  --mint-soft: #dcf8f0;
  --coral: #ff7a6e;
  --coral-strong: #ec5245;
  --coral-soft: #ffe9e6;
  --sky: #4fb1ff;
  --sky-strong: #1f8de6;
  --sky-soft: #e2f1ff;
  --sun: #ffbf4d;
  --sun-strong: #d98c00;
  --sun-soft: #fff2d6;

  --night: #120b2e;
  --night-2: #1d1446;

  --font-display: 'Bricolage Grotesque Variable', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans Variable', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono Variable', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 14px;
  --r: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  --shadow-sm: 0 1px 2px rgba(26, 18, 64, .05), 0 6px 16px -6px rgba(26, 18, 64, .10);
  --shadow: 0 2px 6px rgba(26, 18, 64, .04), 0 18px 40px -16px rgba(26, 18, 64, .18);
  --shadow-lg: 0 40px 90px -30px rgba(52, 26, 150, .38);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --nav-h: 80px;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--violet); color: #fff; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mono { font-family: var(--font-mono); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: .6em 1em;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Shared type ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet);
}
.kicker::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), var(--mint));
}
.kicker--center { display: flex; justify-content: center; text-align: center; }
.kicker--center::after {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--mint), var(--violet));
}
.kicker--light { color: #b9a9ff; }

.section-title {
  margin-top: .45em;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
  font-weight: 720;
  line-height: 1.03;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.section-title--center { text-align: center; }

.accent { color: var(--violet); }

.grad-text {
  background: linear-gradient(95deg, #6b4dff 0%, #a63ff0 30%, #ec5245 60%, #6b4dff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-pan 7s ease-in-out infinite alternate;
}
.grad-text--warm {
  background-image: linear-gradient(95deg, #ffbf4d 0%, #ff7a6e 45%, #ff9ad5 75%, #ffbf4d 100%);
}

@keyframes grad-pan {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px;
  --by: 0px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 1.02em 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transform: translate(var(--bx), var(--by));
  transition: transform .35s var(--ease-out), background-color .3s, color .3s, box-shadow .3s, border-color .3s;
}
.btn .icon { transition: transform .35s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn--sm { padding: .8em 1.2em; font-size: .9375rem; }

.btn--primary { color: #fff; background: var(--ink); }
.btn--primary:hover { background: var(--violet-dark); }

.btn--dark { color: #fff; background: var(--ink); }
.btn--dark:hover { background: #2c2066; }

.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .65);
  border-color: var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: #fff; border-color: var(--ink); }

.btn--light {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 40px -12px rgba(255, 255, 255, .45);
}
.btn--light:hover { background: var(--sun-soft); }

/* ---------- Header ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 10px 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  pointer-events: auto;
  transition: background-color .45s, border-color .45s, box-shadow .45s, padding .45s var(--ease-out);
}
.nav.is-scrolled .nav__inner {
  background: rgba(255, 255, 255, .74);
  border-color: var(--line);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: saturate(1.8) blur(18px);
  backdrop-filter: saturate(1.8) blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 8px 18px -8px rgba(107, 77, 255, .8);
  transition: transform .5s var(--ease-spring);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__cursor { animation: blink 1.1s steps(1) infinite; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 720;
  letter-spacing: -.03em;
  line-height: 1;
}
.brand__name span { color: var(--violet); }

@keyframes blink { 50% { opacity: 0; } }

.nav__links {
  position: relative;
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.nav__links a {
  position: relative;
  z-index: 1;
  padding: .62em 1.05em;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .975rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .25s;
}
.nav__links a:hover { color: var(--ink); }
.nav__pill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--violet-soft);
  opacity: 0;
  transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity .25s;
}

.nav__toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 26px; }
.menu-open .nav__toggle { background: #fff; }
.menu-open .nav__toggle span { background: var(--ink); top: 22px; }
.menu-open .nav__toggle span:first-child { transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { transform: rotate(-45deg); }
.menu-open .nav .brand { color: #fff; }
.menu-open .nav .brand__name span { color: #b9a9ff; }
.menu-open .nav.is-scrolled .nav__inner { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.nav__links a[aria-current] { color: var(--ink); background: var(--violet-soft); }

/* ---------- Mobile menu ---------- */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  background: var(--night);
  color: #fff;
  overflow: hidden;
  clip-path: circle(0 at calc(100% - 44px) 44px);
  transition: clip-path .7s var(--ease-out);
}
.mmenu[hidden] { display: none; }
.mmenu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); }
.mmenu__glow {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(40% 35% at 80% 10%, rgba(107, 77, 255, .55), transparent 70%),
    radial-gradient(35% 30% at 10% 90%, rgba(16, 198, 161, .35), transparent 70%);
}
.mmenu__links { display: grid; gap: 6px; }
.mmenu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 10vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  text-decoration: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s, transform .6s var(--ease-out);
}
.mmenu__links small {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
  color: #b9a9ff;
  letter-spacing: .1em;
}
.mmenu.is-open .mmenu__links a { opacity: 1; transform: none; }
.mmenu__links a[aria-current] { color: #b9a9ff; }
.mmenu.is-open .mmenu__links a:nth-child(1) { transition-delay: .12s; }
.mmenu.is-open .mmenu__links a:nth-child(2) { transition-delay: .18s; }
.mmenu.is-open .mmenu__links a:nth-child(3) { transition-delay: .24s; }
.mmenu.is-open .mmenu__links a:nth-child(4) { transition-delay: .30s; }
.mmenu__foot { display: grid; gap: 12px; }
.mmenu__foot a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
}
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
/* The header floats above the page, so the hero reserves its height at the top. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(32px, 6vw, 80px)) 0 clamp(72px, 9vw, 110px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
  mask-image: linear-gradient(180deg, #000 78%, transparent);
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero__blob--1 {
  width: 820px; height: 820px;
  top: -320px; right: -220px;
  background: radial-gradient(circle, rgba(107, 77, 255, .28), transparent 62%);
}
.hero__blob--2 {
  width: 640px; height: 640px;
  top: 30%; left: -300px;
  background: radial-gradient(circle, rgba(16, 198, 161, .22), transparent 62%);
  animation-duration: 22s;
}
.hero__blob--3 {
  width: 560px; height: 560px;
  bottom: -320px; left: 38%;
  background: radial-gradient(circle, rgba(255, 122, 110, .22), transparent 62%);
  animation-duration: 26s;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 30px, 0) scale(1.08); }
}
.hero__dots,
.hero__spot {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 18, 64, .15) 1.1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 25%, transparent 75%);
}
.hero__spot {
  background-image: radial-gradient(rgba(107, 77, 255, .9) 1.4px, transparent 1.9px);
  -webkit-mask-image: radial-gradient(220px circle at var(--mx, -999px) var(--my, -999px), #000, transparent 75%);
  mask-image: radial-gradient(220px circle at var(--mx, -999px) var(--my, -999px), #000, transparent 75%);
}
.glyph {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 700;
  color: rgba(107, 77, 255, .16);
  translate: var(--px, 0) var(--py, 0);
  transition: translate .6s var(--ease-out);
}
.glyph--1 { top: 60%; left: 44%; font-size: 2.6rem; }
.glyph--2 { top: 88%; left: 3%; font-size: 2.2rem; color: rgba(16, 198, 161, .22); }
.glyph--3 { top: 14%; left: 46%; font-size: 1.8rem; color: rgba(255, 122, 110, .25); }
.glyph--4 { bottom: 10%; right: 44%; font-size: 3rem; }
.glyph--5 { top: 86%; right: 6%; font-size: 2rem; color: rgba(79, 177, 255, .25); }


.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .5em 1em .5em .8em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s;
}
.pill strong { color: var(--violet); font-weight: 700; }
.pill .icon { width: 1em; height: 1em; color: var(--violet); transition: transform .2s var(--ease); }
.pill:hover { border-color: var(--violet); }
.pill:hover .icon { transform: translateX(3px); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-strong); }

.hero__title {
  margin: .45em 0 .4em;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.8vw, 4.25rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 38ch;
  color: var(--ink-2);
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  color: var(--ink-2);
  font-size: .9375rem;
  font-weight: 600;
}
.hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__checks .icon { color: var(--mint-strong); stroke-width: 2.6; }

/* Visual */
.hero__visual {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1;
  margin-inline: auto;
}
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(107, 77, 255, .28);
}
.orbit--outer { inset: 2%; animation: spin 60s linear infinite; }
.orbit--inner { inset: 19%; border-color: rgba(16, 198, 161, .3); animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.orbit__chip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: rotate(var(--a)) translateX(48cqi) rotate(calc(var(--a) * -1));
}
.orbit__chip > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
  translate: -50% -50%;
  animation: spin 60s linear infinite reverse;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.orbit__chip:nth-child(1) .icon { color: var(--sky-strong); }
.orbit__chip:nth-child(2) .icon { color: var(--coral-strong); }
.orbit__chip:nth-child(3) .icon { color: var(--sun-strong); }
.orbit__chip:nth-child(4) .icon { color: var(--violet); }

.hero__glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(238, 234, 255, .9) 40%, rgba(220, 248, 240, .0) 72%);
}

.hero__rocket {
  position: absolute;
  left: 3%;
  right: 3%;
  top: 50%;
  translate: var(--px, 0) calc(-50% + var(--py, 0px));
  transition: translate .8s var(--ease-out);
}
.hero__rocket img {
  width: 100%;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(52, 26, 150, .18));
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(-.6deg); }
}

.codecard {
  position: absolute;
  left: -4%;
  bottom: 4%;
  width: min(300px, 62%);
  border-radius: 18px;
  background: rgba(18, 11, 46, .94);
  box-shadow: var(--shadow-lg);
  color: #fff;
  overflow: hidden;
  translate: var(--px, 0) var(--py, 0);
  transition: translate .7s var(--ease-out);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.codecard__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.codecard__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff7a6e; }
.codecard__bar i:nth-child(2) { background: #ffbf4d; }
.codecard__bar i:nth-child(3) { background: #10c6a1; }
.codecard__bar span {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: rgba(255, 255, 255, .55);
}
.codecard__body {
  margin: 0;
  padding: 14px 16px 16px;
  min-height: 9.6em;
  font-family: var(--font-mono);
  font-size: .78rem;
  line-height: 1.6;
  white-space: pre;
  overflow: hidden;
}
.codecard__body .ln { display: inline-block; width: 1.6em; color: rgba(255, 255, 255, .28); user-select: none; }
.tk-kw { color: #b9a6ff; }
.tk-fn { color: #5ef0c8; }
.tk-var { color: #ffd27a; }
.tk-p { color: rgba(255, 255, 255, .6); }
.tk-cm { color: rgba(255, 255, 255, .4); font-style: italic; }
.type-caret {
  display: inline-block;
  width: .55em;
  height: 1.1em;
  margin-left: 1px;
  background: #5ef0c8;
  vertical-align: -.2em;
  animation: blink 1s steps(1) infinite;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateX(-50%);
}
.scroll-cue__mouse {
  position: relative;
  width: 22px;
  height: 34px;
  border: 2px solid var(--line-2);
  border-radius: 12px;
}
.scroll-cue__mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 7px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--violet);
  animation: wheel 1.8s var(--ease-out) infinite;
}
@keyframes wheel {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(12px); opacity: 0; }
}


/* ---------- Technologies ---------- */
.tech {
  padding: clamp(40px, 6vw, 64px) 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: .975rem;
  font-weight: 650;
  white-space: nowrap;
}
.chip__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-soft);
  color: var(--c);
}
.chip__icon .icon { width: 18px; height: 18px; }
.chip--sun { --c: var(--sun-strong); --c-soft: var(--sun-soft); }
.chip--sky { --c: var(--sky-strong); --c-soft: var(--sky-soft); }
.chip--violet { --c: var(--violet); --c-soft: var(--violet-soft); }
.chip--mint { --c: var(--mint-strong); --c-soft: var(--mint-soft); }
.chip--coral { --c: var(--coral-strong); --c-soft: var(--coral-soft); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.card__head .mono { font-size: .8rem; color: var(--ink-3); }
.card h3 {
  margin-bottom: .45em;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 720;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.card p { color: var(--ink-2); text-wrap: pretty; }

.tile {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: var(--accent-soft, var(--violet-soft));
  color: var(--accent, var(--violet));
}
.tile .icon { width: 26px; height: 26px; }
.tile--sm { width: 40px; height: 40px; border-radius: 12px; }
.tile--sm .icon { width: 20px; height: 20px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li {
  padding: .35em .85em;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
}
.tags li::before { content: '#'; color: var(--accent, var(--violet)); margin-right: 1px; }

/* ---------- Story (mission / what we do / cooperation) ---------- */
.story { padding: clamp(56px, 7vw, 100px) 0 clamp(72px, 9vw, 130px); }
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
}
.story__aside {
  position: sticky;
  top: 120px;
  align-self: start;
}
.story__lead {
  margin-top: 24px;
  max-width: 40ch;
  color: var(--ink-2);
  font-size: 1.125rem;
  text-wrap: pretty;
}
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble svg {
  position: absolute;
  left: -2%;
  bottom: -.12em;
  width: 104%;
  height: .32em;
  overflow: visible;
}
.scribble path {
  fill: none;
  stroke: var(--mint);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset 1.4s var(--ease-out) .5s;
}
.is-in .scribble path { stroke-dashoffset: 0; }

.story__counter {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  column-gap: 10px;
  margin-top: clamp(32px, 5vw, 56px);
}
.story__num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 9vw, 8.5rem);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -.06em;
  background: linear-gradient(135deg, var(--violet), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.story__num.is-changing { animation: num-in .6s var(--ease-out); }
@keyframes num-in {
  from { opacity: 0; transform: translateY(30%); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
.story__total {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--ink-3);
  padding-bottom: .5em;
}
.story__label {
  grid-column: 1 / -1;
  margin-top: 10px;
  font-weight: 700;
  color: var(--ink-2);
}

.story__list { position: relative; padding-left: 64px; display: grid; gap: 28px; }
.story__line {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 21px;
  width: 2px;
  border-radius: 2px;
  background: var(--line-2);
}
.story__fill {
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--fill, 0) * 100%);
  border-radius: inherit;
  background: linear-gradient(180deg, var(--violet), var(--mint), var(--coral));
  box-shadow: 0 0 14px rgba(107, 77, 255, .5);
}
.story__item { position: relative; }
.story__node {
  position: absolute;
  top: 30px;
  left: -64px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  transition: background-color .4s, color .4s, border-color .4s, box-shadow .4s, transform .5s var(--ease-spring);
}
.story__item.is-active .story__node {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 0 6px var(--accent-soft), 0 10px 24px -8px var(--accent);
}
.story__card {
  transition: border-color .4s, box-shadow .5s, transform .6s var(--ease-out), opacity .9s var(--ease-out), filter .9s var(--ease-out);
}
.story__item.is-active .story__card {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: var(--shadow);
}

/* ---------- Facts ---------- */
.facts { padding: 0 0 clamp(72px, 9vw, 130px); }
.facts__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(107, 77, 255, .45), transparent 60%),
    radial-gradient(50% 80% at 100% 100%, rgba(16, 198, 161, .3), transparent 60%),
    var(--night);
  color: #fff;
}
.facts__stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent),
    radial-gradient(1px 1px at 28% 72%, rgba(255, 255, 255, .8), transparent),
    radial-gradient(1.5px 1.5px at 46% 18%, rgba(255, 255, 255, .9), transparent),
    radial-gradient(1px 1px at 62% 58%, rgba(255, 255, 255, .7), transparent),
    radial-gradient(2px 2px at 78% 28%, #fff, transparent),
    radial-gradient(1px 1px at 88% 78%, rgba(255, 255, 255, .8), transparent),
    radial-gradient(1.5px 1.5px at 6% 84%, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1px 1px at 54% 92%, rgba(255, 255, 255, .6), transparent);
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .5; } to { opacity: 1; } }

.facts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}
.fact {
  padding: 8px clamp(16px, 2.4vw, 32px);
  border-left: 1px solid rgba(255, 255, 255, .12);
}
.fact:first-child { padding-left: 0; border-left: 0; }
.fact__value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(120deg, #fff 10%, #b9a9ff 55%, #5ef0c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fact dd {
  margin-top: 14px;
  max-width: 24ch;
  color: rgba(255, 255, 255, .72);
  font-size: .975rem;
  line-height: 1.55;
}

/* ---------- Testimonials ---------- */
.testimonials { padding: 0 0 clamp(72px, 9vw, 130px); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }

.t-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.t-card {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 40px 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transition: transform .5s var(--ease-out), box-shadow .4s, opacity .9s var(--ease-out), filter .9s var(--ease-out);
  overflow: hidden;
}
.t-card:nth-child(2) { margin-top: 56px; }
.t-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.t-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .0), transparent 40%);
  pointer-events: none;
  transition: background .3s;
}
.js .t-card.is-tilting, .t-card.is-tilting { --lift: -6px; box-shadow: var(--shadow-lg); transition: transform .12s linear, box-shadow .4s; }
.t-card.is-tilting::after {
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), color-mix(in srgb, var(--accent) 12%, transparent), transparent 45%);
}
.t-card__quote {
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: .16;
}
.t-card blockquote {
  position: relative;
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-wrap: pretty;
}
.t-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px dashed var(--line-2);
  color: var(--ink-3);
  font-size: .875rem;
  line-height: 1.45;
}
.t-card figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}
.avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, var(--sun)));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 750;
  letter-spacing: -.02em;
}
.t-dots { display: none; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(64px, 7vw, 100px); }
.cta__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  align-items: center;
  gap: 40px;
  padding: clamp(48px, 7vw, 100px) clamp(24px, 6vw, 90px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(55% 80% at 0% 100%, rgba(107, 77, 255, .55), transparent 62%),
    radial-gradient(45% 70% at 100% 0%, rgba(255, 122, 110, .35), transparent 62%),
    var(--night);
  color: #fff;
}
.cta__stars { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.cta__countdown {
  min-height: 1.6em;
  color: #5ef0c8;
  font-size: .9rem;
  letter-spacing: .04em;
}
.cta__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 780;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.cta__text {
  margin-top: 22px;
  max-width: 44ch;
  color: rgba(255, 255, 255, .75);
  font-size: 1.125rem;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}
.mailchip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.mailchip > a { font-weight: 600; text-decoration: none; }
.mailchip > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mailchip__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .6em 1em;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: .85rem;
  font-weight: 650;
  cursor: pointer;
  transition: background-color .25s;
}
.mailchip__copy:hover { background: rgba(255, 255, 255, .22); }
.mailchip__copy.is-done { background: var(--mint); color: var(--night); }

.cta__pad {
  position: relative;
  justify-self: center;
  width: min(220px, 100%);
  height: 300px;
}
.cta__rocket {
  position: absolute;
  left: 50%;
  bottom: 46px;
  width: 120px;
  transform: translateX(-50%);
  animation: idle 3.4s ease-in-out infinite;
}
.cta__rocket svg { width: 100%; overflow: visible; }
.cta__flame { transform-origin: 32px 52px; animation: flame .18s ease-in-out infinite alternate; }
.cta__flame--inner { animation-duration: .12s; }
@keyframes flame {
  from { transform: scaleY(.85) scaleX(.95); }
  to { transform: scaleY(1.15) scaleX(1.05); }
}
@keyframes idle {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}
.cta__panel.is-ready .cta__rocket { animation: rumble .09s linear infinite; }
.cta__panel.is-launching .cta__rocket { animation: launch 1.6s cubic-bezier(.6, 0, .4, 1) forwards; }
@keyframes rumble {
  0% { transform: translateX(calc(-50% - 1.5px)) translateY(0); }
  50% { transform: translateX(calc(-50% + 1.5px)) translateY(-1px); }
  100% { transform: translateX(calc(-50% - 1px)) translateY(1px); }
}
@keyframes launch {
  0% { transform: translateX(-50%) translateY(0); }
  15% { transform: translateX(-50%) translateY(8px); }
  100% { transform: translateX(-50%) translateY(-720px); }
}
.cta__smoke {
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 180px;
  height: 60px;
  transform: translateX(-50%);
}
.cta__smoke i {
  position: absolute;
  bottom: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity .4s, transform 1.2s var(--ease-out);
}
.cta__smoke i:nth-child(1) { left: 0; }
.cta__smoke i:nth-child(2) { left: 40px; width: 70px; height: 70px; }
.cta__smoke i:nth-child(3) { left: 80px; width: 64px; height: 64px; }
.cta__smoke i:nth-child(4) { left: 120px; }
.cta__panel.is-ready .cta__smoke i,
.cta__panel.is-launching .cta__smoke i { opacity: 1; }
.cta__panel.is-launching .cta__smoke i:nth-child(1) { transform: translate(-40px, -10px) scale(1.6); }
.cta__panel.is-launching .cta__smoke i:nth-child(2) { transform: translate(-14px, -20px) scale(1.8); }
.cta__panel.is-launching .cta__smoke i:nth-child(3) { transform: translate(14px, -20px) scale(1.8); }
.cta__panel.is-launching .cta__smoke i:nth-child(4) { transform: translate(40px, -10px) scale(1.6); }
.cta__base {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 170px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 191, 77, .55), transparent);
  transform: translateX(-50%);
}

/* ---------- Subpage head ---------- */
.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(48px, 7vw, 104px)) 0 clamp(40px, 5vw, 72px);
  text-align: center;
}
/* The head is short, so its background fades out over a longer stretch than the hero's. */
.page-head .hero__bg {
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.page-head__title {
  max-width: 18ch;
  margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.4vw, 5.1rem);
  font-weight: 760;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.page-head--post .page-head__title {
  max-width: 22ch;
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  line-height: 1.04;
}
.page-head__lead {
  max-width: 52ch;
  margin: 22px auto 0;
  color: var(--ink-2);
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  text-wrap: pretty;
}
.page-head__back {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  margin-bottom: 22px;
  padding: .5em 1em .5em .8em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .3s, color .3s;
}
.page-head__back .icon { transform: rotate(180deg); transition: translate .3s var(--ease-out); }
.page-head__back:hover { border-color: rgba(107, 77, 255, .35); color: var(--ink); }
.page-head__back:hover .icon { translate: -3px 0; }

/* ---------- Article text (pages and posts) ---------- */
.page-body { padding: 0 0 clamp(72px, 9vw, 130px); }
.prose {
  max-width: 760px;
  margin-inline: auto;
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.prose > * + * { margin-top: 1.15em; }
.prose h2,
.prose h3 {
  margin-top: 1.9em;
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -.03em;
  line-height: 1.15;
  text-wrap: balance;
}
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); font-weight: 720; }
.prose h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); font-weight: 700; }
.prose > :first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a {
  color: var(--violet);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--violet-dark); }
.prose ul { padding-left: 1.3em; list-style: disc; }
.prose ol { padding-left: 1.4em; list-style: decimal; }
.prose li + li { margin-top: .6em; }
.prose li::marker { color: var(--violet); font-weight: 700; }
.prose li > p + p { margin-top: .8em; }
.prose img {
  width: auto;
  max-height: min(80vh, 720px);
  margin-inline: auto;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.prose .text-center { text-align: center; }
.prose blockquote {
  padding: clamp(20px, 2.6vw, 30px) clamp(22px, 3vw, 34px);
  border-left: 4px solid var(--violet);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--violet-soft);
  color: var(--ink);
  font-size: 1.1rem;
}
.prose .gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 1.8em;
}
.prose .gallery img { width: 100%; height: 100%; object-fit: cover; }
/* The event poster is a tall image; at full width it would dwarf the text around it. */
.prose #dzien-dziecka-plakat img { max-width: 75%; }
/* The privacy policy keeps its authors' line breaks (numbered points inside paragraphs). */
.prose--legal p { white-space: pre-line; }
.page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(32px, 4vw, 48px);
}

/* ---------- Team (O nas) ---------- */
.team { padding: 0 0 clamp(56px, 7vw, 100px); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}
.team-card {
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.team-card__avatar {
  width: 168px;
  height: 168px;
  margin: 0 auto 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--violet-soft), var(--shadow);
}
.team-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 720;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.team-card p {
  margin-top: 16px;
  color: var(--ink-2);
  text-align: left;
  text-wrap: pretty;
}

/* ---------- Not found ---------- */
.notfound { padding-bottom: clamp(96px, 12vw, 180px); }
.notfound__code {
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 600;
  color: var(--violet);
  letter-spacing: .14em;
}

/* ---------- Blog list ---------- */
/* One post per row: photo on the left, text on the right; stacked on narrow screens. */
.posts { padding: 0 0 clamp(72px, 9vw, 130px); }
.posts__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
}
.post-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .4s;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(107, 77, 255, .3);
  box-shadow: var(--shadow);
}
.post-card:focus-visible { border-radius: var(--r-lg); }
/* Width pinned to the column: the photo keeps at least 16:10 and grows taller with the text. */
.post-card__media {
  display: block;
  width: 100%;
  align-self: stretch;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.post-card:hover .post-card__media img { transform: scale(1.04); }
/* Posts without their own photo show the site rocket, whole, on a soft gradient. */
.post-card__media--rocket {
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 80% at 80% 10%, rgba(107, 77, 255, .18), transparent 70%),
    radial-gradient(50% 70% at 10% 90%, rgba(16, 198, 161, .16), transparent 70%),
    var(--bg-2);
}
.post-card__media--rocket img { width: 72%; height: auto; object-fit: contain; }
.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 32px) clamp(22px, 2.6vw, 32px) clamp(26px, 3vw, 36px);
}
.post-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.post-card__text {
  margin: 12px 0 22px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.post-card__go {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: auto;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet);
  transition: background-color .3s, color .3s, transform .4s var(--ease-out);
}
.post-card:hover .post-card__go { background: var(--ink); color: #fff; transform: translateX(4px); }

/* ---------- Tag index ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 760px;
  margin-inline: auto;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  padding: .55em .6em .55em 1.1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transition: border-color .3s, transform .4s var(--ease-out);
}
.tag-pill span {
  display: grid;
  place-items: center;
  min-width: 1.9em;
  height: 1.9em;
  padding: 0 .5em;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  font-family: var(--font-mono);
  font-size: .8rem;
}
.tag-pill:hover { border-color: rgba(107, 77, 255, .35); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.footer {
  padding: clamp(48px, 6vw, 72px) 0 28px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 40px;
}
.footer__brand p {
  max-width: 36ch;
  margin-top: 16px;
  color: var(--ink-2);
  font-size: .975rem;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: .55em 1.05em .55em .8em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .2s;
}
.social .icon { color: var(--coral-strong); }
.social:hover { border-color: var(--ink); }

.footer__col h2 {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a {
  color: var(--ink);
  font-weight: 550;
  text-decoration: none;
}
.footer__col a:hover { color: var(--violet); }
.footer__line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 550;
  overflow-wrap: break-word;
}
.footer__line .icon { color: var(--violet); }
.footer__line a { min-width: 0; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: .875rem;
}
.totop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}
.totop .icon {
  width: 32px;
  height: 32px;
  padding: 8px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

/* ---------- Cookie consent ---------- */
.cookie {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 70;
  width: min(400px, calc(100% - 32px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink-2);
  font-size: .9375rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie.is-visible { opacity: 1; transform: none; }
.cookie__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.12rem;
}
.cookie .tile { --accent: var(--sun-strong); --accent-soft: var(--sun-soft); }
.cookie > a {
  display: inline-block;
  margin-top: 6px;
  color: var(--violet);
  font-weight: 600;
  text-underline-offset: 3px;
}
.cookie__actions { display: flex; gap: 10px; margin-top: 18px; }
.cookie__actions .btn { flex: 1; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), filter .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .t-card[data-reveal].is-in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .glyph { display: none; }
  .codecard { left: -2%; bottom: 2%; width: min(250px, 54%); }
  .codecard__body { font-size: .7rem; min-height: 9.2em; }
}

@media (max-width: 1080px) {
  .nav__links a { padding: .6em .8em; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__checks { justify-content: center; }
  .hero__visual { max-width: 520px; }
  .scroll-cue { display: none; }

  .story__grid { grid-template-columns: minmax(0, 1fr); }
  .story__aside { position: static; }
  .story__counter { display: none; }

  .post-card { grid-template-columns: minmax(0, 1fr); }

  .t-track {
    display: flex;
    gap: 16px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 8px var(--gutter) 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .t-track::-webkit-scrollbar { display: none; }
  .t-card { flex: 0 0 min(86%, 420px); scroll-snap-align: start; }
  .t-card:nth-child(2) { margin-top: 0; }
  .t-dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
  .t-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: var(--line-2);
    cursor: pointer;
    transition: width .4s var(--ease-out), background-color .3s;
  }
  .t-dots button.is-active { width: 28px; background: var(--violet); }

  .cta__panel { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .cta__text { margin-inline: auto; }
  .cta__actions { justify-content: center; }
  .cta__pad { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand__name { font-size: 1.15rem; }
  .brand__mark { width: 32px; height: 32px; }
  .nav__inner { padding: 8px 8px 8px 12px; }

  .pill { font-size: .8125rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__checks { gap: 8px 16px; font-size: .875rem; }
  .hero__visual { width: 82%; margin-bottom: 10%; }
  .orbit__chip > span { padding: 6px 11px 6px 8px; font-size: .78rem; }
  .codecard { left: -6%; bottom: -12%; width: 62%; border-radius: 14px; }
  .codecard__bar { padding: 8px 10px; }
  .codecard__body { font-size: .58rem; padding: 8px 10px 10px; min-height: 8.8em; }
  .codecard__body .ln { width: 1.4em; }

  .chips { gap: 8px; }
  .chip { padding: 6px 14px 6px 6px; font-size: .9375rem; }
  .chip__icon { width: 30px; height: 30px; }

  .story__list { padding-left: 0; }
  .story__line, .story__node { display: none; }

  .team__grid { grid-template-columns: minmax(0, 1fr); }
  .prose .gallery { grid-template-columns: minmax(0, 1fr); }
  .prose #dzien-dziecka-plakat img { max-width: 100%; }

  .facts__grid { grid-template-columns: minmax(0, 1fr); }
  .facts__grid { row-gap: 28px; }
  .fact, .fact:first-child { padding: 0 0 0 18px; border-left: 2px solid rgba(185, 169, 255, .35); }

  .mailchip { flex-wrap: wrap; justify-content: center; padding: 10px 14px; border-radius: var(--r); }
  .cta__actions .btn--light { flex: 1 1 100%; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .cookie { left: 16px; bottom: 16px; padding: 18px; font-size: .875rem; }
  .cookie__head { margin-bottom: 8px; }
  .cookie__actions { margin-top: 14px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}
