/* ============================================================
   PRODUCT WITH ATTITUDE — style.css
   Dark, editorial, premium. Builder energy.
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --green-primary: #27670D;
  --green-mid: #628F48;
  --green-light: #9AEBCE;
  --orange-accent: #FF6719;
  --dark-bg: #1A1A1A;
  --dark-card: #2D2D2D;
  --light-grey: #F0EFEF;
  --white: #FFFFFF;
  --text-light: #E8E8E8;
  --text-muted: #A0A0A0;
  --text-dark: #1A1A1A;
  --text-dark-muted: #555;
  --border-subtle: rgba(255,255,255,0.08);
  --border-light: rgba(0,0,0,0.08);

  /* Typography */
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Fluid Type Scale */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.3vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  --text-2xl: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --text-4xl: clamp(2.4rem, 1.8rem + 2.5vw, 3.8rem);

  /* Spacing (4px grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Layout */
  --max-width: 1200px;
  --content-width: 900px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 180ms;
  --duration-normal: 300ms;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-light);
  background: var(--dark-bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  height: 64px;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav__logo img {
  height: 36px;
  width: auto;
  border-radius: var(--radius-sm);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dark-muted);
  transition: color var(--duration-fast) var(--ease-out);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav__link:hover {
  color: var(--text-dark);
}

.nav__social {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-dark-muted);
  transition: color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.nav__social a:hover {
  color: var(--text-dark);
  background: rgba(0,0,0,0.04);
}

.nav__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-fast) var(--ease-out);
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  z-index: 99;
}

.nav__mobile-menu.open {
  display: flex;
}

.nav__mobile-menu a {
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.nav__mobile-social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.nav__mobile-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-dark-muted);
  font-size: var(--text-base);
}

.nav__mobile-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #010000;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-16) var(--space-6);
  width: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.hero__roles {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.hero__role {
  position: relative;
}

.hero__role h1,
.hero__role h2 {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero__role:first-child h1 {
  font-size: var(--text-4xl);
}

.hero__role p {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-top: var(--space-2);
  font-weight: 400;
}

.hero__role::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--green-primary);
  border-radius: 2px;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.hero__role:hover::before {
  opacity: 1;
}

/* Portrait */
.hero__portrait {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__portrait-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 103, 13, 0.15) 0%, rgba(39, 103, 13, 0.06) 40%, transparent 65%);
  filter: blur(60px);
  z-index: 0;
}

.hero__portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  border-radius: 0;
  object-fit: cover;
}

/* CTA */
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-subtle);
}

.hero__cta-text {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--white);
  letter-spacing: -0.02em;
}

.btn-subscribe {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--green-primary);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-md);
  letter-spacing: 0.02em;
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}

.btn-subscribe:hover {
  background: #1e5209;
  transform: translateY(-1px);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  position: relative;
  background: #010000;
  padding: var(--space-24) 0;
  color: var(--text-light);
  overflow: hidden;
}

/* Video background */
.testimonials__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* Dark overlay for readability */
.testimonials::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

.testimonials > *:not(.testimonials__video) {
  position: relative;
  z-index: 2;
}

.testimonials__heading {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--white);
  text-align: center;
  margin-bottom: var(--space-12);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  border-left: 3px solid var(--green-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.testimonial-card__quote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: var(--space-5);
  font-style: italic;
}

.testimonial-card__quote::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--green-light);
  line-height: 0;
  position: relative;
  top: 8px;
  margin-right: 4px;
}

.testimonial-card__author {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-light);
}

.testimonial-card__author a {
  color: var(--green-light);
  transition: color var(--duration-fast) var(--ease-out);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 2px;
}

.testimonial-card__author a:hover {
  text-decoration-color: var(--green-light);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-12) 0;
  text-align: center;
}

.footer__made {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}

.footer__social a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--text-muted);
  opacity: 0.6;
}

/* ==========================================================
   BLOG PAGE
   ========================================================== */

/* Blog page body override — fully dark */
body.blog-page {
  background: var(--dark-bg);
  color: var(--text-light);
}

