/* ============================================================
   style.css — Emma Vas · Global Stylesheet
   ============================================================ */

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

/* ── DESIGN TOKENS ── */
:root {
  --navy:       #0D1B2A;
  --navy-mid:   #162535;
  --navy-light: #1E3448;
  --amber:      #E8A045;
  --amber-light:#F2B865;
  --white:      #F7F4EF;
  --off-white:  #EDE9E2;
  --gray:       #8A9AB0;
  --gray-light: #C4CDD8;
  --text:       #1A2B3C;
  --text-mid:   #3D556A;
  --border:     rgba(13,27,42,0.1);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

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

/* ── FLASH MESSAGES ── */
.flash {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
  z-index: 9999; display: flex; align-items: center; gap: 16px;
  padding: 14px 24px; border-radius: 4px; font-size: 0.9rem; font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15); min-width: 300px;
}
.flash-success { background: #2d7a4a; color: #fff; }
.flash-error   { background: #c0392b; color: #fff; }
.flash-close   { background: none; border: none; color: inherit; font-size: 1.2rem; cursor: pointer; margin-left: auto; }

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 72px;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232,160,69,0.15);
}

.nav-logo {
  display: flex; align-items: baseline; gap: 3px;
  text-decoration: none;
}
.nav-logo-first {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 1.25rem; color: var(--white);
  letter-spacing: -0.5px;
}
.nav-logo-last {
  font-family: 'Playfair Display', serif;
  font-weight: 400; font-size: 1.25rem; color: var(--white);
  margin-left: 4px;
}

.nav-links {
  display: flex; gap: 32px; list-style: none;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 500;
  color: var(--gray-light); text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--amber); }

.nav-cta {
  background: var(--amber) !important;
  color: var(--navy) !important;
  padding: 8px 18px; border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--amber-light) !important; color: var(--navy) !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber); color: var(--navy);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em;
  padding: 14px 32px; border-radius: 4px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em;
  padding: 14px 32px; border-radius: 4px;
  border: 1px solid rgba(247,244,239,0.25);
  text-decoration: none; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary:hover { border-color: var(--amber); color: var(--amber); transform: translateY(-2px); }

.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  font-weight: 600; font-size: 0.9rem;
  padding: 14px 32px; border-radius: 4px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s; white-space: nowrap;
}
.btn-dark:hover { background: var(--navy-light); transform: translateY(-2px); }

.btn-amber-sm {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--amber); color: var(--navy);
  font-weight: 600; font-size: 0.82rem;
  padding: 10px 20px; border-radius: 3px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s;
}
.btn-amber-sm:hover { background: var(--amber-light); }

/* ══════════════════════════════════════════
   HERO GRID TEXTURE (reused everywhere)
══════════════════════════════════════════ */
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(232,160,69,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,160,69,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,69,0.08) 0%, transparent 70%);
  top: -100px; right: -150px; pointer-events: none;
}

/* ══════════════════════════════════════════
   SECTION COMMON
══════════════════════════════════════════ */
.section { padding: 96px 5vw; }
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::after {
  content: ''; display: block; height: 1px; width: 40px;
  background: var(--amber); opacity: 0.5;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700;
  color: var(--navy); line-height: 1.15; margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem; color: #5A7088;
  line-height: 1.7; max-width: 520px;
}
.section-marker {
  display: flex; align-items: center; gap: 12px;
  font-family: 'DM Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber);
  margin-bottom: 10px;
}
.section-marker::after { content: ''; flex: 1; height: 1px; background: rgba(232,160,69,0.25); }

/* ══════════════════════════════════════════
   HOME — HERO
══════════════════════════════════════════ */
.home-hero {
  min-height: 100vh; background: var(--navy);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 0;
  padding: 100px 5vw 80px; position: relative; overflow: hidden;
}
.hero-content {
  position: relative; z-index: 2;
  animation: fadeUp 0.9s ease both;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Mono', monospace; font-size: 0.75rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 28px;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--amber); }
.home-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 900;
  line-height: 1.05; color: var(--white);
  margin-bottom: 28px; letter-spacing: -1px;
}
.home-hero h1 em { font-style: italic; color: var(--amber); }
.hero-sub {
  font-size: 1.15rem; font-weight: 300; color: var(--gray-light);
  line-height: 1.75; max-width: 480px; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 48px;
  align-items: flex-end; justify-content: center;
  animation: fadeUp 1.1s 0.3s ease both;
  padding-left: 60px;
}
.stat-item { text-align: right; }
.stat-num {
  font-family: 'Playfair Display', serif; font-size: 3rem;
  font-weight: 700; color: var(--white); line-height: 1;
}
.stat-num span { color: var(--amber); }
.stat-label {
  font-size: 0.75rem; color: var(--gray);
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px;
}

