/* =========================================================================
   WeBuildWeb.bg — static build
   One stylesheet, no framework. Reproduces the brand design system so the
   whole site opens directly from the folder (file://) and stays fast.
   ========================================================================= */

:root {
  --ink: #06070b;
  --void: #0a0b11;
  --panel: #0f1018;
  --elevate: #15161f;

  --blue: #3b6fff;   /* electric blue (was "purple") */
  --indigo: #5468ff; /* indigo (was "magenta")        */
  --cyan: #2fe0e0;
  --amber: #ffc24b;

  --ghost: #eceef4;
  --muted: #969aab;
  --faint: #5c6075;

  --brand-gradient: linear-gradient(120deg, #3b6fff 0%, #5468ff 45%, #2fe0e0 100%);
  --text-gradient: linear-gradient(120deg, #6e90ff 0%, #4f7bff 45%, #2fe0e0 100%);

  --shell: 80rem;          /* max-w-7xl */
  --radius-card: 1.5rem;
  --radius-lg: 2rem;
  --radius-xl: 2.5rem;

  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --shadow-glow: 0 0 40px -8px rgba(59, 111, 255, 0.45);

  --header-h: 72px;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-padding-top: 90px;
}

body {
  background-color: var(--void);
  color: var(--ghost);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

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

::selection { background: rgba(59, 111, 255, 0.4); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* brand scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b6fff, #2fe0e0);
  border-radius: 99px;
  border: 2px solid var(--ink);
}

/* ----------------------------------------------------------- typography */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
.eyebrow .dot {
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 999px;
  background: var(--cyan);
  animation: pulse-soft 4s ease-in-out infinite;
}
.eyebrow.amber .dot { background: var(--amber); }

.muted { color: var(--muted); }
.faint { color: var(--faint); }

/* ----------------------------------------------------------- structure */
.shell {
  margin-inline: auto;
  width: 100%;
  max-width: var(--shell);
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .shell { padding-inline: 2rem; } }
@media (min-width: 1024px) { .shell { padding-inline: 3rem; } }

.section { padding-block: 6rem; position: relative; }
@media (min-width: 640px) { .section { padding-block: 8rem; } }

/* ----------------------------------------------------------- surfaces */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%),
    rgba(13, 14, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* hairline gradient border via mask */
.border-gradient { position: relative; }
.border-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(59, 111, 255, 0.6), rgba(84, 104, 255, 0.2), rgba(47, 224, 224, 0.6));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.starfield {
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 85% 20%, rgba(110, 144, 255, 0.5), transparent),
    radial-gradient(1px 1px at 10% 70%, rgba(47, 224, 224, 0.4), transparent);
  background-repeat: repeat;
  background-size: 320px 320px;
}

/* ----------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.8rem 1.55rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.3s ease;
  border: none;
}
.btn svg { height: 1rem; width: 1rem; }
.btn-primary {
  color: #fff;
  background: var(--brand-gradient);
  background-size: 200% 200%;
  box-shadow: 0 6px 20px -8px rgba(59, 111, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  animation: gradient-pan 6s ease infinite;
  box-shadow: 0 10px 28px -8px rgba(59, 111, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-outline {
  color: var(--ghost);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.05); }
.btn-sm { padding: 0.6rem 1.15rem; }
.btn:hover { transform: translateY(-2px); }

/* Soft secondary button — quiet, tidy CTA used inside cards. */
.btn-soft {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ghost);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-soft svg { height: 1rem; width: 1rem; transition: transform 0.3s ease; }
.btn-soft:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(47, 224, 224, 0.45); transform: translateY(-1px); }
.btn-soft:hover svg { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ghost);
}
.link-arrow svg { height: 1rem; width: 1rem; transition: transform 0.3s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ----------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 11, 17, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand svg { height: 2.25rem; width: 2.25rem; }

.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }
.nav-link {
  position: relative;
  border-radius: 999px;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0.875rem;
  bottom: -0.125rem;
  height: 1px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover { color: var(--ghost); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--ghost); }
.nav-link.active::after { transform: scaleX(1); }