/* Blog page nav stays white — no overrides needed */

/* Blog Header — dark */
.blog-header {
  padding-top: calc(64px + var(--space-16));
  padding-bottom: var(--space-12);
  background: var(--dark-bg);
  text-align: center;
}

.blog-header h1 {
  font-size: var(--text-4xl);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.blog-header__subtitle {
  font-size: var(--text-xl);
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: var(--space-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.blog-header__intro {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Category Filter — dark */
.category-filter {
  padding: var(--space-6) 0;
  background: var(--dark-bg);
  position: sticky;
  top: 64px;
  z-index: 50;
  border-bottom: 1px solid var(--border-subtle);
}

.category-filter__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 500;
  background: var(--dark-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  border: none;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.category-pill:hover {
  background: #3a3a3a;
  color: var(--text-light);
}

.category-pill.active {
  background: var(--green-primary);
  color: var(--white);
}

.category-pill__count {
  font-size: 0.7em;
  opacity: 0.7;
  margin-left: 4px;
}

/* Article Grid — dark */
.articles {
  padding: var(--space-10) 0 var(--space-24);
  background: var(--dark-bg);
}

.articles__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.articles__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-16) 0;
  color: var(--text-muted);
  font-size: var(--text-lg);
}

/* Skeleton Loading */
.articles__loading {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-8);
}

.skeleton-card {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  position: relative;
}

.skeleton-card::before {
  content: '';
  display: block;
  height: 180px;
  background: linear-gradient(90deg, #2D2D2D 25%, #3a3a3a 50%, #2D2D2D 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-card::after {
  content: '';
  display: block;
  margin: var(--space-4);
  height: 60px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Article Card — dark */
.article-card {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.article-card__image {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
}

.article-card__image-gradient {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}

/* Category-based gradients */
.article-card__image-gradient[data-cat="Vibe Coding"] {
  background: linear-gradient(135deg, #1a3a0a 0%, #27670D 60%, #628F48 100%);
}
.article-card__image-gradient[data-cat="AI Tools"] {
  background: linear-gradient(135deg, #0a2e1a 0%, #27670D 60%, #9AEBCE 100%);
}
.article-card__image-gradient[data-cat="AI Product Management"] {
  background: linear-gradient(135deg, #2D2D2D 0%, #27670D 70%, #628F48 100%);
}
.article-card__image-gradient[data-cat="Agentic AI"] {
  background: linear-gradient(135deg, #1a1a2e 0%, #27670D 60%, #9AEBCE 100%);
}
.article-card__image-gradient[data-cat="AI Literacy"] {
  background: linear-gradient(135deg, #2D2D2D 0%, #628F48 60%, #9AEBCE 100%);
}
.article-card__image-gradient[data-cat="Substack Growth"] {
  background: linear-gradient(135deg, #3d1a00 0%, #FF6719 40%, #27670D 100%);
}
.article-card__image-gradient[data-cat="AI Builder Interviews"] {
  background: linear-gradient(135deg, #0d1a0d 0%, #628F48 60%, #27670D 100%);
}
.article-card__image-gradient[data-cat="AI Writing & Content"] {
  background: linear-gradient(135deg, #1a0d2e 0%, #628F48 50%, #9AEBCE 100%);
}

/* RSS cover image */
.article-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-card__image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.article-card__badges {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.article-card__badge {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.article-card__premium {
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
  background: var(--orange-accent);
  color: var(--white);
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card__date {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  color: var(--text-light);
  line-height: 1.3;
  margin-bottom: var(--space-3);
  transition: color var(--duration-fast) var(--ease-out);
}

.article-card__title:hover {
  color: var(--green-light);
}

.article-card__keywords {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-top: auto;
  padding-top: var(--space-3);
}

.article-card__keyword {
  font-size: var(--text-xs);
  color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  opacity: 0.7;
}

/* Blog page footer — seamless dark */
body.blog-page .footer {
  background: var(--dark-bg);
  color: var(--text-muted);
  border-top-color: var(--border-subtle);
}

/* ==========================================================
   ANIMATIONS & MOTION
   ========================================================== */

/* --- Hero Entrance --- */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.04); }
}

.hero__role {
  opacity: 0;
  transform: translateY(12px);
}

.hero__role.animated {
  animation: heroFadeIn 0.7s var(--ease-out) forwards;
}

.hero__role:nth-child(1).animated { animation-delay: 0.1s; }
.hero__role:nth-child(2).animated { animation-delay: 0.35s; }
.hero__role:nth-child(3).animated { animation-delay: 0.6s; }

.hero__cta {
  opacity: 0;
  transform: translateY(12px);
}

.hero__cta.animated {
  animation: heroFadeIn 0.7s var(--ease-out) 0.85s forwards;
}

.hero__portrait {
  opacity: 0;
}

.hero__portrait.animated {
  animation: heroFadeIn 0.9s var(--ease-out) 0.3s forwards;
}

.hero__portrait.animated .hero__portrait-glow {
  animation: glowPulse 4s ease-in-out 1.2s infinite;
}

/* --- Scroll Reveals (staggered) --- */
.reveal {
  opacity: 0;
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transform: translateY(8px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside grids */
.testimonials__grid .reveal.visible,
.articles__grid .article-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Article card entrance (used by JS) */
.articles__grid .article-card {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.articles__grid .article-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hover Micro-interactions --- */

/* Nav link animated underline */
.nav__link {
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--green-primary);
  transition: width var(--duration-fast) var(--ease-out);
}

.nav__link:hover::after {
  width: 100%;
}

/* Subscribe button glow */
.btn-subscribe {
  position: relative;
  overflow: hidden;
}

.btn-subscribe::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 16px rgba(39, 103, 13, 0);
  transition: box-shadow 0.3s var(--ease-out);
}

.btn-subscribe:hover::before {
  box-shadow: 0 0 20px rgba(39, 103, 13, 0.3);
}

/* Social icon scale */
.nav__social a,
.footer__social a,
.nav__mobile-social a {
  transition: color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.nav__social a:hover,
.footer__social a:hover {
  transform: scale(1.12);
}

/* Testimonial card refined lift */
.testimonial-card {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  background: rgba(255, 255, 255, 0.12);
}

/* Article card refined lift */
.article-card {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              opacity 0.5s var(--ease-out);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

/* Category pill press */
.category-pill {
  transition: all var(--duration-fast) var(--ease-out), transform 0.1s ease;
}

.category-pill:active {
  transform: scale(0.96);
}

/* Reduced motion: respect user preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__role, .hero__cta, .hero__portrait { opacity: 1; transform: none; }
  .articles__grid .article-card { opacity: 1; transform: none; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {
  /* Nav */
  .nav__links,
  .nav__social {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: var(--space-12) var(--space-6);
  }

  .hero__portrait {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero__role h1,
  .hero__role h2 {
    font-size: var(--text-2xl);
  }

  .hero__role:first-child h1 {
    font-size: var(--text-3xl);
  }

  .hero__cta-text {
    font-size: var(--text-xl);
  }

  /* Testimonials */
  .testimonials {
    padding: var(--space-16) 0;
  }

  .testimonials__video {
    display: none;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: var(--space-6);
  }

  /* Blog */
  .blog-header {
    padding-top: calc(64px + var(--space-10));
    padding-bottom: var(--space-8);
    text-align: left;
  }

  .blog-header h1 {
    font-size: var(--text-3xl);
  }

  .blog-header__subtitle,
  .blog-header__intro {
    margin-left: 0;
    margin-right: 0;
  }

  .category-filter__inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-2);
    scrollbar-width: none;
  }

  .category-filter__inner::-webkit-scrollbar {
    display: none;
  }

  .articles__grid {
    grid-template-columns: 1fr;
  }

  .article-card__image {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .hero__role h1,
  .hero__role h2 {
    font-size: var(--text-xl);
  }

  .hero__role:first-child h1 {
    font-size: var(--text-2xl);
  }

  .hero__cta-text {
    font-size: var(--text-lg);
  }

  .testimonials__heading {
    font-size: var(--text-xl);
  }
}
