/*
Theme Name: Markana Media
Theme URI: https://markanamedia.com
Author: Markana Media
Description: Custom dark-mode agency theme with animated gradients, glassmorphism, bento layout, and kinetic typography.
Version: 1.0
License: GNU General Public License v2
Text Domain: markanamedia
*/


/* ============================================================
   0. CSS VARIABLES
   ============================================================ */
:root {
  --bg: #0C0A14;
  --bg2: #13111D;
  --bg3: #1A1726;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.07);
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.1);
  --white: #FFFFFF;
  --text: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.45);
  --coral: #FF6B4A;
  --coral-glow: rgba(255,107,74,0.15);
  --peach: #FFAD85;
  --violet: #8B5CF6;
  --violet-glow: rgba(139,92,246,0.15);
  --teal: #2DD4BF;
  --teal-glow: rgba(45,212,191,0.15);
  --gold: #F5C542;
  --gradient-hero: linear-gradient(135deg, #FF6B4A 0%, #8B5CF6 50%, #2DD4BF 100%);
  --gradient-warm: linear-gradient(135deg, #FF6B4A 0%, #FFAD85 100%);
  --gradient-cool: linear-gradient(135deg, #8B5CF6 0%, #2DD4BF 100%);
  --radius: 20px;
  --radius-sm: 12px;
}


/* ============================================================
   1. RESET & BASE STYLES
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: default;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

/* WordPress alignment classes */
.alignleft   { float: left;  margin: 0 1.5em 1em 0; }
.alignright  { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 1em auto; }
.alignwide   { max-width: 100vw; width: 100vw; position: relative; left: 50%; transform: translateX(-50%); }
.alignfull   { max-width: 100vw; width: 100vw; position: relative; left: 50%; transform: translateX(-50%); }
.wp-caption  { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5em; text-align: center; }

/* Screen-reader text */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}


/* ============================================================
   2. CURSOR GLOW
   ============================================================ */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}


/* ============================================================
   3. NAVIGATION (.site-nav)
   ============================================================ */
.site-nav {
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12,10,20,0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
}

/* Logo */
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo span {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav menu (ul) */
.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-menu li a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}
.nav-menu li a:hover { color: var(--white); }
.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-warm);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-menu li a:hover::after { width: 100%; }

/* Services dropdown */
.nav-item-dropdown {
  position: relative;
}
.nav-item-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dropdown-arrow {
  transition: transform 0.3s;
}
.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  min-width: 220px;
  background: rgba(19,17,29,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  list-style: none;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-item-dropdown:hover .nav-dropdown {
  display: block;
}
.nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.2s;
}
.nav-dropdown li a::after {
  display: none !important;
}
.nav-dropdown li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
.nav-dropdown-all a {
  border-top: 1px solid var(--glass-border);
  margin-top: 4px;
  padding-top: 12px !important;
  color: var(--coral) !important;
  font-weight: 600;
}
.nav-dropdown-all a:hover {
  color: var(--peach) !important;
}

/* CTA in nav menu (mobile) */
.nav-menu-cta { display: none; }
.nav-menu-cta a {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gradient-warm);
  color: var(--bg) !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: 'DM Sans', sans-serif;
  text-align: center;
}
.nav-menu-cta a::after { display: none; }

/* Desktop CTA button */
.nav-cta {
  display: inline-block;
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 110;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { margin-bottom: 5px; }
.nav-toggle span:nth-child(2) { margin-bottom: 5px; }
.nav-toggle span:nth-child(3) { margin-bottom: 0; }

/* Hamburger open animation */
.site-nav.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.site-nav.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   3b. BUTTONS (.btn-glow, .btn-glass)
   ============================================================ */
.btn-glow {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gradient-warm);
  color: var(--bg);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  font-family: 'DM Sans', sans-serif;
}
.btn-glow:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px var(--coral-glow), 0 0 80px var(--coral-glow);
  color: var(--bg);
}

.btn-glass {
  display: inline-block;
  padding: 12px 28px;
  background: var(--glass);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  backdrop-filter: blur(10px);
  font-family: 'DM Sans', sans-serif;
}
.btn-glass:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
  color: var(--white);
}


/* ============================================================
   4. FULL-WIDTH HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 48px 80px;
}

/* Bottom edge gradient fade */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--bg));
  z-index: 3;
  pointer-events: none;
}