.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)), rgba(13, 14, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 768px) { .menu-toggle { display: none; } }
.menu-toggle .bars { position: relative; height: 1rem; width: 1.25rem; }
.menu-toggle .bars span {
  position: absolute;
  left: 0;
  height: 2px;
  width: 1.25rem;
  border-radius: 2px;
  background: var(--ghost);
  transition: all 0.3s ease;
}
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 0.375rem; }
.menu-toggle .bars span:nth-child(3) { top: 0.75rem; }
body.menu-open .menu-toggle .bars span:nth-child(1) { top: 0.375rem; transform: rotate(45deg); }
body.menu-open .menu-toggle .bars span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle .bars span:nth-child(3) { top: 0.375rem; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  z-index: 40;
  background: rgba(10, 11, 17, 0.98);
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 2rem 1.25rem;
}
body.menu-open .nav-mobile { display: flex; }
.nav-mobile a.m-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}
.nav-mobile a.m-link.active { background: var(--text-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-mobile .btn { margin-top: 1.5rem; width: 100%; }

/* ----------------------------------------------------------- hero */
.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg { position: absolute; inset: 0; z-index: -10; }
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(10, 11, 17, 0.82) 100%);
}
.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  align-items: center;
  gap: 3rem;
  padding-block: 4rem;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; padding-block: 0; }
}
.hero-col { display: flex; flex-direction: column; gap: 1.75rem; }
h1.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-size: clamp(2.75rem, 6.5vw, 4.5rem);
}
.hero-lead { max-width: 36rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

.trust-row { margin-top: 0.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.trust-row .stat .v { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.trust-row .stat .l { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); }
.trust-divider { display: none; height: 2rem; width: 1px; background: rgba(255, 255, 255, 0.1); }
@media (min-width: 640px) { .trust-divider { display: block; } }

/* hero photo composition */
.hero-art {
  position: relative;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 28rem;
  display: none;
}
@media (min-width: 768px) { .hero-art { display: block; } }
@media (min-width: 1024px) { .hero-art { max-width: none; } }
.hero-art .halo {
  position: absolute;
  inset: -1.5rem;
  z-index: -10;
  border-radius: 999px;
  background: var(--brand-gradient);
  opacity: 0.2;
  filter: blur(60px);
}
.hero-main {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.hero-main img { height: 100%; width: 100%; object-fit: cover; }
.hero-main .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,11,17,0.7), transparent 60%); }
.hero-sub {
  position: absolute;
  bottom: -2rem;
  left: -2.5rem;
  height: 12rem;
  width: 10rem;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
}
.hero-sub img { height: 100%; width: 100%; object-fit: cover; }
.hero-card {
  position: absolute;
  right: -1.5rem;
  top: 2.5rem;
  width: 11rem;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow-card);
}
.hero-card .k { font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); }
.hero-card .big { margin-top: 0.25rem; font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; }
.hero-card .bars { margin-top: 0.75rem; display: flex; align-items: flex-end; gap: 0.25rem; height: 34px; }
.hero-card .bars span { flex: 1; border-radius: 2px; background: var(--brand-gradient); }

/* moving aurora blobs */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora .blob { position: absolute; border-radius: 999px; will-change: transform; }
.aurora .b1 { left: -15%; top: -10%; height: 80%; width: 65%;
  background: radial-gradient(circle, rgba(59,111,255,0.5), transparent 60%); filter: blur(70px); }
.aurora .b2 { right: -10%; top: 16%; height: 70%; width: 55%;
  background: radial-gradient(circle, rgba(47,224,224,0.4), transparent 60%); filter: blur(70px); }
.aurora .b3 { bottom: -15%; left: 28%; height: 70%; width: 60%;
  background: radial-gradient(circle, rgba(84,104,255,0.45), transparent 60%); filter: blur(80px); }

/* ----------------------------------------------------------- page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: 128px;
  padding-bottom: 3rem;
}
@media (min-width: 640px) { .page-hero { padding-bottom: 4rem; } }
.page-hero .bg { position: absolute; inset: 0; z-index: -10; }
.page-hero .bg .fade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, var(--void)); }
.orb { position: absolute; border-radius: 999px; filter: blur(60px); opacity: 0.5; }
.page-hero-inner { display: flex; flex-direction: column; gap: 1.25rem; }
h1.page-title {
  max-width: 48rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}
.page-sub { max-width: 42rem; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); }

/* ----------------------------------------------------------- section heading */
.heading { display: flex; flex-direction: column; gap: 1rem; }
.heading.center { align-items: center; text-align: center; }
.heading h2 {
  max-width: 48rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}
.heading p { max-width: 42rem; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); }
.heading.center p { margin-inline: auto; }

