/* ==========================================================================
   Pixiware — static site stylesheet
   Plain, indexable CSS. No build step, no framework.
   ========================================================================== */

:root {
  --background: #fdfdfb;
  --paper: #fdfdfb;
  --mist: #f4f8f4;
  --ink: #1b2420;
  --ink-90: rgba(27, 36, 32, 0.9);
  --ink-85: rgba(27, 36, 32, 0.85);
  --ink-80: rgba(27, 36, 32, 0.8);
  --ink-75: rgba(27, 36, 32, 0.75);
  --ink-70: rgba(27, 36, 32, 0.7);
  --ink-65: rgba(27, 36, 32, 0.65);
  --ink-60: rgba(27, 36, 32, 0.6);
  --ink-55: rgba(27, 36, 32, 0.55);
  --ink-50: rgba(27, 36, 32, 0.5);
  --ink-45: rgba(27, 36, 32, 0.45);
  --ink-40: rgba(27, 36, 32, 0.4);
  --ink-30: rgba(27, 36, 32, 0.3);
  --ink-20: rgba(27, 36, 32, 0.2);
  --ink-10: rgba(27, 36, 32, 0.1);
  --line: #e3e9e2;
  --secondary: #f1f3ef;

  --brand-lime: #a3e635;
  --brand-emerald: #10b981;
  --brand-cyan: #06b6d4;

  --gradient-signature: linear-gradient(135deg, #a3e635 0%, #10b981 50%, #06b6d4 100%);

  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1400px;
}

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

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--background);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

[hidden] { display: none !important; }

/* --- shared utilities ---------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .wrap { padding: 0 40px; }
}
.wrap--narrow { max-width: 1100px; }
.wrap--article { max-width: 800px; }

.font-display {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-40);
}

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

.text-signature {
  background-image: var(--gradient-signature);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.bg-signature { background-image: var(--gradient-signature); color: var(--ink); }

.section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .section { padding: 112px 0; }
}
.section--plain { border-top: none; }

.bg-mist {
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(16, 185, 129, 0.08), transparent 60%),
    radial-gradient(120% 80% at 100% 100%, rgba(6, 182, 212, 0.08), transparent 60%),
    var(--mist);
}

.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.2;
  pointer-events: none;
}

/* glow blobs (purely decorative) */
.glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
  z-index: 0;
}

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: box-shadow 0.3s, transform 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}
.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background-image: var(--gradient-signature);
  color: var(--ink);
  box-shadow: 0 18px 40px -20px rgba(16, 185, 129, 0.65);
}
.btn--primary:hover { box-shadow: 0 22px 55px -18px rgba(16, 185, 129, 0.85); }

.btn--ghost {
  border-color: var(--ink-20);
  background: var(--paper);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--brand-emerald); }

.btn--paper {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.3);
}
.btn--paper:hover { background: var(--ink); color: var(--paper); }

.btn--pill { border-radius: 9999px; padding: 14px 28px; }
.btn--pill-dark { background: var(--ink); color: var(--paper); border-radius: 9999px; padding: 14px 28px; }
.btn--pill-dark:hover { transform: scale(1.03); }
.btn--pill-ghost { border: 1px solid var(--ink-20); border-radius: 9999px; padding: 14px 28px; color: var(--ink); }
.btn--pill-ghost:hover { background: rgba(27, 36, 32, 0.04); }