/* Animated mesh gradient background */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(255,107,74,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(139,92,246,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(45,212,191,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 70%, rgba(245,197,66,0.08) 0%, transparent 60%);
  animation: mesh-shift 12s ease-in-out infinite alternate;
}

/* Grid lines overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

/* Floating particles */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.p1 { width: 4px; height: 4px; background: var(--coral);  top: 20%;  left: 15%;  animation: drift 18s linear infinite;         opacity: 0.6; }
.p2 { width: 3px; height: 3px; background: var(--violet); top: 35%;  right: 20%; animation: drift 22s linear infinite reverse; opacity: 0.5; }
.p3 { width: 5px; height: 5px; background: var(--teal);   bottom: 30%; left: 25%;  animation: drift 15s linear infinite;         opacity: 0.4; }
.p4 { width: 3px; height: 3px; background: var(--peach);  top: 60%;  right: 35%; animation: drift 20s linear infinite reverse; opacity: 0.6; }
.p5 { width: 4px; height: 4px; background: var(--gold);   top: 15%;  right: 40%; animation: drift 25s linear infinite;         opacity: 0.3; }
.p6 { width: 6px; height: 6px; background: var(--coral);  bottom: 20%; right: 15%; animation: drift 16s linear infinite reverse; opacity: 0.35; }
.p7 { width: 3px; height: 3px; background: var(--violet); bottom: 40%; left: 40%;  animation: drift 19s linear infinite;         opacity: 0.5; }

/* Outline/stroke text background layer */
.hero-outline-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Syne', sans-serif;
  font-size: clamp(6rem, 14vw, 14rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  color: transparent;
  white-space: nowrap;
  z-index: 0;
  user-select: none;
  pointer-events: none;
  animation: outline-drift 20s linear infinite;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

/* Hero tag pill */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--peach);
  margin-bottom: 36px;
  backdrop-filter: blur(10px);
  letter-spacing: 0.04em;
}
.hero-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Giant animated headline */
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-weight: 800;
  line-height: 1.04;
  color: var(--white);
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

/* Word-by-word reveal */
.hero h1 .word {
  display: inline-block;
  animation: word-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  opacity: 0;
}
.hero h1 .word:nth-child(1) { animation-delay: 0.1s; }
.hero h1 .word:nth-child(2) { animation-delay: 0.18s; }
.hero h1 .word:nth-child(3) { animation-delay: 0.26s; }
.hero h1 .word:nth-child(4) { animation-delay: 0.34s; }
.hero h1 .word:nth-child(5) { animation-delay: 0.42s; }
.hero h1 .word:nth-child(6) { animation-delay: 0.5s; }
.hero h1 .word:nth-child(7) { animation-delay: 0.58s; }
.hero h1 .word:nth-child(8) { animation-delay: 0.66s; }
.hero h1 .word:nth-child(9) { animation-delay: 0.74s; }

/* Gradient text with animated shimmer */
.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease-in-out infinite;
  position: relative;
}

/* Shimmer sweep */
.shimmer-wrap {
  position: relative;
  display: inline-block;
}
.shimmer-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer-sweep 4s ease-in-out infinite;
  pointer-events: none;
}

/* Hero paragraph */
.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  animation: fade-in 1s ease 0.8s both;
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 72px;
  animation: fade-in 1s ease 1s both;
}

/* Hero metrics row */
.hero-metrics {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-in 1s ease 1.2s both;
}
.metric-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  transition: all 0.4s ease;
}
.metric-pill:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.metric-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.mi-coral  { background: var(--coral-glow); }
.mi-violet { background: var(--violet-glow); }
.mi-teal   { background: var(--teal-glow); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fade-in 1s ease 1.5s both;
}
.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 500;
}
.scroll-line {
  width: 1px;
  height: 40px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 60%;
  background: var(--gradient-warm);
  animation: scroll-down 2s ease-in-out infinite;
}


/* ============================================================
   5. DOUBLE MARQUEE
   ============================================================ */
.marquee-section {
  padding: 0;
  overflow: hidden;
  position: relative;
  background: var(--bg2);
}
.marquee-row {
  display: flex;
  border-bottom: 1px solid var(--glass-border);
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track-reverse {
  animation-direction: reverse;
}
.marquee-item {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 24px 0;
  transition: color 0.3s;
}
.marquee-item:hover { color: var(--white); }
.marquee-item .sep {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  margin: 0 28px;
  flex-shrink: 0;
}

/* Alternating outline style */
.marquee-item-outline {
  -webkit-text-stroke: 1px var(--text-muted);
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.marquee-item-outline:hover {
  -webkit-text-stroke: 1px var(--white);
}


/* ============================================================
   6. SERVICES BENTO
   ============================================================ */
.services {
  padding: 120px 48px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  perspective: 1200px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  text-decoration: none;
  display: block;
  color: inherit;
}
.bento-learn-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--coral);
  transition: color 0.3s;
}
.bento-card:hover .bento-learn-more {
  color: var(--peach);
}