/* ----------------------------------------------------------- grids */
.grid { display: grid; gap: 1.5rem; }
.cols-2 { grid-template-columns: 1fr; }
.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cols-2 { grid-template-columns: repeat(2, 1fr); } }
.mt-16 { margin-top: 4rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-12 { margin-top: 3rem; }

/* ----------------------------------------------------------- service card */
.svc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
  transition: transform 0.4s ease;
}
.svc-card:hover { transform: translateY(-6px); }
.svc-banner { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.svc-banner img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.7s ease; }
.svc-card:hover .svc-banner img { transform: scale(1.05); }
.svc-banner .tint { position: absolute; inset: 0; opacity: 0.55; mix-blend-mode: multiply; }
.svc-banner .fade { position: absolute; inset: 0; background: linear-gradient(to top, var(--panel), transparent 60%); }
.svc-chip {
  position: absolute;
  bottom: 1rem; left: 1rem;
  display: flex; height: 3rem; width: 3rem;
  align-items: center; justify-content: center;
  border-radius: 0.75rem;
  color: #fff;
}
.svc-chip svg { height: 1.5rem; width: 1.5rem; }
.svc-body { display: flex; flex: 1; flex-direction: column; padding: 1.75rem; }
.svc-body h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.svc-body p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted); }
.svc-features { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.625rem; }
.svc-features li { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; color: var(--muted); }
.svc-features li .b { height: 0.375rem; width: 0.375rem; border-radius: 999px; }
.svc-body .link-arrow { margin-top: 2rem; }

/* ----------------------------------------------------------- portfolio */
.proj-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.proj-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.proj-img img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.7s ease; }
.proj-card:hover .proj-img img { transform: scale(1.1); }
.proj-tint { position: absolute; inset: 0; opacity: 0.4; mix-blend-mode: multiply; transition: opacity 0.5s ease; }
.proj-card:hover .proj-tint { opacity: 0.2; }
.proj-fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,11,17,0.7), transparent); }
.proj-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 11, 17, 0.55);
  opacity: 0; transition: opacity 0.3s ease;
}
.proj-card:hover .proj-overlay { opacity: 1; }
.proj-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 999px;
  background: var(--brand-gradient);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem; font-weight: 600; color: #fff;
  box-shadow: var(--shadow-glow);
}
.proj-pill svg { height: 1rem; width: 1rem; }
.proj-cap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem; }
.proj-cap h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.proj-cap .cat { margin-top: 0.125rem; font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); }
.proj-cap > svg { height: 1.25rem; width: 1.25rem; flex-shrink: 0; color: var(--muted); transition: transform 0.3s ease, color 0.3s ease; }
.proj-card:hover .proj-cap > svg { transform: translateX(4px); color: var(--ghost); }

/* branded project thumbnails (clean brand tile, no photo) */
.proj-shot {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.75rem; overflow: hidden;
}
.proj-shot::before {
  content: ""; position: absolute;
  width: 78%; height: 78%; top: -24%; right: -20%;
  border-radius: 999px; filter: blur(55px); opacity: 0.5;
  background: var(--ps-glow, #3b6fff);
}
.proj-shot .ps-emblem { position: relative; z-index: 1; font-size: 1.6rem; opacity: 0.95; line-height: 1; }
.proj-shot .ps-mark { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1.05; letter-spacing: -0.01em; }
.proj-shot .ps-tag { position: relative; z-index: 1; margin-top: 0.45rem; font-size: 0.85rem; line-height: 1.45; color: rgba(255,255,255,0.78); max-width: 94%; }
.svc-card:hover .proj-shot::before { opacity: 0.65; }

/* project card meta chip */
.cat-chip {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--cyan);
  border: 1px solid rgba(47,224,224,0.3);
  border-radius: 999px; padding: 0.25rem 0.7rem;
  margin-bottom: 0.9rem;
}

