/* ============================================================
   Shared stylesheet — Keith Minolteo site
   Used by index.html, insights.html, and every blog post page.
   Edit colors/fonts here once and it updates everywhere.
   ============================================================ */

:root{
  --sky: #4E96C7;
  --sky-deep: #2E6E9E;
  --leaf: #3E6B2C;
  --leaf-deep: #2A4A1E;
  --field: #6E9E3F;
  --gold: #E4A93B;
  --gold-deep: #C98A22;
  --earth: #6B4A30;
  --cream: #FBF6EA;
  --cream-2: #F3ECDA;
  --ink: #24291F;
  --muted: #5B6350;
  --line: rgba(36,41,31,0.12);
  --gold-dim: rgba(228,169,59,0.16);
  --radius: 4px;
}
*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
h1,h2,h3, .display{
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mono{ font-family: 'IBM Plex Mono', monospace; }
a{ color: inherit; text-decoration: none; }
::selection{ background: var(--gold-dim); color: var(--gold-deep); }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.wrap{ max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---------- NAV ---------- */
header{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  background: rgba(251,246,234,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav.wrap{ display:flex; align-items:center; justify-content:space-between; height: 68px; }
.logo{ font-family:'Fraunces',serif; font-weight:700; font-size:18px; letter-spacing: 0.01em; color: var(--leaf-deep); transition: opacity .2s; display:inline-flex; align-items:center; gap:9px; }
.logo:hover{ opacity:0.75; }
.logo img{ width:30px; height:30px; display:block; }
.logo span{ color: var(--gold-deep); }
.navlinks{ display:flex; gap: 32px; align-items:center; }
.navlinks a{ font-size: 13px; color: var(--muted); font-family:'IBM Plex Mono',monospace; letter-spacing:0.03em; text-transform:uppercase; transition: color .2s; }
.navlinks a:hover{ color: var(--leaf-deep); }
.navlinks a.active{ color: var(--leaf-deep); }
.navlinks .cta{
  border: 1px solid var(--gold-deep); color: var(--gold-deep); padding: 8px 16px; border-radius: var(--radius);
}
.navlinks .cta:hover{ background: var(--gold-deep); color: var(--cream); }
.navtoggle{ display:none; background:none; border:none; color:var(--ink); font-size:22px; cursor:pointer; }

@media (max-width: 780px){
  .navlinks{ position:fixed; top:68px; left:0; right:0; background: var(--cream); flex-direction:column; align-items:flex-start; padding: 24px 32px; border-bottom:1px solid var(--line); transform: translateY(-8px); opacity:0; pointer-events:none; transition: .2s; }
  .navlinks.open{ transform:none; opacity:1; pointer-events:auto; }
  .navtoggle{ display:block; }
}

/* ---------- SECTION SHARED ---------- */
section{ padding: 72px 0 32px; position:relative; }
.section-label{
  font-family:'IBM Plex Mono',monospace; font-size:12px; color: var(--leaf); letter-spacing:0.14em; text-transform:uppercase;
  display:flex; align-items:center; gap:12px; margin-bottom: 18px;
}
.section-label::before{ content:''; width: 28px; height:1px; background: var(--leaf); }
.section-title{ font-size: clamp(26px, 3.4vw, 38px); max-width: 640px; margin-bottom: 20px; color: var(--leaf-deep); }
.section-sub{ color: var(--muted); max-width: 620px; font-size: 15.5px; margin-bottom: 42px; }

/* ---------- BUTTONS ---------- */
.btn{
  font-family:'IBM Plex Mono',monospace; font-size:13px; letter-spacing:0.03em; text-transform:uppercase;
  padding: 14px 26px; border-radius: var(--radius); display:inline-flex; align-items:center; gap:10px;
  transition: transform .2s, background .2s, border-color .2s, color .2s; cursor:pointer; border: none;
}
.btn-primary{ background: var(--gold); color: var(--leaf-deep); font-weight:600; }
.btn-primary:hover{ transform: translateY(-2px); background: #f0bb5e; }
.btn-ghost{ border:1px solid var(--line); color: var(--ink); }
.btn-ghost:hover{ border-color: var(--gold-deep); color: var(--gold-deep); transform: translateY(-2px); }
.btn-ghost-light{ border:1px solid rgba(255,255,255,0.5); color:#FDFBF4; }
.btn-ghost-light:hover{ border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ---------- FOOTER ---------- */
footer{ border-top:1px solid var(--line); padding: 32px 0; background: var(--cream-2); }
footer .wrap{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
footer p{ font-family:'IBM Plex Mono',monospace; font-size:12px; color: var(--muted); }
footer a:hover{ color: var(--gold-deep); }

/* ---------- SCROLL REVEAL ---------- */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show{ opacity:1; transform:none; }

/* ---------- SIMPLE PAGE HEADER (used by non-hero pages like Insights) ---------- */
.page-header{
  padding: 150px 0 70px; background: var(--cream-2); border-bottom: 1px solid var(--line);
}
.page-header .section-label{ margin-bottom: 18px; }
.page-header h1{ font-size: clamp(32px, 5vw, 54px); color: var(--leaf-deep); max-width: 780px; margin-bottom:16px; }
.page-header p{ color: var(--muted); max-width: 600px; font-size: 16px; }

/* ---------- FLOATING WHATSAPP BUTTON ---------- */
.whatsapp-float{
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover{ transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.32); }
.whatsapp-float svg{ width: 28px; height: 28px; }
@media (max-width: 480px){
  .whatsapp-float{ width: 50px; height: 50px; bottom: 18px; right: 18px; }
  .whatsapp-float svg{ width: 25px; height: 25px; }
}