/* ── HOME EXPERTISE ── */
.expertise-section { background: var(--off-white); }
.expertise-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px; margin-top: 56px; border: 2px solid var(--navy);
}
.expertise-card {
  background: var(--white); padding: 40px 36px;
  border-right: 2px solid var(--navy);
  transition: background 0.25s; position: relative; overflow: hidden;
}
.expertise-card:last-child { border-right: none; }
.expertise-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.expertise-card:hover { background: var(--navy); }
.expertise-card:hover::after { transform: scaleX(1); }
.expertise-card:hover .card-icon,
.expertise-card:hover .card-title { color: var(--white); }
.expertise-card:hover .card-desc  { color: var(--gray-light); }
.card-icon { font-size: 1.8rem; margin-bottom: 20px; display: block; transition: color 0.25s; }
.card-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; transition: color 0.25s; }
.card-desc { font-size: 0.88rem; color: #5A7088; line-height: 1.7; transition: color 0.25s; }

/* ── HOME BLOG ── */
.blog-section-home { background: var(--white); }
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; flex-wrap: wrap; gap: 20px; }
.view-all { font-size: 0.85rem; font-weight: 600; color: var(--navy); text-decoration: none; letter-spacing: 0.05em; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--navy); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; }
.view-all:hover { color: var(--amber); border-color: var(--amber); }
.blog-grid-home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── BLOG CARDS (shared) ── */
.blog-card {
  background: var(--off-white); border: 1px solid rgba(0,0,0,0.07);
  border-radius: 2px; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13,27,42,0.12); }
.blog-card-img {
  height: 200px; background: var(--navy);
  position: relative; overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(232,160,69,0.07) 0px, rgba(232,160,69,0.07) 1px,
    transparent 1px, transparent 18px
  );
}
.blog-card-img-placeholder::after {
  content: attr(data-category);
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(232,160,69,0.55);
  padding: 7px 14px;
  border: 1px solid rgba(232,160,69,0.25);
  border-radius: 2px;
  white-space: nowrap;
}
.img-gradient-1 { background: linear-gradient(135deg, #162535 0%, #0D1B2A 100%); }
.img-gradient-2 { background: linear-gradient(135deg, #0D1B2A 0%, #1A2B3C 100%); }
.img-gradient-3 { background: linear-gradient(135deg, #1A2B3C 0%, #112233 100%); }
.blog-card-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  display: inline-block; font-family: 'DM Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); background: rgba(232,160,69,0.1);
  padding: 4px 10px; border-radius: 2px; margin-bottom: 14px; width: fit-content;
}
.blog-card-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 12px; }
.blog-card-excerpt { font-size: 0.87rem; color: #5A7088; line-height: 1.7; flex: 1; }
.blog-card-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,0.08); display: flex; justify-content: space-between; align-items: center; }
.blog-date { font-size: 0.78rem; color: var(--gray); letter-spacing: 0.04em; }
.read-more { font-size: 0.78rem; font-weight: 600; color: var(--navy); letter-spacing: 0.06em; text-transform: uppercase; }
.blog-card:hover .read-more { color: var(--amber); }

/* ── TESTIMONIALS ── */
.testimonial-section { background: var(--navy); padding: 96px 5vw; }
.testimonial-section .section-title { color: var(--white); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 56px; }
.testimonial-card { background: var(--navy-light); border: 1px solid rgba(255,255,255,0.07); border-radius: 2px; padding: 36px; position: relative; }
.testimonial-card::before {
  content: '\201C'; font-family: 'Playfair Display', serif; font-size: 5rem;
  color: var(--amber); opacity: 0.3; position: absolute; top: 8px; left: 28px; line-height: 1;
}
.testimonial-text { font-size: 0.95rem; color: var(--gray-light); line-height: 1.8; margin-bottom: 24px; padding-top: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--amber); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; color: var(--navy); flex-shrink: 0; }
.author-name { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.author-title { font-size: 0.78rem; color: var(--gray); margin-top: 2px; }

/* ── CTA STRIP ── */
.cta-strip { background: var(--amber); padding: 72px 5vw; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 32px; }
.cta-strip-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 900; color: var(--navy); line-height: 1.1; }
.cta-strip-text p { font-size: 1rem; color: rgba(13,27,42,0.7); margin-top: 8px; }

/* ══════════════════════════════════════════
   PAGE HERO (about, contact, insights…)
══════════════════════════════════════════ */
.page-hero {
  background: var(--navy); padding: 144px 5vw 80px;
  position: relative; overflow: hidden;
}
.page-hero-content { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 40px; }
.page-hero-left { max-width: 620px; }
.page-eyebrow { font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.page-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--amber); }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 900; color: var(--white); line-height: 1.05; letter-spacing: -1px; margin-bottom: 20px; }
.page-hero h1 em { font-style: italic; color: var(--amber); }
.page-hero-desc { font-size: 1rem; font-weight: 300; color: var(--gray-light); line-height: 1.75; max-width: 480px; }
.page-hero-right { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }

/* ══════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════ */
.about-layout { display: grid; grid-template-columns: 280px 1fr; gap: 0; max-width: 1200px; margin: 0 auto; padding: 0 5vw; }
.sidebar { padding: 64px 40px 64px 0; border-right: 1px solid var(--border); position: relative; }
.sidebar-sticky { position: sticky; top: 96px; }
.sidebar-section { margin-bottom: 40px; }
.sidebar-label { font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.sidebar-nav { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav a { display: block; padding: 7px 0 7px 12px; font-size: 0.85rem; color: var(--text-mid); text-decoration: none; border-left: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.sidebar-nav a:hover, .sidebar-nav a.active { color: var(--navy); border-color: var(--amber); font-weight: 500; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tag { font-size: 0.72rem; font-weight: 500; background: var(--off-white); color: var(--text-mid); padding: 5px 10px; border-radius: 2px; border: 1px solid var(--border); cursor: default; transition: background 0.2s, color 0.2s; }
.skill-tag:hover { background: var(--navy); color: var(--white); }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-mid); }
.contact-list a { color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.contact-list a:hover { color: var(--amber); }
.contact-icon { color: var(--amber); font-size: 0.9rem; width: 16px; text-align: center; }
.main-content { padding: 64px 0 64px 56px; }
.content-section { margin-bottom: 72px; }
.section-heading { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: var(--navy); line-height: 1.15; }
.summary-text { font-size: 1.05rem; line-height: 1.85; color: var(--text-mid); border-left: 3px solid var(--amber); padding-left: 24px; }
.summary-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 36px; border: 1px solid var(--border); }
.metric-box { padding: 24px 28px; background: var(--off-white); border-right: 1px solid var(--border); text-align: center; }
.metric-box:last-child { border-right: none; }
.metric-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 900; color: var(--navy); line-height: 1; }
.metric-num span { color: var(--amber); }
.metric-label { font-size: 0.72rem; color: var(--gray); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; }

/* Timeline */
.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 0; width: 1px; background: var(--border); }
.timeline-item { padding-left: 32px; margin-bottom: 48px; position: relative; }
.timeline-dot { position: absolute; left: -6px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--white); border: 2px solid var(--amber); transition: background 0.2s; }
.timeline-item:hover .timeline-dot { background: var(--amber); }
.timeline-tag { display: inline-block; font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(232,160,69,0.1); color: var(--amber); padding: 3px 8px; border-radius: 2px; margin-bottom: 10px; }
.timeline-role { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.timeline-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.timeline-company { font-size: 0.88rem; font-weight: 600; color: var(--amber); }
.timeline-divider { width: 3px; height: 3px; border-radius: 50%; background: var(--gray); }
.timeline-period { font-family: 'DM Mono', monospace; font-size: 0.72rem; color: var(--gray); letter-spacing: 0.08em; }
.timeline-location { font-size: 0.78rem; color: var(--gray); }
.timeline-context { font-size: 0.88rem; font-style: italic; color: var(--text-mid); margin: 10px 0 14px; line-height: 1.6; }
.timeline-achievements { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.timeline-achievements li { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; padding-left: 18px; position: relative; }
.timeline-achievements li::before { content: '→'; position: absolute; left: 0; color: var(--amber); font-size: 0.75rem; top: 2px; }
.expertise-categories { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.expertise-cat { background: var(--off-white); border: 1px solid var(--border); padding: 24px; border-radius: 2px; border-top: 3px solid var(--amber); }
.expertise-cat-title { font-weight: 600; font-size: 0.85rem; color: var(--navy); margin-bottom: 12px; letter-spacing: 0.03em; }
.expertise-cat-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.exp-tag { font-size: 0.75rem; color: var(--text-mid); background: var(--white); padding: 4px 10px; border: 1px solid var(--border); border-radius: 2px; }
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.edu-card { background: var(--navy); padding: 32px; border-radius: 2px; position: relative; overflow: hidden; }
.edu-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--amber); }
.edu-degree { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; line-height: 1.3; }
.edu-school { font-size: 0.85rem; font-weight: 600; color: var(--amber); margin-bottom: 4px; }
.edu-location { font-size: 0.78rem; color: var(--gray); }

/* ══════════════════════════════════════════
   INSIGHTS / BLOG LISTING
══════════════════════════════════════════ */
.insights-hero { background: var(--navy); padding: 140px 5vw 64px; position: relative; overflow: hidden; }
.filter-bar { padding: 24px 5vw; background: var(--off-white); border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-btn { font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 16px; border-radius: 2px; border: 1px solid var(--border); background: var(--white); color: var(--text-mid); text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.filter-btn:hover, .filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.blog-grid-main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 64px 5vw; }
.pagination { padding: 0 5vw 64px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 2px; border: 1px solid var(--border); background: var(--white); color: var(--text-mid); text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: background 0.2s, color 0.2s; }
.page-btn:hover, .page-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.page-btn-text { width: auto; padding: 0 16px; }

/* ── SINGLE POST ── */
.post-hero { min-height: 340px; background: var(--navy); display: flex; align-items: flex-end; padding: 140px 5vw 48px; position: relative; overflow: hidden; }
.post-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.post-hero-content { position: relative; z-index: 2; max-width: 760px; }
.post-layout { max-width: 760px; margin: 0 auto; padding: 64px 5vw; }
.post-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 32px; }
.read-time { font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.1em; color: var(--gray); }
.post-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: var(--navy); line-height: 1.1; margin-bottom: 32px; }
.post-author { display: flex; align-items: center; gap: 14px; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.author-avatar-sm { width: 44px; height: 44px; border-radius: 50%; background: var(--amber); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; color: var(--navy); flex-shrink: 0; }
.author-info { font-size: 0.9rem; color: var(--text-mid); }
.author-info strong { color: var(--navy); }
.post-body { font-size: 1.05rem; line-height: 1.85; color: var(--text-mid); }
.post-body h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--navy); margin: 40px 0 16px; }
.post-body h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 32px 0 12px; }
.post-body p { margin-bottom: 20px; }
.post-body ul, .post-body ol { padding-left: 24px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.post-body blockquote { border-left: 3px solid var(--amber); padding: 16px 24px; margin: 24px 0; font-style: italic; color: var(--text-mid); background: var(--off-white); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.post-tag { font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; background: var(--off-white); color: var(--text-mid); border: 1px solid var(--border); text-decoration: none; }
.post-tag:hover { background: var(--navy); color: var(--white); }
.social-share { display: flex; gap: 12px; margin-top: 32px; align-items: center; }
.social-share-label { font-size: 0.8rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.1em; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 2px; border: 1px solid var(--border); background: var(--white); color: var(--text-mid); font-size: 0.8rem; font-weight: 500; text-decoration: none; transition: background 0.2s, color 0.2s; }
.share-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500; color: var(--text-mid); text-decoration: none; margin-bottom: 32px; transition: color 0.2s; }
.back-link:hover { color: var(--amber); }
.related-posts { background: var(--off-white); padding: 64px 5vw; }
.related-posts .section-title { margin-bottom: 36px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1fr 400px; gap: 64px; padding: 64px 5vw; max-width: 1100px; margin: 0 auto; }
.contact-form-wrap h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.contact-form-wrap .subtitle { font-size: 0.95rem; color: var(--text-mid); margin-bottom: 36px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; letter-spacing: 0.04em; }
.form-label .required { color: var(--amber); margin-left: 4px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border-radius: 3px;
  border: 1px solid var(--border); background: var(--white);
  color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232,160,69,0.12); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-error { font-size: 0.8rem; color: #c0392b; margin-top: 6px; display: block; }
.honeypot { display: none !important; }
.contact-sidebar-info { padding: 40px; background: var(--navy); border-radius: 2px; color: var(--white); }
.contact-sidebar-info h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 24px; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.contact-detail-icon { color: var(--amber); width: 18px; flex-shrink: 0; margin-top: 2px; }
.contact-detail-text { font-size: 0.88rem; color: var(--gray-light); line-height: 1.6; }
.contact-detail-text a { color: var(--amber); text-decoration: none; }
.contact-detail-text a:hover { color: var(--amber-light); }

/* ══════════════════════════════════════════
   GROUNDUP GTM
══════════════════════════════════════════ */
.gtm-logo-wrap { margin-bottom: 20px; }
.gtm-logo { display: inline-flex; align-items: baseline; gap: 4px; }
.gtm-logo .ground { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 2.5rem; color: var(--white); letter-spacing: -1px; }
.gtm-logo .up { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 2.5rem; color: var(--white); }
.gtm-logo .gtm-badge { font-family: 'DM Mono', monospace; font-weight: 500; font-size: 1rem; color: var(--amber); letter-spacing: 0.12em; margin-left: 10px; padding: 4px 10px; border: 1px solid rgba(232,160,69,0.5); border-radius: 3px; vertical-align: middle; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.who-card { background: var(--off-white); border: 1px solid var(--border); padding: 32px; border-radius: 2px; border-top: 3px solid var(--amber); }
.who-card-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.who-card-text { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.service-card { background: var(--white); border: 1px solid var(--border); padding: 32px; border-radius: 2px; position: relative; overflow: hidden; text-decoration: none; display: block; transition: transform 0.2s, box-shadow 0.2s; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(13,27,42,0.1); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { font-size: 1.8rem; margin-bottom: 16px; }
.service-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-desc { font-size: 0.85rem; color: var(--text-mid); line-height: 1.65; }
.case-studies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.case-study-card { background: var(--navy-light); border: 1px solid rgba(255,255,255,0.07); padding: 32px; border-radius: 2px; }
.case-tag { font-family: 'DM Mono', monospace; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.case-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.case-challenge { font-size: 0.85rem; color: var(--gray-light); line-height: 1.65; margin-bottom: 16px; }
.case-metric { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900; color: var(--amber); }

/* Services Detail Page */
.services-detail-list { padding: 64px 5vw; }
.service-detail-item { padding: 56px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.service-detail-item:last-child { border-bottom: none; }
.service-detail-label { font-family: 'DM Mono', monospace; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.service-detail-name { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.service-detail-desc { font-size: 1rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; }
.service-includes { font-size: 0.88rem; color: var(--text-mid); }
.service-includes strong { color: var(--navy); display: block; margin-bottom: 8px; }
.service-includes ul { list-style: none; display: flex; flex-direction: column; gap: 6px; padding-left: 0; }
.service-includes li { padding-left: 18px; position: relative; }
.service-includes li::before { content: '→'; position: absolute; left: 0; color: var(--amber); font-size: 0.75rem; }
.service-engagement { display: inline-block; font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); border: 1px solid var(--border); padding: 4px 12px; border-radius: 2px; margin-top: 16px; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
#site-footer { background: var(--navy); padding: 56px 5vw 32px; border-top: 2px solid var(--amber); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 32px; }
.footer-brand-wordmark { font-family: 'Playfair Display', serif; }
.footer-first { font-weight: 900; font-size: 1.4rem; color: var(--white); }
.footer-last { font-weight: 400; font-size: 1.4rem; color: var(--white); margin-left: 4px; }
.footer-tagline { font-size: 0.85rem; color: var(--gray); margin-top: 10px; max-width: 240px; line-height: 1.6; }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-nav-group h4 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.footer-nav-group ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav-group a { font-size: 0.85rem; color: var(--gray); text-decoration: none; transition: color 0.2s; }
.footer-nav-group a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 0.78rem; color: var(--gray); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.78rem; color: var(--gray); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }

/* ══════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .blog-grid-home, .blog-grid-main, .related-grid { grid-template-columns: 1fr 1fr; }
  .case-studies-grid { grid-template-columns: 1fr 1fr; }
  .service-detail-item { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 860px) {
  .about-layout { grid-template-columns: 1fr; }
  .sidebar { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 0; }
  .sidebar-sticky { position: static; }
  .main-content { padding: 48px 0; }
  .expertise-categories, .edu-grid { grid-template-columns: 1fr; }
  .summary-metrics { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 72px 0 0 0; background: var(--navy); padding: 40px 5vw; gap: 0; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links a { padding: 16px 0; font-size: 1rem; }
  .nav-hamburger { display: flex; }
  .blog-grid-home, .blog-grid-main, .related-grid { grid-template-columns: 1fr; }
  .home-hero { grid-template-columns: 1fr; padding-bottom: 60px; }
  .hero-stats { flex-direction: row; align-items: flex-start; padding-left: 0; gap: 32px; flex-wrap: wrap; }
  .stat-item { text-align: left; }
  .case-studies-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .expertise-grid { grid-template-columns: 1fr; border: none; gap: 2px; }
  .expertise-card { border-right: none; border-bottom: 2px solid var(--navy); }
  .summary-metrics { grid-template-columns: 1fr; }
  .page-hero-right { align-items: flex-start; }
}