/* --- header / nav -------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(253, 253, 251, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
}
.logo-img {
  display: block;
  height: 30px;
  width: auto;
}

.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-70);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--gradient-signature);
  z-index: -1;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-cta-wrap { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  display: none;
  align-items: center;
  gap: 8px;
  background-image: var(--gradient-signature);
  color: var(--ink);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 25px -12px rgba(16, 185, 129, 0.7);
  transition: box-shadow 0.3s;
}
.nav-cta:hover { box-shadow: 0 14px 30px -10px rgba(16, 185, 129, 0.9); }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink-20);
  background: transparent;
  color: var(--ink);
  transition: border-color 0.2s, color 0.2s;
}
.nav-toggle:hover { border-color: var(--brand-emerald); color: var(--brand-emerald); }
.nav-toggle span { display: block; width: 20px; height: 1px; background: currentColor; transition: transform 0.25s; }
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-menu.open { display: block; }
.mobile-menu nav { padding: 24px; display: flex; flex-direction: column; }
.mobile-menu .m-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(227, 233, 226, 0.6);
  padding: 20px 0;
  color: var(--ink-80);
}
.mobile-menu .m-link .label { font-family: var(--font-serif); font-size: 30px; }
.mobile-menu .m-link .num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-40); }
.mobile-menu .m-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  background-image: var(--gradient-signature);
  color: var(--ink);
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
}

/* --- hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 112px 0 64px;
  overflow: hidden;
}
@media (min-width: 1024px) { .hero { padding: 160px 0 96px; } }

.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, rgba(253, 253, 251, 0.95), rgba(253, 253, 251, 0.7) 50%, transparent);
}
.hero-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 128px;
  pointer-events: none;
  background: linear-gradient(to top, var(--paper), transparent);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: rgba(253, 253, 251, 0.8);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 9999px;
}
.dot {
  width: 6px; height: 6px; border-radius: 9999px;
  background: var(--brand-emerald);
}
.dot--pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  margin-top: 24px;
  max-width: 1100px;
  font-size: clamp(2.75rem, 8vw, 7.5rem);
  line-height: 0.98;
}
.hero h1 .block { display: block; }

.hero-lead {
  margin-top: 24px;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--ink-85);
  line-height: 1.65;
}
.hero-lead strong { color: var(--ink); font-weight: 600; }

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

.hero-note {
  margin-top: 32px;
  max-width: 36rem;
  font-size: 0.875rem;
  color: var(--ink-75);
  line-height: 1.65;
  border-left: 2px solid var(--brand-emerald);
  padding: 8px 0 8px 16px;
}

.stat-strip {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 42rem;
  background: var(--paper);
  border: 1px solid rgba(227, 233, 226, 0.8);
  box-shadow: 0 10px 40px -25px rgba(16, 185, 129, 0.4);
}
.stat-strip > div {
  padding: 16px 20px;
  border-left: 1px solid rgba(227, 233, 226, 0.8);
}
.stat-strip > div:first-child { border-left: none; }
.stat-strip .k { font-family: var(--font-serif); font-size: 1.875rem; }
.stat-strip .v { font-size: 0.75rem; color: var(--ink-60); margin-top: 4px; }

/* --- proof / quotes ------------------------------------------------------ */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.proof-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.quote {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 60rem;
}
.quote-who { margin-top: 16px; font-size: 0.8rem; color: var(--ink-60); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }

.arrows { display: flex; align-items: center; gap: 8px; }
.arrow-btn {
  width: 48px; height: 48px;
  border: 1px solid var(--ink-20);
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.arrow-btn:hover { border-color: var(--brand-emerald); background: var(--brand-emerald); color: var(--paper); }

.marquee {
  border-top: 1px solid var(--line);
  overflow: hidden;
  background: var(--mist);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  padding: 16px 0;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  display: inline-flex; align-items: center;
  margin: 0 32px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-75);
}
.marquee-track span .dot { margin-right: 32px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- generic section heads ---------------------------------------------- */
.section-head h2 {
  font-family: var(--font-serif);
  margin-top: 16px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 48rem;
}
.lead { font-size: 1.25rem; color: var(--ink-75); line-height: 1.65; }

/* --- grids & cards ------------------------------------------------------- */
.grid12 { display: grid; gap: 48px; }
@media (min-width: 1024px) { .grid12 { grid-template-columns: repeat(12, 1fr); gap: 64px; } }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }

.card {
  position: relative;
  height: 100%;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.card:hover {
  border-color: var(--brand-emerald);
  transform: translateY(-6px);
  box-shadow: 0 22px 50px -25px rgba(16, 185, 129, 0.55);
}
.card .num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-40); }
.card .card-title { margin-top: 40px; font-family: var(--font-serif); font-size: 1.875rem; line-height: 1.05; }
.card .card-body { margin-top: 12px; font-size: 0.875rem; line-height: 1.6; color: var(--ink-65); }
.card .underline-grad {
  position: absolute; bottom: 0; left: 0; height: 4px; width: 0;
  background-image: var(--gradient-signature);
  transition: width 0.5s ease;
}
.card:hover .underline-grad { width: 100%; }