/* ----------------------------------------------------------- about */
.about-grid { display: grid; align-items: center; gap: 3.5rem; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(2, 1fr); } }
.about-col { display: flex; flex-direction: column; gap: 1.5rem; }
.about-col h2 {
  font-family: var(--font-display);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.5vw, 3rem);
}
.about-col p { max-width: 36rem; font-size: 1.0625rem; line-height: 1.7; color: var(--muted); }
.stats-grid { margin-top: 0.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-big .v { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.stat-big .l { font-size: 0.875rem; color: var(--muted); }

.about-art { position: relative; margin-inline: auto; aspect-ratio: 4 / 5; width: 100%; max-width: 28rem; }
@media (min-width: 1024px) { .about-art { max-width: none; } }
.about-art .halo { position: absolute; inset: -1rem; z-index: -10; border-radius: var(--radius-xl); background: var(--brand-gradient); opacity: 0.15; filter: blur(40px); }
.about-art .frame { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-lg); }
.about-art .frame img { height: 100%; width: 100%; object-fit: cover; }
.about-art .frame .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,11,17,0.6), transparent 60%); }
.about-badge { position: absolute; bottom: -1.5rem; right: -1rem; border-radius: 1rem; padding: 1.25rem; box-shadow: var(--shadow-card); }
.about-badge .v { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; }
.about-badge p { margin-top: 0.25rem; max-width: 8rem; font-size: 0.75rem; color: var(--muted); }

/* ----------------------------------------------------------- why us bento */
.bento { margin-top: 4rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; grid-auto-rows: minmax(170px, auto); }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(6, 1fr); } }
.why-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-card);
  height: 100%;
  transition: transform 0.4s ease;
}
.why-card:hover { transform: translateY(-4px); }
.why-card > img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; opacity: 0.25; }
.why-card .tint { position: absolute; inset: 0; background: linear-gradient(to top, var(--panel), rgba(15,16,24,0.85) 50%, rgba(15,16,24,0.55)); }
.why-inner { position: relative; z-index: 10; display: flex; height: 100%; flex-direction: column; padding: 1.75rem; }
.why-emblem {
  display: flex; align-items: center; justify-content: center;
  border-radius: 1rem; background: rgba(255, 255, 255, 0.1);
  height: 3rem; width: 3rem; font-size: 1.25rem;
  background-clip: text;
}
.why-emblem.lg { height: 4rem; width: 4rem; font-size: 1.875rem; }
.why-card h3 { margin-top: auto; padding-top: 1.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.why-card.feature h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
.why-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted); }
.why-card.feature p { max-width: 28rem; font-size: 1rem; }
@media (min-width: 1024px) {
  .why-card.feature { grid-column: span 4; grid-row: span 2; }
  .why-s2 { grid-column: span 2; }
  .why-s3 { grid-column: span 3; }
}

/* ----------------------------------------------------------- process */
.process-wrap { position: relative; margin-top: 4rem; }
.process-line-d { position: absolute; left: 0; right: 0; top: 1.75rem; height: 1px; background: rgba(255,255,255,0.1); display: none; overflow: hidden; }
@media (min-width: 1024px) { .process-line-d { display: block; } }
.process-line-d .fill { height: 100%; background: var(--brand-gradient); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(0.22,1,0.36,1); }
.process-line-d.lit .fill { transform: scaleX(1); }
.process-steps { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .process-steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.pstep { position: relative; display: flex; gap: 1.25rem; }
@media (min-width: 1024px) { .pstep { flex-direction: column; gap: 0; } }
.pnode {
  position: relative; z-index: 10; flex-shrink: 0;
  display: flex; height: 3.5rem; width: 3.5rem;
  align-items: center; justify-content: center;
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.875rem; font-weight: 600; color: var(--cyan);
}
.pbody { min-width: 0; flex: 1; }
@media (min-width: 1024px) { .pbody { margin-top: 1.75rem; } }
.pbody .pimg { position: relative; margin-bottom: 1rem; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 1rem; }
.pbody .pimg img { height: 100%; width: 100%; object-fit: cover; }
.pbody .pimg .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,11,17,0.6), transparent); }
.pbody h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.pbody p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted); }

