:root {
  --blue: #305CDE;
  --blue-deep: #1E5EFF;
  --blue-light: #B8CFFF;
  --blue-subtle: #EEF3FF;
  --dark: #111827;
  --dark-mid: #1C2A3F;
  --text: #1F2937;
  --text-mid: #4B5563;
  --text-soft: #9CA3AF;
  --white: #FFFFFF;
  --off-white: #FAFCFE;
  --border: #E5E7EB;
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1080px;
  --content-w: 680px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}
a { color: var(--blue-deep); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
}
.nav-links a:hover { color: var(--blue-deep); }
.nav-links a.active { color: var(--blue-deep); }
.nav-sub {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}
.nav-sub:hover {
  background: var(--blue-deep) !important;
  color: var(--white) !important;
}
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); margin: 5px 0; border-radius: 2px;
}

/* HERO */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(170deg, var(--dark) 0%, var(--dark-mid) 50%, #1A3B5C 100%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--white), transparent);
}
.hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 94, 255, 0.1), transparent 70%);
  top: 10%; right: 5%;
  filter: blur(40px);
}
.hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.hero-btn:hover {
  background: var(--blue-deep);
  color: var(--white);
  transform: translateY(-1px);
}

/* PAGE HEADER (for inner pages) */
.page-header {
  padding: 8rem 2rem 3rem;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}
.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.page-header p {
  margin-top: 0.75rem;
  color: var(--text-mid);
  font-size: 1rem;
  max-width: 520px;
}

/* LATEST POST */
.latest {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 2rem;
}
.latest-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}
.latest-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

/* POST CARDS */
.post-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.post-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.post-card-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--dark-mid), #2A4A6B);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card-img svg { opacity: 0.15; }
.post-card-body {
  padding: 2.5rem 2.5rem 2.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.post-card-date {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 0.75rem;
}
.post-card-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.post-card-excerpt {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.post-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-deep);
}
.post-card-link:hover { color: var(--blue); }

/* BLOG GRID */
.blog-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
  color: inherit;
}
.blog-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--dark-mid), #2A4A6B);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-img svg { opacity: 0.15; }
.blog-card-body { padding: 1.5rem; }
.blog-card-date {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.blog-card-excerpt {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* BLOG POST (single post page) */
.post-content {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.post-meta {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.post-content h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}
.post-content h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}
.post-content p {
  margin-bottom: 1.5rem;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.85;
}
.post-content blockquote {
  border-left: 3px solid var(--blue);
  padding: 0.75rem 1.5rem;
  margin: 2rem 0;
  background: var(--blue-subtle);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.post-content blockquote p {
  color: var(--text);
  font-style: italic;
  margin-bottom: 0;
}
.post-nav {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.post-nav a {
  font-size: 0.88rem;
  font-weight: 600;
}

/* AD SLOT */
.ad-slot {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.ad-slot-inner {
  background: var(--off-white);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.78rem;
}

/* NEWSLETTER */
.newsletter {
  background: var(--dark);
  padding: 5rem 2rem;
  margin-top: 4rem;
}
.newsletter.no-margin { margin-top: 0; }
.newsletter-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.newsletter h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.newsletter p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.newsletter-form {
  display: flex;
  gap: 0.6rem;
  max-width: 420px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: var(--white);
  font-size: 0.88rem;
  font-family: var(--sans);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form input:focus { border-color: var(--blue); }
.newsletter-form button {
  padding: 0.75rem 1.5rem;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--blue-deep); }
.newsletter-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ABOUT */
.about {
  background: var(--off-white);
  border-top: 1px solid var(--border);
}
.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--dark-mid), #2A4A6B);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-photo svg { opacity: 0.15; }
.about-text h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.about-text p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 0.75rem;
}

/* ABOUT PAGE (full page version) */
.about-full {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}
.about-full-photo {
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, var(--dark-mid), #2A4A6B);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.about-full-photo svg { opacity: 0.15; }
.about-full p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

/* PICKS / AFFILIATE */
.picks {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 2rem;
}
.picks-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}
.picks-title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2rem;
}
.picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}
.pick-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.pick-card:hover { border-color: var(--blue-light); }
.pick-card h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.pick-card p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.pick-card a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-deep);
}
.picks-disc {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.72rem;
  color: var(--text-soft);
  font-style: italic;
}

/* FOOTER */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.45);
  padding: 3.5rem 2rem 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--blue); color: var(--white); }
.footer-heading {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-links a:hover { color: var(--blue); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
}

/* SCROLL TOP */
.scroll-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 40px; height: 40px;
  background: var(--blue); color: var(--white);
  border: none; border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.2s;
  z-index: 50;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--blue-deep); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
  }
  .hero { min-height: 65vh; }
  .hero-content { padding: 6rem 1.5rem 4rem; }
  .post-card { grid-template-columns: 1fr; }
  .post-card-body { padding: 1.75rem; }
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { aspect-ratio: 16/9; max-width: 320px; }
  .newsletter-form { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .blog-grid { grid-template-columns: 1fr; }
}
