/* ============================================================
   DISCOVER METHOD — style.css
   Aesthetic: Earthy editorial — ink, paper, forest green
   Fonts: Playfair Display (headings) + Source Serif 4 (body)
   ============================================================ */

:root {
  --ink:       #1a1a18;
  --forest:    #0f4c35;
  --moss:      #2d6a4f;
  --sage:      #74c69d;
  --paper:     #f7f3ed;
  --cream:     #faf8f4;
  --amber:     #e9a825;
  --rust:      #c1440e;
  --muted:     #6b6560;
  --border:    #ddd8d0;
  --white:     #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --font-mono:    'JetBrains Mono', monospace;

  --shadow-sm: 0 1px 3px rgba(26,26,24,.08);
  --shadow-md: 0 4px 16px rgba(26,26,24,.10);
  --shadow-lg: 0 12px 40px rgba(26,26,24,.14);

  --radius:    6px;
  --radius-lg: 14px;
  --max-w:     1120px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; transition: color .2s; }
a:hover { color: var(--moss); }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--ink);
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1.2rem; }

.label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Header / Navigation ───────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  white-space: nowrap;
}
.logo:hover { color: var(--forest); }
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--forest);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-text strong { color: var(--forest); }

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  display: block;
  padding: 8px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .95rem;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  background: var(--paper);
  color: var(--forest);
}

.nav-cta {
  background: var(--forest) !important;
  color: var(--cream) !important;
  border-radius: 20px !important;
  padding: 8px 18px !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--moss) !important; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 200;
}
.dropdown li a {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: .9rem;
}
.has-dropdown:hover .dropdown { display: flex; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ─── Hero Section ──────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--forest) 0%, var(--moss) 60%, #1b5e40 100%);
  color: var(--cream);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(233,168,37,.08) 0%, transparent 40%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-label {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--cream);
  margin-bottom: 20px;
  font-size: clamp(2rem, 5vw, 3.6rem);
}
.hero h1 em {
  color: var(--amber);
  font-style: italic;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(247,243,237,.8);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.stat-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--amber);
  display: block;
}
.stat-label {
  font-size: .82rem;
  color: rgba(247,243,237,.75);
  margin-top: 4px;
}

/* Hero graphic side */
.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-stack {
  position: relative;
  width: 320px;
  height: 340px;
}
.hero-card {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(8px);
}
.hero-card:nth-child(1) { top: 0; left: 20px; width: 260px; transform: rotate(-3deg); }
.hero-card:nth-child(2) { top: 40px; left: 0; width: 280px; transform: rotate(1.5deg); z-index: 2; }
.hero-card:nth-child(3) { top: 80px; left: 30px; width: 270px; z-index: 3; }
.hero-card-icon { font-size: 1.8rem; margin-bottom: 8px; }
.hero-card-title { color: var(--cream); font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.hero-card-desc { color: rgba(247,243,237,.7); font-size: .82rem; margin-top: 4px; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: #d99a1f;
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(233,168,37,.35);
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  color: var(--cream);
  border-color: rgba(255,255,255,.7);
}
.btn-green {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.btn-green:hover {
  background: var(--moss);
  color: var(--cream);
  transform: translateY(-1px);
}
.btn-sm { padding: 8px 18px; font-size: .88rem; }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }

/* ─── Section scaffolding ───────────────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--paper); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header .label { margin-bottom: 12px; display: block; }
.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 12px 0 0;
}

/* ─── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-body { padding: 24px; }
.card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-category {
  display: inline-block;
  background: var(--paper);
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--ink);
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--forest); }
.card-excerpt { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: .8rem;
  color: var(--muted);
  font-family: var(--font-mono);
}
.card-meta time { }

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* ─── Tool Cards ─────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.tool-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage);
}
.tool-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.tool-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.tool-card p {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.tool-badge {
  display: inline-block;
  background: #e8f5e9;
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ─── Feature list (homepage) ───────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-item { text-align: center; }
.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--forest);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}
.feature-item h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-item p { font-size: .9rem; color: var(--muted); }

/* ─── Topic Clusters ────────────────────────────────────── */
.clusters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.cluster-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color .2s, background .2s;
}
.cluster-card:hover {
  border-color: var(--forest);
  background: var(--paper);
}
.cluster-card .cluster-icon { font-size: 1.8rem; margin-bottom: 12px; }
.cluster-card h3 { font-size: 1rem; margin-bottom: 6px; }
.cluster-card p { font-size: .82rem; color: var(--muted); margin: 0; }
.cluster-card a {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
}
.cluster-card { position: relative; }