/* ----------------------------------------------------------- testimonials */
.tst-section { position: relative; overflow: hidden; }
.tst-bg { position: absolute; inset: 0; z-index: -10; }
.tst-bg img { height: 100%; width: 100%; object-fit: cover; opacity: 0.08; }
.tst-bg .v { position: absolute; inset: 0; background: rgba(10,11,17,0.85); }
.tst-wrap { position: relative; margin: 3.5rem auto 0; max-width: 48rem; }
.tst-card { position: relative; min-height: 280px; overflow: hidden; border-radius: var(--radius-lg); padding: 2rem; }
@media (min-width: 640px) { .tst-card { min-height: 240px; padding: 3rem; } }
.tst-quote-mark { position: absolute; right: 2rem; top: 0.5rem; font-family: var(--font-display); font-size: 6rem; line-height: 1; color: rgba(255,255,255,0.05); }
.tst-item { position: relative; display: none; flex-direction: column; }
.tst-item.active { display: flex; animation: fade-up 0.4s ease; }
.tst-item p { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.6; }
@media (min-width: 640px) { .tst-item p { font-size: 1.5rem; } }
.tst-foot { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.tst-avatar { display: flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--brand-gradient); font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; color: #fff; }
.tst-name { font-weight: 600; color: var(--ghost); }
.tst-role { font-size: 0.875rem; color: var(--muted); }
.tst-controls { margin-top: 1.75rem; display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
.tst-arrow { display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 999px; color: var(--muted); transition: color 0.2s ease; }
.tst-arrow:hover { color: var(--ghost); }
.tst-dots { display: flex; align-items: center; gap: 0.5rem; }
.tst-dot { height: 0.5rem; width: 0.5rem; border-radius: 999px; background: rgba(255,255,255,0.2); border: none; transition: all 0.3s ease; }
.tst-dot:hover { background: rgba(255,255,255,0.4); }
.tst-dot.active { width: 2rem; background: var(--brand-gradient); }

/* ----------------------------------------------------------- CTA */
.cta-section { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: -10; }
.cta-bg img { height: 100%; width: 100%; object-fit: cover; opacity: 0.2; }
.cta-bg .v { position: absolute; inset: 0; background: rgba(10,11,17,0.7); }
.cta-card {
  position: relative; margin-inline: auto; max-width: 56rem;
  overflow: hidden; border-radius: var(--radius-xl);
  padding: 4rem 1.5rem; text-align: center;
}
@media (min-width: 640px) { .cta-card { padding: 5rem 3rem; } }
.cta-card .glow { position: absolute; left: 50%; top: 50%; z-index: -10; height: 18rem; width: 18rem; transform: translate(-50%,-50%); border-radius: 999px; background: var(--brand-gradient); opacity: 0.2; filter: blur(60px); animation: breathe 6s ease-in-out infinite; }
.cta-card h2 { margin: 1.5rem auto 0; max-width: 36rem; font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; font-size: clamp(2rem, 5vw, 3.75rem); }
.cta-card .lead { margin: 1.25rem auto 0; max-width: 36rem; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); }
.cta-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
.cta-card .fine { margin-top: 2rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--faint); }

/* ----------------------------------------------------------- contact */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info > p { max-width: 28rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted); }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.detail-card { border-radius: 1rem; padding: 1.25rem; }
.detail-card .k { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); }
.detail-card .v { margin-top: 0.25rem; display: block; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--ghost); transition: color 0.2s ease; }
a.detail-card .v:hover { background: var(--text-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.form-card { border-radius: var(--radius-lg); padding: 1.75rem; }
@media (min-width: 640px) { .form-card { padding: 2.25rem; } }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); }
.field input, .field textarea {
  width: 100%; border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 11, 17, 0.6);
  padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--ghost);
  font-family: inherit;
  outline: none; transition: border-color 0.2s ease;
}
.field textarea { resize: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { border-color: rgba(47, 224, 224, 0.6); }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.form-card form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  align-self: flex-start;
  border-radius: 999px; background: var(--brand-gradient); background-size: 200% 200%;
  padding: 0.8rem 1.55rem; font-size: 0.875rem; font-weight: 600; color: #fff;
  border: none; box-shadow: 0 6px 20px -8px rgba(59, 111, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18); transition: all 0.2s ease;
}
.form-submit:hover { animation: gradient-pan 6s ease infinite; box-shadow: 0 10px 28px -8px rgba(59, 111, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.form-success { display: flex; min-height: 360px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.form-success .check { display: flex; height: 4rem; width: 4rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--brand-gradient); font-size: 1.5rem; color: #fff; }
.form-success h2 { margin-top: 1.5rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.form-success p { margin-top: 0.5rem; max-width: 24rem; color: var(--muted); }

/* ----------------------------------------------------------- blog */
.blog-cover { position: relative; overflow: hidden; }
.blog-cover img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
.blog-cover .tint { position: absolute; inset: 0; mix-blend-mode: multiply; opacity: 0.7; }
.blog-cover .fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,11,17,0.8), transparent 55%); }
.blog-cover .emblem { position: absolute; right: 1rem; top: 0.75rem; font-family: var(--font-display); font-weight: 700; color: rgba(255,255,255,0.85); text-shadow: 0 2px 8px rgba(0,0,0,0.4); font-size: 1.875rem; }
.blog-cover .emblem.lg { font-size: 3rem; }

.cat-tag {
  display: inline-flex; align-items: center;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(10,11,17,0.6);
  padding: 0.25rem 0.625rem;
  font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ghost); backdrop-filter: blur(4px);
}
.tag-featured {
  display: inline-flex; align-items: center; border-radius: 999px;
  background: var(--brand-gradient); padding: 0.25rem 0.75rem;
  font-family: var(--font-mono); font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.05em; color: #fff;
}