/* Top gradient border */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* Hover glow behind card */
.bento-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  filter: blur(20px);
}

.bento-card:hover {
  background: var(--surface-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.18);
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover::after  { opacity: 0.3; }

/* Card spans */
.bento-1 { grid-column: span 7; }
.bento-1::before { background: var(--gradient-warm); }
.bento-1::after  { background: var(--coral); }

.bento-2 { grid-column: span 5; }
.bento-2::before { background: var(--gradient-cool); }
.bento-2::after  { background: var(--violet); }

.bento-3 { grid-column: span 4; }
.bento-3::before { background: linear-gradient(135deg, var(--teal), var(--gold)); }
.bento-3::after  { background: var(--teal); }

.bento-4 { grid-column: span 4; }
.bento-4::before { background: linear-gradient(135deg, var(--violet), var(--coral)); }
.bento-4::after  { background: var(--violet); }

.bento-5 { grid-column: span 4; }
.bento-5::before { background: var(--gradient-warm); }
.bento-5::after  { background: var(--gold); }

/* Bento icon */
.bento-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: transform 0.4s ease;
}
.bento-card:hover .bento-icon {
  transform: scale(1.1) rotate(-3deg);
}
.bi-coral  { background: var(--coral-glow); }
.bi-violet { background: var(--violet-glow); }
.bi-teal   { background: var(--teal-glow); }
.bi-gold   { background: rgba(245,197,66,0.12); }

.bento-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.bento-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Bento tags */
.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.bento-tag {
  padding: 6px 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s;
}
.bento-tag:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}


/* ============================================================
   7. WHY SECTION — HORIZONTAL SCROLL
   ============================================================ */
.why-section {
  padding: 120px 0 120px 48px;
  overflow: hidden;
}
.why-header {
  max-width: 1300px;
  margin-bottom: 48px;
}
.why-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
  padding-right: 48px;
  scrollbar-width: none;
}
.why-scroll::-webkit-scrollbar { display: none; }

.why-card {
  flex-shrink: 0;
  width: 380px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  scroll-snap-align: start;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.why-card:hover {
  background: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

/* Ghost number */
.why-card-number {
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  position: absolute;
  top: -10px;
  right: 16px;
  -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  color: transparent;
  line-height: 1;
  pointer-events: none;
}

.why-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
}
.why-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

/* Gradient lines */
.why-card-line {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 24px;
}
.line-coral  { background: var(--gradient-warm); }
.line-violet { background: var(--gradient-cool); }
.line-teal   { background: linear-gradient(90deg, var(--teal), var(--gold)); }
.line-gold   { background: linear-gradient(90deg, var(--gold), var(--coral)); }


/* ============================================================
   8. CTA SECTION — SPINNING GRADIENT BORDER
   ============================================================ */
.cta-section {
  padding: 60px 48px 120px;
  position: relative;
}
.cta-card {
  max-width: 1300px;
  margin: 0 auto;
  border-radius: 32px;
  padding: 100px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Spinning conic gradient border */
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, var(--coral), var(--violet), var(--teal), var(--gold), var(--coral));
  animation: spin-border 6s linear infinite;
  z-index: 0;
}
.cta-card::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  background: var(--bg2);
  border-radius: 30px;
  z-index: 1;
}
.cta-card > * {
  position: relative;
  z-index: 2;
}
.cta-card h2 {
  font-family: 'Syne', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-card p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   9. BLOG CARDS
   ============================================================ */
.blog-section {
  padding: 120px 48px;
  max-width: 1300px;
  margin: 0 auto;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.18);
}

/* Thumbnail */
.blog-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--bg2), rgba(139,92,246,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--surface));
  pointer-events: none;
}
.blog-thumb-empty {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Blog body */
.blog-body {
  padding: 28px;
}
.blog-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-body h3 a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}
.blog-body h3 a:hover {
  color: var(--coral);
}
.blog-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Blog tag */
.blog-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--coral-glow);
  color: var(--coral);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.blog-tag-ai  { background: var(--violet-glow); color: var(--violet); }
.blog-tag-seo { background: var(--teal-glow);   color: var(--teal); }

/* Blog meta */
.blog-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}


/* ============================================================
   10. SINGLE POST
   ============================================================ */
.post-single {
  padding-top: 100px;
  padding-bottom: 80px;
}

.post-header {
  text-align: center;
  padding: 40px 0 48px;
}