.stat-num { font-family: var(--font-serif); font-size: 3rem; line-height: 1; }
.stat-card { padding: 24px; background: var(--paper); border: 1px solid var(--line); height: 100%; transition: border-color 0.3s, transform 0.2s; }
.stat-card:hover { border-color: var(--brand-emerald); transform: translateY(-6px); }
.stat-card .v { margin-top: 12px; font-size: 0.875rem; color: var(--ink-60); line-height: 1.4; }

.grid-2 { display: grid; gap: 16px; }
.grid-3 { display: grid; gap: 12px; }
.grid-4 { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-3.sm3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .grid-2.md2 { grid-template-columns: repeat(2, 1fr); } .grid-4.md2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4.lg4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .grid-3.md3 { grid-template-columns: repeat(3, 1fr); } }

/* feature rows (portal) */
.feature-row {
  position: relative;
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--paper);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  overflow: hidden;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.feature-row:hover { border-color: var(--brand-emerald); box-shadow: 0 18px 40px -25px rgba(16, 185, 129, 0.5); transform: translateX(6px); }
.feature-row .num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-40); margin-top: 6px; width: 32px; flex: none; }
.feature-row p { font-size: 1.125rem; color: var(--ink-85); line-height: 1.65; }

.callout {
  margin-top: 24px;
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--paper);
}
.callout .big { margin-top: 12px; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.3; color: var(--ink); }

.chat {
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--mist);
  padding: 24px;
}
.chat-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--ink-50); }
.chat-head .online { display: inline-flex; align-items: center; gap: 8px; }
.chat-body { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 0.875rem; }
.chat-line { display: flex; gap: 12px; }
.chat-line .t { color: var(--ink-40); font-family: var(--font-mono); flex: none; }
.chat-line .msg { color: var(--ink-85); }
.chat-line .msg b { color: var(--brand-emerald); }

/* --- portfolio card ------------------------------------------------------ */
.portfolio-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(16, 185, 129, 0.45);
  margin: 0 auto;
  max-width: 1200px;
  border-radius: 6px;
}
@media (max-width: 640px) { .portfolio-card { aspect-ratio: 4 / 5; } }
.browser-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 40px;
  background: var(--mist); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px; padding: 0 16px; z-index: 2;
}
.browser-bar .b-dot { width: 10px; height: 10px; border-radius: 9999px; background: var(--ink-10); }
.browser-bar .b-dot.green { background: rgba(16, 185, 129, 0.5); }
.browser-bar .b-url {
  margin-left: 16px; height: 20px; flex: 1; max-width: 28rem;
  background: var(--paper); border: 1px solid rgba(227, 233, 226, 0.8);
  padding: 0 12px; display: flex; align-items: center;
  font-size: 10px; font-family: var(--font-mono); color: var(--ink-55);
  border-radius: 2px;
}
.portfolio-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 32px; padding: 56px 24px;
}
.portfolio-inner .p-title { font-family: var(--font-serif); font-size: clamp(2rem, 9vw, 6rem); line-height: 0.9; }
.portfolio-inner .p-sub { margin-top: 16px; font-size: 0.8rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-55); }
.portfolio-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background-image: var(--gradient-signature); color: var(--ink);
  padding: 12px 20px; font-size: 12px; font-weight: 600;
  box-shadow: 0 14px 30px -14px rgba(16, 185, 129, 0.7);
}
.portfolio-tag { position: absolute; bottom: 12px; left: 12px; z-index: 2; }
.portfolio-live { position: absolute; bottom: 12px; right: 12px; z-index: 2; }
.dots { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.dots .d { height: 6px; width: 16px; background: var(--ink-20); border-radius: 9999px; }
.dots .d.on { width: 40px; background: var(--brand-emerald); }
.dots .note { margin-left: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-45); letter-spacing: 0.05em; }