.blog-featured { display: grid; overflow: hidden; border-radius: var(--radius-lg); }
@media (min-width: 1024px) { .blog-featured { grid-template-columns: repeat(2, 1fr); } }
.blog-featured .cover-wrap { position: relative; }
.blog-featured .blog-cover { height: 16rem; width: 100%; }
@media (min-width: 1024px) { .blog-featured .blog-cover { height: 100%; } }
.blog-featured .badges { position: absolute; left: 1rem; top: 1rem; display: flex; gap: 0.5rem; }
.blog-featured .fbody { display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: 2rem; }
@media (min-width: 1024px) { .blog-featured .fbody { padding: 2.5rem; } }
.blog-featured h2, .blog-featured h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.25; transition: color 0.2s ease; }
@media (min-width: 640px) { .blog-featured h2, .blog-featured h3 { font-size: 1.875rem; } }
.blog-featured:hover h2, .blog-featured:hover h3 { background: var(--text-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blog-featured p { font-size: 1rem; line-height: 1.6; color: var(--muted); }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--faint); }
.blog-meta .sep { height: 0.25rem; width: 0.25rem; border-radius: 999px; background: var(--faint); }

.blog-layout { margin-top: 3rem; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .blog-layout { grid-template-columns: repeat(3, 1fr); } }
.blog-main { }
@media (min-width: 1024px) { .blog-main { grid-column: span 2; } }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn {
  border-radius: 999px; padding: 0.5rem 1rem;
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)), rgba(13,14,20,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s ease;
}
.filter-btn:hover { color: var(--ghost); }
.filter-btn.active { background: var(--brand-gradient); color: #fff; box-shadow: var(--shadow-glow); border-color: transparent; }
.posts-grid { margin-top: 2rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
.post-card { display: flex; height: 100%; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); }
.post-card .cover-wrap { position: relative; overflow: hidden; }
.post-card .blog-cover { aspect-ratio: 16 / 10; transition: transform 0.5s ease; }
.post-card:hover .blog-cover { transform: scale(1.04); }
.post-card .ctag { position: absolute; left: 0.75rem; top: 0.75rem; }
.post-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.post-body h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.3; transition: color 0.2s ease; }
.post-card:hover .post-body h3 { background: var(--text-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.post-body .excerpt { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-foot { margin-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--faint); }

.blog-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.aside-card { border-radius: var(--radius-card); padding: 1.5rem; }
.aside-card h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.popular-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.popular-item { display: flex; gap: 0.75rem; }
.popular-item .num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--faint); transition: color 0.2s ease; }
.popular-item:hover .num { background: var(--text-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.popular-item .t { font-size: 0.875rem; font-weight: 600; line-height: 1.3; transition: color 0.2s ease; }
.popular-item:hover .t { background: var(--text-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.popular-item .rt { margin-top: 0.25rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--faint); }
.aside-card p.note { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted); }
.aside-card form { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.aside-card input {
  width: 100%; border-radius: 0.75rem; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(10,11,17,0.6); padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--ghost);
  font-family: inherit; outline: none; transition: border-color 0.2s ease;
}
.aside-card input:focus { border-color: rgba(47,224,224,0.6); }
.aside-card .news-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 0.75rem; background: var(--brand-gradient); background-size: 200% 200%;
  padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 600; color: #fff; border: none; transition: all 0.2s ease;
}
.aside-card .news-btn:hover { animation: gradient-pan 6s ease infinite; }
.news-done { margin-top: 1rem; border-radius: 0.75rem; background: rgba(255,255,255,0.05); padding: 0.75rem; font-size: 0.875rem; color: var(--cyan); }

/* ----------------------------------------------------------- article */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.article-cover { aspect-ratio: 21 / 9; width: 100%; border-radius: var(--radius-lg); }
.prose { margin-inline: auto; max-width: 48rem; }
.prose h2 { margin-top: 3rem; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; line-height: 1.2; }
.prose h3 { margin-top: 2rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.prose p { margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.8; color: var(--muted); }
.prose ul, .prose ol { margin-top: 1.25rem; padding-left: 1.5rem; font-size: 1.0625rem; line-height: 1.7; color: var(--muted); display: flex; flex-direction: column; gap: 0.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose ul li::marker { color: var(--indigo); }
.prose ol li::marker { color: var(--cyan); font-family: var(--font-mono); }
.prose blockquote { margin: 2rem 0; border-left: 2px solid var(--cyan); padding-left: 1.5rem; }
.prose blockquote p { margin-top: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; font-style: italic; line-height: 1.6; color: var(--ghost); }
.prose blockquote cite { margin-top: 0.5rem; display: block; font-style: normal; font-family: var(--font-mono); font-size: 0.875rem; color: var(--faint); }
.article-cta { margin: 3.5rem auto 0; max-width: 48rem; border-radius: var(--radius-lg); padding: 2rem; text-align: center; }
.article-cta h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.article-cta p { margin: 0.75rem auto 0; max-width: 28rem; color: var(--muted); }
.related-grid { margin-top: 2rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

/* ----------------------------------------------------------- breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--faint); }
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span[aria-hidden] { color: var(--faint); opacity: 0.6; }
.breadcrumb [aria-current] { color: var(--ghost); }

/* ----------------------------------------------------------- FAQ accordion */
.faq { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-card); background: rgba(255,255,255,0.02); overflow: hidden; transition: border-color 0.25s, background 0.25s; }
.faq-item:hover { border-color: rgba(47,224,224,0.35); }
.faq-item[open] { border-color: rgba(47,224,224,0.45); background: rgba(47,224,224,0.04); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--ghost); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-family: var(--font-mono); font-size: 1.5rem; line-height: 1; color: var(--cyan); transition: transform 0.25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.4rem 1.25rem; }
.faq-a p { margin-top: 0; font-size: 1rem; line-height: 1.7; color: var(--muted); }
.faq-a a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(47,224,224,0.3); }
.faq-a a:hover { border-bottom-color: var(--cyan); }
/* In-article internal links inside prose */
.prose p a, .prose li a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(47,224,224,0.3); transition: border-color 0.2s; }
.prose p a:hover, .prose li a:hover { border-bottom-color: var(--cyan); }