.post-category {
  display: inline-block;
  padding: 5px 14px;
  background: var(--coral-glow);
  color: var(--coral);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.post-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.meta-sep {
  opacity: 0.4;
}

/* Featured image */
.post-featured-image {
  max-width: 1000px;
  margin: 0 auto 48px;
  border-radius: var(--radius);
  overflow: hidden;
}
.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Post content — prose styling */
.post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.post-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-top: 56px;
  margin-bottom: 20px;
  line-height: 1.15;
}
.post-content h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.post-content h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 40px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.post-content p {
  margin-bottom: 1.5em;
}

.post-content a {
  color: var(--coral);
  text-decoration: none;
  transition: color 0.3s;
  border-bottom: 1px solid transparent;
}
.post-content a:hover {
  color: var(--peach);
  border-bottom-color: var(--peach);
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}
.post-content li::marker {
  color: var(--coral);
}

.post-content blockquote {
  margin: 2em 0;
  padding: 24px 28px;
  background: var(--surface);
  border-left: 4px solid transparent;
  border-image: var(--gradient-warm) 1;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
}
.post-content blockquote p {
  margin-bottom: 0;
}
.post-content blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text-muted);
}

.post-content code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.88em;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 2px 8px;
  color: var(--peach);
}
.post-content pre {
  margin: 2em 0;
  padding: 24px 28px;
  background: var(--bg2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  line-height: 1.6;
}
.post-content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.88rem;
  color: var(--text);
}

.post-content img {
  border-radius: var(--radius-sm);
  margin: 2em 0;
}

.post-content hr {
  border: none;
  height: 1px;
  background: var(--glass-border);
  margin: 3em 0;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 0.92rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.post-content table th,
.post-content table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}
.post-content table th {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--white);
  background: var(--surface);
}
.post-content table td {
  color: var(--text);
}
.post-content table tr:hover td {
  background: var(--surface);
}

.post-content figure {
  margin: 2em 0;
}
.post-content figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75em;
}

/* Post tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  margin-bottom: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}
.post-tag-pill {
  padding: 10px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s;
}
.post-tag-pill:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}


/* ============================================================
   11. AUTHOR BOX
   ============================================================ */
.author-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  margin-top: 48px;
}
.author-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--glass-border);
}
.author-info {
  flex: 1;
  min-width: 0;
}
.author-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.author-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}
.author-bio {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}
.author-links {
  display: flex;
  gap: 16px;
}
.author-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--coral);
  text-decoration: none;
  transition: color 0.3s;
}
.author-link:hover {
  color: var(--peach);
}


/* ============================================================
   12. PAGE TEMPLATE
   ============================================================ */
.page-single {
  padding-top: 100px;
  padding-bottom: 80px;
}
.page-header {
  padding: 40px 0 32px;
}
.page-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.page-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  padding-top: 16px;
}

/* Reuse post content prose styles for page content */
.page-content h2  { font-family: 'Syne', sans-serif; font-size: 1.9rem; font-weight: 800; color: var(--white); letter-spacing: -0.02em; margin-top: 56px; margin-bottom: 20px; line-height: 1.15; }
.page-content h3  { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--white); letter-spacing: -0.01em; margin-top: 48px; margin-bottom: 16px; line-height: 1.2; }
.page-content h4  { font-family: 'DM Sans', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--white); margin-top: 40px; margin-bottom: 12px; line-height: 1.3; }
.page-content p   { margin-bottom: 1.5em; }
.page-content a   { color: var(--coral); text-decoration: none; border-bottom: 1px solid transparent; transition: color 0.3s; }
.page-content a:hover { color: var(--peach); border-bottom-color: var(--peach); }
.page-content ul,
.page-content ol  { margin-bottom: 1.5em; padding-left: 1.5em; }
.page-content ul  { list-style: disc; }
.page-content ol  { list-style: decimal; }
.page-content li  { margin-bottom: 0.5em; line-height: 1.7; }
.page-content li::marker { color: var(--coral); }
.page-content blockquote {
  margin: 2em 0; padding: 24px 28px; background: var(--surface);
  border-left: 4px solid transparent; border-image: var(--gradient-warm) 1;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.1rem; font-style: italic; color: var(--text); line-height: 1.7;
}
.page-content blockquote p { margin-bottom: 0; }
.page-content code { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.88em; background: var(--surface); border: 1px solid var(--glass-border); border-radius: 6px; padding: 2px 8px; color: var(--peach); }
.page-content pre  { margin: 2em 0; padding: 24px 28px; background: var(--bg2); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); overflow-x: auto; line-height: 1.6; }
.page-content pre code { background: none; border: none; padding: 0; font-size: 0.88rem; color: var(--text); }
.page-content img  { border-radius: var(--radius-sm); margin: 2em 0; }
.page-content hr   { border: none; height: 1px; background: var(--glass-border); margin: 3em 0; }
.page-content table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 0.92rem; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.page-content table th,
.page-content table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--glass-border); }
.page-content table th { font-family: 'DM Sans', sans-serif; font-weight: 600; color: var(--white); background: var(--surface); }
.page-content table td { color: var(--text); }


