/* Don Wood IP - Colorful Site Styles */
:root {
  --deep: #0a2540;
  --teal: #00c9b1;
  --orange: #ff6b35;
  --gold: #ffd166;
  --purple: #7b2cbf;
  --light: #f8f9fa;
  --text: #1a1a1a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f0fe 100%);
  line-height: 1.6;
}
nav {
  background: var(--deep);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.logo { font-size: 1.5rem; font-weight: 700; }
.logo span { color: var(--teal); }
nav ul { display: flex; list-style: none; gap: 1.5rem; }
nav a { color: white; text-decoration: none; font-weight: 500; transition: color 0.3s; }
nav a:hover { color: var(--gold); }

.hero {
  background: linear-gradient(135deg, var(--deep) 0%, var(--purple) 50%, var(--orange) 100%);
  color: white;
  text-align: center;
  padding: 8rem 5% 6rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}
.tagline { font-size: 1.4rem; margin-bottom: 2rem; opacity: 0.95; }
.cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn.primary { background: var(--teal); color: var(--deep); }
.btn.secondary { background: var(--gold); color: var(--deep); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

section { padding: 4rem 5%; max-width: 1200px; margin: 0 auto; }
h2 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--deep);
}
.focus-grid, .links, .patent-grid, .book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card, .link-card, .patent-card, .book-card {
  background: white;
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 5px solid var(--teal);
}
.card:nth-child(2) { border-top-color: var(--orange); }
.card:nth-child(3) { border-top-color: var(--purple); }
.card:hover, .link-card:hover, .patent-card:hover, .book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.link-card {
  display: block;
  text-decoration: none;
  color: var(--deep);
  text-align: center;
  font-weight: 600;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  color: white;
  border: none;
}
.patent-card h3, .book-card h3 { color: var(--deep); margin-bottom: 0.5rem; }
.patent-card a, .book-card a { color: var(--purple); font-weight: 600; text-decoration: none; }
.patent-card a:hover, .book-card a:hover { text-decoration: underline; }

footer {
  background: var(--deep);
  color: white;
  text-align: center;
  padding: 2rem 5%;
  margin-top: 3rem;
  font-size: 0.9rem;
}
footer p { margin: 0.3rem 0; opacity: 0.85; }

.bio-content, .blog-post {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  max-width: 800px;
  margin: 0 auto;
}
.bio-content p, .blog-post p { margin-bottom: 1rem; }
.highlight { color: var(--orange); font-weight: 600; }

@media (max-width: 768px) {
  nav { flex-direction: column; gap: 1rem; }
  nav ul { flex-wrap: wrap; justify-content: center; }
  .hero { padding: 5rem 5% 4rem; }
}