/* ---------------------------------------------
   Design tokens
--------------------------------------------- */
:root {
  --indigo: #4f46e5;
  --pink: #ec4899;
  --orange: #f97316;
  --teal: #14b8a6;
  --yellow: #facc15;

  --ink: #15121f;
  --ink-soft: #4b4763;
  --paper: #ffffff;
  --paper-soft: #f6f4ff;
  --border: #e7e3f7;

  --gradient-hero: linear-gradient(135deg, #4f46e5 0%, #ec4899 52%, #f97316 100%);
  --gradient-card-1: linear-gradient(135deg, #4f46e5, #8b5cf6);
  --gradient-card-2: linear-gradient(135deg, #ec4899, #f97316);
  --gradient-card-3: linear-gradient(135deg, #14b8a6, #4f46e5);
  --gradient-card-4: linear-gradient(135deg, #facc15, #f97316);

  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-soft: 0 20px 45px -25px rgba(21, 18, 31, 0.35);
  --shadow-pop: 0 12px 30px -12px rgba(79, 70, 229, 0.45);

  --container: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4f2fb;
    --ink-soft: #c8c3de;
    --paper: #120f1c;
    --paper-soft: #1b1730;
    --border: #2d2748;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { line-height: 1.7; color: var(--ink-soft); margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 110px 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient-hero);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------
   Buttons
--------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-pop);
}
.btn-primary:hover { box-shadow: 0 18px 34px -10px rgba(79, 70, 229, 0.55); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }

.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ---------------------------------------------
   Nav
--------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  padding: 12px 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -20px rgba(21, 18, 31, 0.4);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--gradient-hero);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-pop);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient-hero);
}

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--paper-soft);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------
   Hero
--------------------------------------------- */
.hero {
  padding: 190px 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(79,70,229,0.07) 0%, rgba(236,72,153,0.05) 45%, rgba(249,115,22,0.06) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--paper-soft);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.hero-kicker .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 25%, transparent);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
}
.hero-stats .stat span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--gradient-hero);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.hero-visual .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(21,18,31,0.35), rgba(21,18,31,0) 32%, rgba(21,18,31,0) 62%, rgba(21,18,31,0.55)),
                     linear-gradient(135deg, rgba(79,70,229,0.25), rgba(236,72,153,0.1) 50%, rgba(249,115,22,0.2));
}
.hero-visual .chip {
  position: absolute;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}
.hero-visual .chip.c1 { top: 14%; left: 8%; }
.hero-visual .chip.c2 { bottom: 16%; right: 8%; }
.hero-visual .chip.c3 { bottom: 42%; left: 6%; }

