/* ============================================
   DANIELCHURCH.COM — Stylesheet
   Theme: Dark, Corporate meets Creative
   ============================================ */

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

:root {
  /* Colors */
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1525;
  --bg-tertiary: #141b2d;
  --bg-card: rgba(20, 27, 45, 0.6);
  --bg-card-hover: rgba(20, 27, 45, 0.8);
  --bg-glass: rgba(15, 21, 37, 0.7);
  
  --text-primary: #e8eaed;
  --text-secondary: #9aa0ab;
  --text-tertiary: #6b7280;
  
  --accent-primary: #3b82f6;
  --accent-secondary: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-teal: #14b8a6;
  
  --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --gradient-secondary: linear-gradient(135deg, #06b6d4, #3b82f6);
  --gradient-text: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
  
  --border-color: rgba(59, 130, 246, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.06);
  
  --glow-primary: rgba(59, 130, 246, 0.15);
  --glow-secondary: rgba(139, 92, 246, 0.15);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Spacing */
  --section-padding: 80px;
  --container-max: 1200px;
  --container-wide: 1400px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

/* --- Section --- */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  margin-bottom: 40px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--accent-primary);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-subtitle {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
}

/* --- Gradient Text --- */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px var(--glow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  background: var(--glow-primary);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 20px !important;
  background: var(--gradient-primary) !important;
  color: white !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--glow-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background: url('../assets/background.jpg') center/cover no-repeat;
  transform: scale(1.1);
  transition: transform 20s ease;
}

.hero-bg-image.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0.4) 0%,
    rgba(10, 14, 26, 0.7) 50%,
    rgba(10, 14, 26, 0.95) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-cyan);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 16px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-name {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-tertiary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   ABOUT
   ============================================ */
.about-section {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 2px solid var(--border-subtle);
}

.about-image-accent {
  position: absolute;
  top: -12px;
  right: -12px;
  bottom: 12px;
  left: 12px;
  border: 2px solid var(--accent-primary);
  border-radius: var(--radius-xl);
  opacity: 0.3;
  z-index: -1;
}

.about-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-cyan);
  padding: 6px 14px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* ============================================
   EXPERIENCE / TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -46px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 0 4px var(--glow-primary);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.timeline-content:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color);
  transform: translateX(4px);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.company-name {
  font-size: 1.3rem;
  font-weight: 700;
}

.company-role {
  display: block;
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-top: 2px;
}

.company-acquired {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  font-style: italic;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.timeline-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.highlight {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-secondary);
  padding: 4px 12px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 100px;
  letter-spacing: 0.03em;
}

/* ============================================
   PATENTS
   ============================================ */
.patents-section {
  background: var(--bg-secondary);
}

.patents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 24px;
}

.patent-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.patent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.patent-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.patent-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.patent-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-primary);
}

.patent-number {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 8px;
}

.patent-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.patent-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.patent-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.patent-coinventors {
  font-size: 13px;
  color: var(--text-tertiary);
  font-style: italic;
}

/* ============================================
   AWARDS
   ============================================ */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.award-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition-base);
}

.award-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color);
  transform: translateY(-4px);
}

.award-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.award-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.award-org {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.award-year {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-primary);
  font-weight: 600;
}

/* ============================================
   SPEAKING
   ============================================ */
.speaking-section {
  background: var(--bg-secondary);
}

.speaking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.category-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 10px;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-primary);
}

.speaking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.speaking-item {
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.speaking-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color);
}

.speaking-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.speaking-topic {
  font-size: 13px;
  color: var(--text-tertiary);
}

.media-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.media-logo {
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.media-logo:hover {
  color: var(--text-primary);
  border-color: var(--border-color);
}

/* ============================================
   BEYOND
   ============================================ */
.beyond-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.beyond-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-base);
}

.beyond-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color);
  transform: translateY(-2px);
}

.beyond-card-featured {
  grid-column: 1 / -1;
}

.beyond-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.beyond-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.beyond-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.beyond-note {
  margin-top: 16px !important;
  font-style: italic;
  color: var(--text-tertiary) !important;
  font-size: 13px !important;
}

/* AI Stack */
.ai-stack {
  margin-top: 20px;
  margin-bottom: 16px;
}

.ai-server {
  background: rgba(10, 14, 26, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ai-server-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(59, 130, 246, 0.05);
  border-bottom: 1px solid var(--border-subtle);
}

.ai-server-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-primary);
}

.ai-status {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-teal);
}

.ai-specs {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.ai-spec-label {
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  min-width: 100px;
}

.ai-spec-value {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  text-align: right;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
  background: var(--bg-secondary);
}

.contact-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.contact-inner p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.contact-link:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color);
  transform: translateY(-2px);
}

.contact-link svg {
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-back {
  color: var(--accent-primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-back:hover {
  color: var(--text-primary);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }
  
  .about-grid {
    grid-template-columns: 240px 1fr;
    gap: 40px;
  }
  
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .speaking-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .patents-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .about-image-wrapper {
    max-width: 240px;
    margin: 0 auto;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  
  .awards-grid {
    grid-template-columns: 1fr;
  }
  
  .beyond-grid {
    grid-template-columns: 1fr;
  }
  
  .beyond-card-featured {
    grid-column: auto;
  }
  
  .contact-links {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .patents-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    padding-left: 24px;
  }
  
  .timeline-marker {
    left: -30px;
    width: 12px;
    height: 12px;
  }
  
  .timeline-content {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .patent-card {
    padding: 24px;
  }
  
  .media-logos {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background: rgba(59, 130, 246, 0.3);
  color: var(--text-primary);
}