/* ─── CTA Banner ────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--forest), var(--moss));
  color: var(--cream);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '◎';
  position: absolute;
  font-size: 20rem;
  opacity: .04;
  top: -50px;
  right: -80px;
  line-height: 1;
  font-family: var(--font-display);
}
.cta-banner h2 { color: var(--cream); margin-bottom: 16px; }
.cta-banner p { color: rgba(247,243,237,.8); max-width: 520px; margin: 0 auto 32px; }

/* ─── Newsletter Form ───────────────────────────────────── */
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 18px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 30px;
  background: rgba(255,255,255,.12);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.newsletter-form input::placeholder { color: rgba(247,243,237,.5); }
.newsletter-form input:focus { border-color: var(--sage); }

/* ─── Blog Single Post ──────────────────────────────────── */
.single-post { padding: 48px 0 80px; }
.post-header { margin-bottom: 32px; }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--forest); }

.author-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 20px 0;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.author-credential {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--forest);
  margin-left: 8px;
}
.read-time {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--muted);
}

.featured-image {
  margin: 32px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.featured-image img { width: 100%; height: auto; }

/* TOC */
.toc-box {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--forest);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 32px 0;
}
.toc-box h2 {
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
#toc-list a {
  display: block;
  padding: 4px 0;
  font-size: .9rem;
  color: var(--forest);
  border-bottom: 1px solid var(--border);
}
#toc-list a:last-child { border-bottom: none; }

/* Post content */
.post-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.8;
}
.post-content h2 { margin: 2rem 0 1rem; }
.post-content h3 { margin: 1.5rem 0 .75rem; }
.post-content ul, .post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
  list-style: disc;
}
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: .5rem; }
.post-content blockquote {
  border-left: 4px solid var(--amber);
  padding: 16px 20px;
  background: var(--paper);
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--muted);
}
.post-content code {
  font-family: var(--font-mono);
  background: var(--paper);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .88em;
}
.post-content pre {
  background: var(--ink);
  color: #e0e0d8;
  padding: 20px;
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: 24px 0;
}
.post-content pre code { background: none; padding: 0; color: inherit; }

/* Related posts */
.related-posts {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1.5px solid var(--border);
}
.related-posts h3 { margin-bottom: 20px; }
.related-links { display: flex; flex-direction: column; gap: 10px; }
.related-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: .93rem;
  transition: border-color .2s, background .2s;
}
.related-links a::before { content: '→'; color: var(--forest); flex-shrink: 0; }
.related-links a:hover { background: var(--white); border-color: var(--forest); }

/* FAQ Section */
.faq-section { margin-top: 48px; }
.faq-section h2 { margin-bottom: 24px; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--paper);
}
.faq-question::after { content: '+'; color: var(--forest); font-size: 1.3rem; }
.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .2s;
  font-size: .95rem;
  color: var(--muted);
}
.faq-item.open .faq-answer { max-height: 400px; padding: 16px 22px; }
.faq-item.open .faq-question::after { content: '−'; }

/* ─── Tool Pages ─────────────────────────────────────────── */
.tool-page-hero {
  background: var(--paper);
  border-bottom: 1.5px solid var(--border);
  padding: 48px 0 40px;
  text-align: center;
}
.tool-page-hero h1 { margin-bottom: 12px; }
.tool-page-hero p { color: var(--muted); max-width: 480px; margin: 0 auto; }

.tool-container {
  max-width: 640px;
  margin: 48px auto;
  padding: 0 20px 80px;
}