/* ----------------------------------------------------------- 404 */
.nf {
  position: relative; display: flex; min-height: 100svh; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 1.5rem;
  overflow: hidden;
}
.nf .glow { position: absolute; left: 50%; top: 50%; z-index: -10; height: 20rem; width: 20rem; transform: translate(-50%,-50%); border-radius: 999px; background: var(--brand-gradient); opacity: 0.2; filter: blur(60px); }
.nf h1 { margin-top: 2rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 12vw, 6rem); }
.nf p { margin-top: 1rem; max-width: 28rem; font-size: 1.125rem; color: var(--muted); }

/* ----------------------------------------------------------- footer */
.site-footer { position: relative; border-top: 1px solid rgba(255,255,255,0.1); background: var(--ink); }
.footer-grid { display: grid; gap: 3rem; padding-block: 4rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand p { max-width: 20rem; font-size: 0.875rem; line-height: 1.7; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col h3 { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--faint); }
.footer-col a, .footer-col p { font-size: 0.875rem; color: var(--muted); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--ghost); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom .inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; padding-block: 1.5rem; font-size: 0.75rem; color: var(--faint); }
@media (min-width: 640px) { .footer-bottom .inner { flex-direction: row; } }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.25rem; }
.footer-legal a { color: var(--faint); transition: color 0.2s ease; }
.footer-legal a:hover { color: var(--ghost); }

/* ----------------------------------------------------------- cursor glow */
/* Soft, blurred field that trails the pointer. The native cursor stays
   visible (normal). Disabled on touch + reduced motion. */
#cursor-glow {
  position: fixed;
  left: 0; top: 0;
  width: 520px; height: 520px;
  margin-left: -260px; margin-top: -260px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(circle,
      rgba(59, 111, 255, 0.16) 0%,
      rgba(47, 224, 224, 0.10) 38%,
      transparent 70%);
  filter: blur(40px);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}

/* ----------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ----------------------------------------------------------- keyframes */
@keyframes gradient-pan {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.15); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  #cursor-glow { display: none; }
}

/* small helpers */
.hidden-touch { }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