/* ---------------------------------------------
   Marquee
--------------------------------------------- */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 40px;
}
.marquee-track span::after { content: "\2726"; color: var(--pink); font-size: 0.8rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------
   About
--------------------------------------------- */
.about { background: var(--paper-soft); }
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  background: var(--gradient-card-3);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.about-visual .logo-card {
  width: 60%;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.4);
  display: grid;
  place-items: center;
  padding: 14%;
}
.about-visual .logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.stat-card b {
  font-family: var(--font-display);
  font-size: 1.7rem;
  display: block;
}
.stat-card span { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------------------------------------------
   Process
--------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.process-step {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
}
.process-step .num {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
.process-step:nth-child(1) .num { background: var(--gradient-card-1); }
.process-step:nth-child(2) .num { background: var(--gradient-card-2); }
.process-step:nth-child(3) .num { background: var(--gradient-card-3); }
.process-step:nth-child(4) .num { background: var(--gradient-card-4); }
.process-step:nth-child(5) .num { background: var(--gradient-hero); }
.process-step:nth-child(6) .num { background: linear-gradient(135deg, var(--teal), var(--indigo)); }
.process-step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.process-step p { font-size: 0.88rem; margin: 0; }

.process-note {
  max-width: 780px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 0.88rem;
  font-style: italic;
}

/* ---------------------------------------------
   Work / Projects
--------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--paper);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.project-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 20px;
}
.project-thumb.g1 { background: var(--gradient-card-1); }
.project-thumb.g2 { background: var(--gradient-card-2); }
.project-thumb.g3 { background: var(--gradient-card-3); }
.project-thumb.g4 { background: var(--gradient-card-4); }

.project-thumb.has-photo { background-size: cover; background-position: center; }
.project-thumb.has-photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(21,18,31,0.38), rgba(21,18,31,0) 32%);
}
.project-thumb .thumb-title { position: relative; }

.project-thumb .badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-thumb .award {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: none;
}

.project-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.project-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.project-body p { font-size: 0.92rem; flex: 1; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--paper-soft);
  border: 1px solid var(--border);
  color: var(--ink-soft);
}

.project-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--indigo);
}
.project-link.disabled { color: var(--ink-soft); opacity: 0.6; cursor: default; }
.project-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.project-card:hover .project-link svg { transform: translateX(4px); }

.more-work-head { margin-top: 70px; margin-bottom: 30px; }
.more-work-head h3 { font-size: 1.3rem; }

.more-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.more-work-card {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}
.more-work-card .swatch {
  width: 32px; height: 32px;
  border-radius: 9px;
  margin-bottom: 14px;
}
.more-work-card:nth-child(1) .swatch { background: var(--gradient-card-1); }
.more-work-card:nth-child(2) .swatch { background: var(--gradient-card-2); }
.more-work-card:nth-child(3) .swatch { background: var(--gradient-card-3); }
.more-work-card:nth-child(4) .swatch { background: var(--gradient-card-4); }
.more-work-card h4 { font-family: var(--font-display); font-size: 0.98rem; margin-bottom: 8px; }
.more-work-card p { font-size: 0.85rem; margin: 0; }

/* ---------------------------------------------
   Interactive Demos
--------------------------------------------- */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.demo-thumb-icon { width: 52px; height: 52px; }

/* ---------------------------------------------
   Skills
--------------------------------------------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.skill-card {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
}
.skill-card h3 {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.skill-card .dot { width: 10px; height: 10px; border-radius: 50%; }
.skill-card:nth-child(1) .dot { background: var(--indigo); }
.skill-card:nth-child(2) .dot { background: var(--pink); }
.skill-card:nth-child(3) .dot { background: var(--teal); }
.skill-card:nth-child(4) .dot { background: var(--orange); }
.skill-card:nth-child(5) .dot { background: var(--yellow); }
.skill-card:nth-child(6) .dot { background: var(--pink); }
.skill-card:nth-child(7) .dot { background: var(--indigo); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-row .tag { background: var(--paper); }

/* ---------------------------------------------
   Contact
--------------------------------------------- */
.contact {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  margin: 0 24px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(79,70,229,0.35), rgba(236,72,153,0.12) 45%, transparent 70%);
  opacity: 0.6;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
}
.contact h2 { color: var(--paper); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.contact p { color: rgba(255,255,255,0.7); }
.contact-links { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.contact-links a {
  font-weight: 600;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
}
.contact-links a span.icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: grid; place-items: center;
  font-size: 0.9rem;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  display: block;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: rgba(255,255,255,0.1);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .btn-primary { background: var(--gradient-hero); border: none; justify-content: center; }
.form-note { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 4px; }
.form-success {
  display: none;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: #7fe8d6;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
}
.form-success.show { display: block; }

.form-error {
  display: none;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ff9d9d;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
}
.form-error.show { display: block; }

/* ---------------------------------------------
   Footer
--------------------------------------------- */
.site-footer {
  padding: 50px 0 40px;
  text-align: center;
}
.site-footer p { font-size: 0.85rem; margin: 0; }
.footer-links { display: flex; justify-content: center; gap: 22px; margin-bottom: 18px; }
.footer-links a { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.footer-links a:hover { color: var(--pink); }

/* ---------------------------------------------
   Case study pages
--------------------------------------------- */
.cs-hero, .article-hero {
  padding: 170px 0 70px;
  background: var(--paper-soft);
}
.cs-back, .article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.cs-back:hover, .article-back:hover { color: var(--indigo); }
.cs-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 780px; }
.cs-hero p.lead { font-size: 1.1rem; max-width: 640px; }

.cs-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.cs-meta div span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 6px; }
.cs-meta div b { font-family: var(--font-display); font-size: 1rem; }

.cs-banner, .article-banner {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 0 auto;
  max-width: var(--container);
  transform: translateY(-40px);
  box-shadow: var(--shadow-soft);
}

.cs-section, .article-section { max-width: 780px; margin: 0 auto; padding: 60px 24px; }
.cs-section h2, .article-section h2 { font-size: 1.7rem; margin-bottom: 18px; }
.cs-section h3, .article-section h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.cs-section ul, .article-section ul { margin: 0 0 20px; }
.cs-section ul li, .article-section ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.cs-section ul li::before, .article-section ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--gradient-hero);
}
.article-section blockquote {
  margin: 26px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--pink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}
.result-card {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.result-card b {
  font-family: var(--font-display);
  font-size: 2rem;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.result-card span { font-size: 0.82rem; color: var(--ink-soft); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 30px 0;
}
.video-grid.single {
  grid-template-columns: 1fr;
  max-width: 520px;
}
.video-card video,
.video-card .doc-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  background: var(--ink);
  object-fit: cover;
  transition: transform 0.2s ease;
}
.video-card a:hover .doc-thumb { transform: translateY(-3px); }
.video-card h3 { font-size: 1rem; margin: 14px 0 4px; }
.video-card p { font-size: 0.86rem; margin: 0; }

.cs-nextup, .article-nextup {
  background: var(--paper-soft);
  padding: 60px 0;
  text-align: center;
}
.cs-nextup a.btn, .article-nextup a.btn { margin-top: 18px; }

/* ---------------------------------------------
   Blog
--------------------------------------------- */
.blog-hero { padding: 170px 0 60px; }
.blog-hero .section-head { margin-bottom: 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--paper);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.blog-thumb {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 20px;
}
.blog-thumb svg { width: 46px; height: 46px; color: rgba(255,255,255,0.9); }

.blog-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.blog-meta .tag { padding: 4px 10px; }
.blog-body h3 { font-size: 1.12rem; margin-bottom: 10px; }
.blog-body p { font-size: 0.9rem; flex: 1; }

.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.article-byline .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient-hero);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
}
.article-byline b { color: var(--ink); }

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

/* ---------------------------------------------
   Responsive
--------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid, .skills-grid { grid-template-columns: 1fr; }
  .more-work-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid, .cs-meta { grid-template-columns: repeat(2, 1fr); }
  .about-visual { max-width: 360px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 16px; right: 16px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    gap: 18px;
    box-shadow: var(--shadow-soft);
  }
  .hero { padding: 150px 0 70px; }
  section { padding: 70px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .more-work-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .contact { padding: 50px 26px; margin: 0 16px; }
  .cs-banner { transform: none; height: 220px; }
}