/* ============================================================
   13. 404 PAGE
   ============================================================ */
.error-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
  padding: 140px 48px 80px;
}
.error-404 h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}
.error-404 p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 420px;
}


/* ============================================================
   14. FOOTER (.site-footer)
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 72px 48px 40px;
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand span {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-col p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 10px;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--coral); }

.footer-bottom {
  max-width: 1300px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}


/* ============================================================
   15. UTILITIES
   ============================================================ */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}
.container-narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.main-content {
  padding-top: 100px;
  padding-bottom: 80px;
}

/* Section header — used in services, blog, etc. */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.08;
}


/* ============================================================
   16. PAGINATION
   ============================================================ */
.pagination {
  margin-top: 64px;
  text-align: center;
}
.pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.pagination .page-numbers:hover {
  background: var(--surface-hover);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.pagination .page-numbers.current {
  background: var(--gradient-warm);
  color: var(--bg);
  font-weight: 700;
  border-color: transparent;
}
.pagination .page-numbers.dots {
  background: none;
  border: none;
  cursor: default;
}
.pagination .page-numbers.dots:hover {
  transform: none;
}
.pagination .prev,
.pagination .next {
  font-weight: 600;
  color: var(--coral);
}
.pagination .prev:hover,
.pagination .next:hover {
  color: var(--white);
}


/* ============================================================
   17. NO POSTS STATE
   ============================================================ */
.no-posts {
  text-align: center;
  padding: 80px 24px;
}
.no-posts h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.no-posts p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto;
}


/* ============================================================
   18. POST FOOTER
   ============================================================ */
.post-footer {
  padding-bottom: 48px;
}


/* ============================================================
   18b. AD CONTAINERS — hidden until ad code is configured
   ============================================================ */
.ad-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 48px;
  text-align: center;
  clear: both;
}
.ad-inner {
  padding: 20px 0;
  min-height: 90px;
}
/* Below-title slot — between featured image and content */
.ad-below-title {
  margin-top: 32px;
  margin-bottom: 8px;
}
/* Mid-content slot — inserted between H2 sections */
.ad-mid-content {
  max-width: 720px;
  margin: 48px auto;
  padding: 0;
}
/* After-content slot — between content and tags/author */
.ad-after-content {
  margin-top: 16px;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .ad-container { padding: 0 20px; }
}

/* ============================================================
   19. PAGE HERO — Compact hero for inner pages
   ============================================================ */
.page-hero {
  position: relative;
  padding: 180px 48px 100px;
  text-align: center;
  overflow: hidden;
}
.page-hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(255,107,74,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 70% 40%, rgba(139,92,246,0.12) 0%, transparent 60%);
  animation: mesh-shift 12s ease-in-out infinite alternate;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.page-hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.page-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}


/* ============================================================
   20. SERVICES OVERVIEW PAGE
   ============================================================ */
.services-overview {
  padding: 80px 48px 120px;
  max-width: 1300px;
  margin: 0 auto;
}
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-overview-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: block;
}
.service-overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.4s;
}
.soc-coral::before { background: var(--gradient-warm); }
.soc-violet::before { background: var(--gradient-cool); }
.soc-teal::before { background: linear-gradient(135deg, var(--teal), var(--gold)); }
.soc-gold::before { background: linear-gradient(135deg, var(--gold), var(--coral)); }
.service-overview-card:hover::before { opacity: 1; }
.service-overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
  background: var(--surface-hover);
}
.soc-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.service-overview-card h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.soc-desc {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
}
.soc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.soc-list li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 6px 14px;
}
.soc-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--coral);
  transition: color 0.3s;
}
.service-overview-card:hover .soc-link {
  color: var(--peach);
}
/* Last card on odd count — full width */
.services-overview-grid .service-overview-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}


/* ============================================================
   21. SERVICE DETAIL PAGE
   ============================================================ */