/* --- enquire / CTA band -------------------------------------------------- */
.enquire { position: relative; padding: 64px 0; overflow: hidden; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .enquire { padding: 112px 0; } }
.enquire-bg { position: absolute; inset: 0; background-image: var(--gradient-signature); opacity: 0.95; }
.enquire .wrap { position: relative; z-index: 1; }
.enquire h2 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.02em; color: var(--ink); font-size: clamp(2.25rem, 9vw, 6rem); line-height: 0.95; margin-top: 16px; }
.enquire h2 .u { text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.enquire p { margin-top: 24px; font-size: 1.125rem; max-width: 36rem; color: var(--ink-85); }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: 12px 12px 0 0 rgba(16, 185, 129, 0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-card input,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 16px;
  background: var(--paper);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s;
}
.form-card textarea { resize: none; }
.form-card input:focus,
.form-card textarea:focus { outline: none; border-color: var(--brand-emerald); }
.form-card button {
  position: relative;
  width: 100%;
  background-image: var(--gradient-signature);
  color: var(--ink);
  padding: 16px;
  font-weight: 600;
  border: none;
  font-size: 15px;
}
.form-card .fineprint { font-size: 0.75rem; color: var(--ink-50); }
.form-success { font-size: 1.0625rem; color: var(--ink-75); line-height: 1.6; }

/* --- why-us bento -------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: 8px;
  aspect-ratio: 1 / 1;
}
@media (max-width: 640px) { .bento { aspect-ratio: 5 / 6; gap: 12px; } }
.bento > div { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.bento .b-founded { grid-column: span 4; grid-row: span 3; background: var(--paper); border: 1px solid var(--line); }
.bento .b-based { grid-column: span 2; grid-row: span 3; background-image: var(--gradient-signature); color: var(--ink); box-shadow: 0 18px 40px -25px rgba(16, 185, 129, 0.7); }
.bento .b-founders { grid-column: span 3; grid-row: span 3; background: var(--paper); border: 1px solid var(--line); }
.bento .b-reply { grid-column: span 3; grid-row: span 3; background: var(--paper); border: 1px solid var(--line); }
.bento .big { font-family: var(--font-serif); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 600;
  border-bottom: 1px solid var(--ink-30);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover { color: var(--brand-emerald); border-color: var(--brand-emerald); }

/* --- team cards ---------------------------------------------------------- */
.team-card {
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -25px rgba(16, 185, 129, 0.55); }
.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background-image: var(--gradient-signature);
  overflow: hidden;
}
.team-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27, 36, 32, 0.35), transparent 60%);
}
.team-role { position: absolute; inset: auto 0 0 0; padding: 24px; z-index: 1; color: var(--ink); }
.team-name { font-size: 3.75rem; margin-top: 8px; color: var(--paper); }
.team-desc { padding: 24px; color: var(--ink-75); font-size: 0.875rem; line-height: 1.6; }

/* --- pricing ------------------------------------------------------------- */
.price-card {
  position: relative;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 12px 12px 0 0 var(--ink);
  overflow: hidden;
}
.price-card .topbar { height: 8px; background-image: var(--gradient-signature); }
.price-grid { display: grid; }
@media (min-width: 1024px) { .price-grid { grid-template-columns: 5fr 7fr; } }
.price-left { padding: 32px; border-bottom: 1px solid var(--ink-10); }
@media (min-width: 1024px) { .price-left { padding: 40px; border-bottom: none; border-right: 1px solid var(--ink-10); } }
.price-right { padding: 32px; background: var(--secondary); }
@media (min-width: 1024px) { .price-right { padding: 40px; } }
.price-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink-20); padding: 4px 10px; }
.price-badge .sq { width: 6px; height: 6px; background: var(--brand-emerald); }
.price-big { margin-top: 32px; font-family: var(--font-serif); font-size: 4.5rem; line-height: 1; }
.price-small { color: var(--ink-55); font-size: 0.875rem; margin-top: 4px; }
.price-month { margin-top: 32px; display: flex; align-items: baseline; gap: 8px; }
.price-month .amt { font-family: var(--font-serif); font-size: 3.75rem; }
.included { margin-top: 24px; display: grid; gap: 12px 24px; }
@media (min-width: 640px) { .included { grid-template-columns: repeat(2, 1fr); } }
.included li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.875rem; color: var(--ink-85); }
.included li .sq { margin-top: 6px; width: 10px; height: 10px; background-image: var(--gradient-signature); flex: none; }