/* Pomodoro */
.timer-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.timer-display {
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 16vw, 6.5rem);
  font-weight: 500;
  color: var(--forest);
  line-height: 1;
  margin: 24px 0;
  letter-spacing: .04em;
}
.timer-mode {
  font-family: var(--font-mono);
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.timer-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.timer-btn {
  padding: 12px 24px;
  border-radius: 30px;
  border: 2px solid var(--forest);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.timer-btn-primary {
  background: var(--forest);
  color: var(--cream);
}
.timer-btn-primary:hover { background: var(--moss); }
.timer-btn-secondary {
  background: transparent;
  color: var(--forest);
}
.timer-btn-secondary:hover { background: var(--paper); }
.session-count {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--muted);
}

/* Study Planner */
.planner-form {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--forest); }

.plan-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.plan-item.priority-high { border-left: 4px solid var(--rust); }
.plan-item.priority-medium { border-left: 4px solid var(--amber); }
.plan-item.priority-low { border-left: 4px solid var(--sage); }
.plan-item time { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.plan-item strong { flex: 1; }
.plan-item button {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.plan-item button:hover { color: var(--rust); background: #fef0ec; }

/* ─── Contact Page ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--muted); }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-detail strong { display: block; font-size: .9rem; margin-bottom: 2px; }
.contact-detail span { font-size: .9rem; color: var(--muted); }

.contact-form {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-group-full { margin-bottom: 18px; }
.form-success {
  background: #e8f5e9;
  border: 1.5px solid var(--sage);
  color: var(--forest);
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: .9rem;
}
.form-error {
  background: #fef0ec;
  border: 1.5px solid #e57373;
  color: var(--rust);
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: .9rem;
}

/* ─── Blog Listing ───────────────────────────────────────── */
.blog-hero {
  background: var(--paper);
  border-bottom: 1.5px solid var(--border);
  padding: 48px 0;
}
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}
.blog-sidebar { position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--border);
}
.sidebar-widget ul li a {
  display: block;
  padding: 8px 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-widget ul li:last-child a { border-bottom: none; }

/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: .85rem;
  transition: all .2s;
}
.pagination a:hover { border-color: var(--forest); color: var(--forest); }
.pagination .current { background: var(--forest); color: var(--cream); border-color: var(--forest); }

/* ─── About Page ─────────────────────────────────────────── */
.about-hero { padding: 60px 0; background: var(--paper); border-bottom: 1.5px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.team-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
}
.team-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--border);
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role { font-family: var(--font-mono); font-size: .72rem; color: var(--forest); text-transform: uppercase; letter-spacing: .1em; }
.team-card p { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(247,243,237,.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo { color: var(--cream); margin-bottom: 16px; }
.footer-brand .logo-icon { background: var(--moss); }
.footer-brand .logo-text { color: var(--cream); }
.footer-brand .logo-text strong { color: var(--sage); }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  color: rgba(247,243,237,.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--forest); color: var(--cream); }
.footer-col h3 {
  color: var(--cream);
  font-size: .8rem;
  font-family: var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(247,243,237,.6);
  font-size: .88rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--sage); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-address { color: rgba(247,243,237,.4); }
.footer-address a { color: rgba(247,243,237,.5); }

/* ─── Utilities ──────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }

/* Alert / Notice */
.notice {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-bottom: 20px;
  border-left: 4px solid;
}
.notice-info { background: #e3f2fd; border-color: #1976d2; color: #0d47a1; }
.notice-success { background: #e8f5e9; border-color: var(--sage); color: var(--forest); }
.notice-warn { background: #fff8e1; border-color: var(--amber); color: #7d5a00; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1.5px solid var(--border);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    z-index: 50;
  }
  .nav-menu.active { display: block; }
  .nav-menu ul { flex-direction: column; gap: 4px; }
  .nav-menu ul li { width: 100%; }
  .dropdown { position: static; box-shadow: none; border: none; padding-left: 16px; display: flex; }
  .has-dropdown:hover .dropdown { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .timer-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 60px; }
  .section { padding: 48px 0; }
  .hero-stats { grid-template-columns: 1fr; }
  .clusters-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── Print ──────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .toc-box, .related-posts, .cta-banner { display: none; }
  .post-content { max-width: 100%; }
}