.service-hero {
  position: relative;
  padding: 180px 48px 100px;
  text-align: center;
  overflow: hidden;
}
.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.service-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}
.service-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* What's Included */
.service-included {
  padding: 100px 0;
}
.service-included .section-title {
  margin-bottom: 48px;
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.included-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.4s ease;
}
.included-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.15);
  background: var(--surface-hover);
}
.included-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.included-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Process Steps */
.service-process {
  padding: 100px 0;
  background: var(--surface);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.process-step {
  position: relative;
  padding: 32px 24px;
}
.process-number {
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: 16px;
}
.process-line {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.process-step h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Related Services */
.related-services {
  padding: 100px 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.related-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-decoration: none;
  transition: all 0.4s ease;
  display: block;
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
  background: var(--surface-hover);
}
.related-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.related-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.related-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}
.related-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--coral);
  transition: color 0.3s;
}
.related-card:hover .related-link {
  color: var(--peach);
}


/* ============================================================
   22. ABOUT PAGE
   ============================================================ */
.about-story {
  padding: 80px 0 100px;
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-story-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.about-story-text p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.2em;
}
.about-stats-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  backdrop-filter: blur(16px);
}
.about-stat {
  padding: 20px 0;
  border-bottom: 1px solid var(--glass-border);
}
.about-stat:last-child {
  border-bottom: none;
}
.about-stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Founder */
.about-founder {
  padding: 80px 0 100px;
  background: var(--surface);
}
.founder-card {
  background: var(--bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 800px;
}
.founder-info .section-label {
  margin-bottom: 12px;
}
.founder-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.founder-title {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
}
.founder-info p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.2em;
}
.founder-info .btn-glass {
  margin-top: 8px;
}

/* Values */
.about-values {
  padding: 100px 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.4s ease;
}
.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.15);
}
.value-line {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.line-coral  { background: var(--coral); }
.line-violet { background: var(--violet); }
.line-teal   { background: var(--teal); }
.line-gold   { background: var(--gold); }
.value-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ============================================================
   23. CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 80px 0 120px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2,
.contact-form-wrap h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.contact-items {
  display: flex;
  flex-direction: column;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--glass-border);
}
.contact-item:last-child {
  border-bottom: none;
}
.contact-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.contact-item a,
.contact-item span {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.contact-item a:hover {
  color: var(--coral);
}

/* Form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.contact-form .form-group {
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255,107,74,0.15);
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.contact-form select option {
  background: var(--bg);
  color: var(--white);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form .btn-glow {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.form-status {
  margin-top: 16px;
  font-size: 0.88rem;
  text-align: center;
  min-height: 24px;
}
.form-status-ok {
  color: var(--teal);
}
.form-status-err {
  color: var(--coral);
}


/* ============================================================
   24. KEYFRAME ANIMATIONS
   ============================================================ */

/* Word reveal — hero headline */
@keyframes word-rise {
  from {
    opacity: 0;
    transform: translateY(40px) rotateX(40deg);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
    filter: blur(0);
  }
}

/* Gradient position shift — gradient text */
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Shimmer sweep on gradient text */
@keyframes shimmer-sweep {
  0%, 100% { left: -100%; }
  50%      { left: 150%; }
}

/* Ghost outline text drift */
@keyframes outline-drift {
  0%   { transform: translate(-50%, -50%) translateX(0); }
  100% { transform: translate(-50%, -50%) translateX(-200px); }
}

/* Pulsing dot — hero tag */
@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255,107,74,0.4);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 6px rgba(255,107,74,0);
  }
}

/* Floating particles */
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(60px, -80px) rotate(90deg); }
  50%  { transform: translate(-40px, -160px) rotate(180deg); }
  75%  { transform: translate(80px, -240px) rotate(270deg); }
  100% { transform: translate(0, -320px) rotate(360deg); }
}

/* Hero mesh gradient */
@keyframes mesh-shift {
  0%   { filter: hue-rotate(0deg);   transform: scale(1); }
  50%  { filter: hue-rotate(15deg);  transform: scale(1.05); }
  100% { filter: hue-rotate(-10deg); transform: scale(1.02); }
}