/* --- FAQ ----------------------------------------------------------------- */
.faqs { margin-top: 40px; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  background: none;
  border: none;
  color: var(--ink);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--brand-emerald); }
.faq-q .q-text { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.1; }
.faq-q .q-icon {
  flex: none;
  width: 32px; height: 32px;
  border: 1px solid var(--ink-30);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: transform 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}
.faq.open .q-icon { transform: rotate(45deg); background-image: var(--gradient-signature); color: var(--ink); border-color: transparent; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.faq.open .faq-a { max-height: 500px; }
.faq-a p { padding: 0 48px 20px 0; color: var(--ink-70); line-height: 1.65; }

/* --- footer -------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-rule { height: 6px; background-image: var(--gradient-signature); }
.footer-grid { display: grid; gap: 48px; padding: 80px 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, 1fr); } }
.footer-brand { grid-column: span 5; }
.footer-brand .tag { margin-top: 24px; font-family: var(--font-serif); font-size: clamp(1.875rem, 4vw, 2.25rem); color: var(--ink); max-width: 28rem; }
.footer-brand .sub { margin-top: 16px; font-size: 0.875rem; color: var(--ink-60); }
.footer-col { grid-column: span 3; }
.footer-col.get { grid-column: span 4; }
.footer-col ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 0.875rem; }
.footer-col a:hover { color: var(--brand-emerald); }
.footer-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px;
  background-image: var(--gradient-signature); color: var(--ink);
  padding: 12px 20px; font-size: 0.875rem; font-weight: 600;
  box-shadow: 0 14px 30px -15px rgba(16, 185, 129, 0.7);
}
.footer-note { margin-top: 16px; font-size: 0.75rem; color: var(--ink-50); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .wrap { padding: 20px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.75rem; color: var(--ink-50); }
@media (min-width: 1024px) { .footer-bottom .wrap { padding: 20px 40px; } }

/* --- breadcrumb / article ------------------------------------------------ */
.crumb { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.crumb .sep { color: var(--ink-30); }
.crumb a:hover { color: var(--ink); }

.article-hero { padding: 144px 0 64px; position: relative; overflow: hidden; }
.article-hero h1 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.02em; font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.05; }
.article-hero .standfirst { margin-top: 24px; font-size: 1.125rem; color: var(--ink-70); line-height: 1.65; }
.article-hero .standfirst strong { color: var(--ink); }

.article { padding-bottom: 96px; border-top: 1px solid var(--ink-10); }
.article .prose {
  padding-top: 64px;
  color: var(--ink-80);
  font-size: 17px;
  line-height: 1.8;
}
.prose h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  margin: 64px 0 24px;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.prose h2 .n { color: rgba(16, 185, 129, 0.8); font-size: 0.65em; margin-top: 6px; font-family: var(--font-mono); font-weight: 500; }
.prose h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; color: var(--ink); }
.prose p { margin-top: 20px; }
.prose p:first-of-type { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: #0a8f6a; font-weight: 500; }
.prose a:hover { text-decoration: underline; }
.prose ul { margin-top: 16px; padding-left: 24px; list-style: disc; }
.prose ul li { margin-top: 8px; }
.prose ul li::marker { color: var(--brand-emerald); }
.prose ul.spaced li { margin-top: 12px; }
.prose .faq-block { margin-top: 24px; display: flex; flex-direction: column; gap: 32px; }
.prose .faq-block h3 + p { margin-top: 8px; }

.table-wrap { margin-top: 32px; overflow-x: auto; border: 1px solid var(--ink-10); border-radius: 16px; }
.table-wrap table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.875rem; }
.table-wrap thead tr { border-bottom: 1px solid var(--ink-10); background: rgba(27, 36, 32, 0.03); }
.table-wrap th { padding: 16px 20px; font-weight: 600; color: var(--ink-70); }
.table-wrap th:not(:first-child) { color: var(--ink); }
.table-wrap td { padding: 16px 20px; }
.table-wrap tbody tr { border-bottom: 1px solid rgba(27, 36, 32, 0.05); }
.table-wrap tbody tr:last-child { border-bottom: none; }
.table-wrap td:first-child { font-weight: 500; color: var(--ink-80); }
.table-wrap td.pos { color: #0a8f6a; font-weight: 500; }
.table-wrap td.muted { color: var(--ink-60); }

.post-cta {
  margin-top: 80px;
  padding: 40px;
  border-radius: 24px;
  background: rgba(27, 36, 32, 0.02);
  border: 1px solid var(--ink-10);
  position: relative;
  overflow: hidden;
}
.post-cta h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 1.875rem); color: var(--ink); }
.post-cta p { margin-top: 12px; color: var(--ink-70); line-height: 1.65; max-width: 520px; }
.post-cta .row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }

/* --- misc helpers -------------------------------------------------------- */
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.sticky-side { position: relative; }
@media (min-width: 1024px) { .sticky-side { position: sticky; top: 112px; align-self: flex-start; } }
.hidden-mobile { display: none; }
@media (min-width: 640px) { .hidden-mobile { display: block; } }
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background-image: var(--gradient-signature); z-index: 60;
}

/* ==========================================================================
   ANIMATIONS — progressive enhancement. Without JS (or with reduced motion)
   everything is shown in its final state; the `.js` class on <html> opts in.
   ========================================================================== */

/* --- scroll reveal ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); will-change: opacity, transform; }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- typing cycle (hero) ------------------------------------------------- */
.type-cycle {
  background-image: linear-gradient(110deg, #a3e635, #10b981, #06b6d4, #10b981, #a3e635);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradient-pan 7s ease-in-out infinite;
}
.type-caret {
  display: inline-block;
  margin-left: 2px;
  color: var(--brand-emerald);
  -webkit-text-fill-color: var(--brand-emerald);
  animation: caret-blink 1s steps(2, start) infinite;
}
@keyframes gradient-pan { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes caret-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* --- custom cursor ------------------------------------------------------- */
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px; border-radius: 9999px;
  background: var(--brand-emerald);
  pointer-events: none; z-index: 100;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.cursor-dot.hovering { opacity: 0.85; }

/* --- process cards: highlight when in view ------------------------------ */
.card.in-view {
  border-color: var(--brand-emerald);
  box-shadow: 0 22px 50px -25px rgba(16, 185, 129, 0.6);
}
.card.in-view .num { color: var(--brand-emerald); }
.card.in-view .underline-grad { width: 100%; }

/* --- magnetic buttons ---------------------------------------------------- */
.is-magnetic { transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s; }

/* --- hero blob animations ----------------------------------------------- */
@keyframes blob-morph {
  0%, 100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; transform: rotate(0deg); }
  50% { border-radius: 70% 30% 46% 54% / 30% 65% 35% 70%; transform: rotate(180deg); }
}
@keyframes float-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.anim-blob { animation: blob-morph 18s ease-in-out infinite; }
.anim-float { animation: float-soft 6s ease-in-out infinite; }

/* --- portfolio 3D tilt --------------------------------------------------- */
[data-portfolio] { perspective: 1200px; }
.portfolio-card { transform-style: preserve-3d; transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }

/* ==========================================================================
   CUBES — 3D network background for the hero (vanilla port of Cubes.jsx)
   ========================================================================== */
.cubes-layer {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  overflow: hidden;
  --cf-bg: rgba(255, 255, 255, 0.55);
  --cf-border: 1px solid rgba(16, 185, 129, 0.32);
}
@media (min-width: 640px) { .cubes-layer { opacity: 0.6; } }
.cubes-scene {
  display: grid;
  width: 100%;
  height: 100%;
  column-gap: 5%;
  row-gap: 5%;
  perspective: 99999999px;
}
.cube {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
}
.cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--cf-bg);
  border: var(--cf-border);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.35);
}
.cube-face--top    { transform: translateY(-50%) rotateX(90deg); }
.cube-face--bottom { transform: translateY(50%) rotateX(-90deg); }
.cube-face--left   { transform: translateX(-50%) rotateY(-90deg); }
.cube-face--right  { transform: translateX(50%) rotateY(90deg); }
.cube-face--back,
.cube-face--front  { transform: rotateY(-90deg) translateX(50%) rotateY(90deg); }