/* Marquee infinite scroll */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CTA spinning border */
@keyframes spin-border {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scroll indicator line */
@keyframes scroll-down {
  0%   { top: -60%; }
  100% { top: 110%; }
}

/* Gentle card float */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Generic fade in */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ============================================================
   19. RESPONSIVE — 900px breakpoint
   ============================================================ */
@media (max-width: 900px) {

  /* Nav */
  .site-nav {
    padding: 16px 24px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-cta {
    display: none;
  }

  /* Mobile menu — slides down from nav */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(12,10,20,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 24px 24px;
  }
  .site-nav.is-open .nav-menu {
    display: flex;
  }
  .nav-menu li a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-menu li a::after {
    display: none;
  }
  .nav-menu li:last-child a {
    border-bottom: none;
  }

  /* Mobile dropdown — always visible, no hover */
  .nav-dropdown {
    display: block;
    position: static;
    background: none;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    min-width: auto;
  }
  .nav-dropdown::before { display: none; }
  .nav-dropdown li a {
    padding: 14px 0 14px 16px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-dropdown-all { display: none; }
  .dropdown-arrow { display: none; }

  .nav-menu-cta {
    display: block;
    margin-top: 12px;
  }
  .nav-menu-cta a {
    display: block;
    text-align: center;
    padding: 14px 28px;
  }

  /* Hero */
  .hero {
    padding: 120px 24px 80px;
    min-height: auto;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero-outline-text {
    display: none;
  }
  .hero-metrics {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Cursor glow + particles hide on touch */
  .cursor-glow {
    display: none;
  }
  .particle {
    display: none;
  }

  /* Marquee */
  .marquee-item {
    font-size: 1.1rem;
  }

  /* Bento grid to single column */
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-1,
  .bento-2,
  .bento-3,
  .bento-4,
  .bento-5 {
    grid-column: span 1;
  }

  /* Services */
  .services {
    padding: 80px 24px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .section-title {
    font-size: 2.2rem;
  }

  /* Why section */
  .why-section {
    padding: 80px 0 80px 24px;
  }
  .why-scroll {
    padding-right: 24px;
  }
  .why-card {
    width: 300px;
  }

  /* CTA */
  .cta-section {
    padding: 40px 24px 80px;
  }
  .cta-card {
    padding: 60px 24px;
  }
  .cta-card h2 {
    font-size: 2.2rem;
  }

  /* Blog grid */
  .blog-section {
    padding: 80px 24px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .site-footer {
    padding: 48px 24px 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Container */
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Post single */
  .post-title {
    font-size: 2rem;
  }
  .post-featured-image {
    margin-left: 24px;
    margin-right: 24px;
  }

  /* Page */
  .page-title {
    font-size: 2rem;
  }

  /* Author box */
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author-links {
    justify-content: center;
  }

  /* 404 */
  .error-404 {
    padding: 120px 24px 60px;
  }

  /* Pagination — keep touch targets at 44px */
  .pagination .page-numbers {
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  /* Page hero */
  .page-hero {
    padding: 140px 24px 60px;
  }
  .page-hero-title {
    font-size: 2.2rem;
  }
  .service-hero {
    padding: 140px 24px 60px;
  }

  /* Services overview */
  .services-overview {
    padding: 60px 24px 80px;
  }
  .services-overview-grid {
    grid-template-columns: 1fr;
  }

  /* Service detail */
  .service-included { padding: 60px 0; }
  .service-process { padding: 60px 0; }
  .related-services { padding: 60px 0; }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-grid {
    grid-template-columns: 1fr;
  }

  /* About */
  .about-story { padding: 60px 0 80px; }
  .about-story-grid {
    grid-template-columns: 1fr;
  }
  .about-founder { padding: 60px 0 80px; }
  .founder-card {
    padding: 32px 24px;
  }
  .about-values { padding: 60px 0 80px; }

  /* Contact */
  .contact-section { padding: 60px 0 80px; }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 32px 24px;
  }
}


/* ============================================================
   19b. RESPONSIVE — 480px breakpoint
   ============================================================ */
@media (max-width: 480px) {

  .hero {
    padding: 100px 16px 60px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-tag {
    font-size: 0.78rem;
    padding: 8px 14px;
  }

  .metric-pill {
    padding: 10px 16px;
    gap: 10px;
    width: 100%;
  }
  .metric-value {
    font-size: 1.1rem;
  }
  .metric-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .marquee-item {
    font-size: 0.9rem;
    padding: 18px 0;
  }
  .marquee-item .sep {
    width: 6px;
    height: 6px;
    margin: 0 18px;
  }

  .bento-card {
    padding: 28px 22px;
  }
  .bento-card h3 {
    font-size: 1.15rem;
  }

  .why-scroll {
    padding-right: 16px;
  }
  .why-card {
    width: 260px;
    padding: 32px 24px;
  }
  .why-card h3 {
    font-size: 1.2rem;
  }

  .cta-card h2 {
    font-size: 1.8rem;
  }
  .cta-card p {
    font-size: 1rem;
  }

  .blog-body {
    padding: 20px;
  }
  .blog-body h3 {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .post-single,
  .page-single {
    padding-top: 80px;
  }
  .post-title {
    font-size: 1.7rem;
  }
  .page-title {
    font-size: 1.7rem;
  }
  .post-content,
  .page-content {
    font-size: 0.95rem;
  }
  .post-content h2,
  .page-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
  }
  .post-content h3,
  .page-content h3 {
    font-size: 1.25rem;
    margin-top: 32px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .post-featured-image {
    margin-left: 16px;
    margin-right: 16px;
    border-radius: var(--radius-sm);
  }

  .author-box {
    padding: 24px 20px;
  }
  .author-photo {
    width: 64px;
    height: 64px;
  }

  .error-404 {
    padding: 100px 16px 40px;
  }
  .error-404 h1 {
    font-size: 5rem;
  }

  .footer-brand {
    font-size: 1.2rem;
  }

  .scroll-indicator {
    bottom: 24px;
  }

  /* Page hero */
  .page-hero {
    padding: 120px 16px 48px;
  }
  .page-hero-title {
    font-size: 1.8rem;
  }
  .service-hero {
    padding: 120px 16px 48px;
  }
  .service-hero-icon {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }

  /* Service detail */
  .process-steps {
    grid-template-columns: 1fr;
  }
  .process-number {
    font-size: 3rem;
  }
  .included-grid {
    grid-template-columns: 1fr;
  }
  .included-card {
    padding: 24px 20px;
  }

  /* About */
  .founder-card {
    padding: 24px 20px;
  }
  .founder-info h2 {
    font-size: 1.8rem;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-form-wrap {
    padding: 24px 20px;
  }
  .service-overview-card {
    padding: 28px 22px;
  }
}


/* ============================================================
   TOPIC PICKER
   ============================================================ */

.topic-picker {
  position: relative;
  min-height: 80vh;
  padding: 72px 56px;
  overflow: hidden;
  background: var(--bg);
}
.topic-picker-bg {
  position: absolute;
  top: -20%; right: -8%;
  width: 55%; height: 140%;
  background: radial-gradient(ellipse at center, var(--coral-glow) 0%, transparent 70%);
  border-radius: 60% 0 0 50%;
  z-index: 0;
  animation: blob-hero 14s ease-in-out infinite;
}
.topic-picker-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}
.topic-picker-header { margin-bottom: 48px; }
.topic-picker-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 16px;
}
.topic-picker-title em {
  font-style: italic;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.topic-picker-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 560px;
}

/* eyebrow */
.topic-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--coral);
  margin-bottom: 16px;
}
.topic-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
  animation: live-pulse 2s ease-in-out infinite;
}

/* empty state */
.topic-picker .empty-state {
  text-align: center;
  padding: 80px 0;
}
.topic-picker .empty-state-emoji {
  font-size: 3rem;
  margin-bottom: 16px;
}
.topic-picker .empty-state-text {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

/* cards grid */
.topic-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.topic-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s;
}
.topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,74,0.1);
}
.topic-card--published { border-color: var(--teal); }
.topic-card--skipped   { opacity: 0.35; pointer-events: none; }

.topic-card-header {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topic-card-header--coral  { background: var(--coral);  color: white; }
.topic-card-header--violet { background: var(--violet); color: white; }
.topic-card-header--teal   { background: var(--teal);   color: #0C0A14; }
.topic-card-header--gold   { background: var(--gold);   color: #0C0A14; }
.topic-card-header--peach  { background: var(--peach);  color: #0C0A14; }
.topic-card-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0.7;
}
.topic-card-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.85;
}

.topic-card-body { padding: 20px; }
.topic-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--white);
}
.topic-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.topic-card-keyword { font-size: 0.82rem; color: var(--text-muted); }
.topic-card-keyword-label { text-transform: uppercase; letter-spacing: 0.1em; }
.topic-card-keyword-value { font-weight: 600; color: var(--coral); }

.topic-card-actions {
  padding: 14px 20px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 8px;
  align-items: center;
}

/* buttons */
.topic-picker-btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}
.topic-picker-btn--primary { background: var(--coral); color: white; }
.topic-picker-btn--primary:hover { background: var(--peach); color: #0C0A14; }
.topic-picker-btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
}
.topic-picker-btn--ghost:hover { border-color: var(--coral); color: var(--coral); }
.topic-picker-btn--success { background: var(--teal); color: #0C0A14; }
.topic-picker-btn--muted { background: var(--surface); color: var(--text-muted); cursor: default; }
.topic-picker-btn:disabled { opacity: 0.6; cursor: wait; }

/* loading */
.topic-picker-loading { text-align: center; padding: 80px 0; color: var(--text-muted); }
.topic-picker-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* summary */
.topic-picker-summary {
  margin-top: 40px;
  text-align: center;
  padding: 48px 24px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
}
.topic-picker-summary-title {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.topic-picker-summary-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .topic-picker { padding: 48px 24px; }
  .topic-cards  { grid-template-columns: 1fr; }
}
