/* ============================================================
   shared.css — Christopher Kowal site — shared across all pages
   Design tokens, base styles, nav, footer, buttons, cta-strip
   ============================================================ */

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

:root {
  --teal:        #0d9488;
  --teal-dark:   #134e4a;
  --teal-mid:    #0f766e;
  --teal-light:  #ccfbf1;
  --teal-xlight: #f0fdfa;
  --ink:         #0c1a27;
  --ink-mid:     #334155;
  --ink-light:   #64748b;
  --bg:          #ffffff;
  --bg-soft:     #f8fafc;
  --border:      #e2e8f0;
  --font-serif:  'DM Serif Display', Georgia, serif;
  --font-sans:   'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono:   'Fira Code', 'Cascadia Code', monospace;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); font-size: 18px; line-height: 1.75; color: var(--ink); background: var(--bg); overflow-x: hidden; }

/* ── AVAILABILITY BANNER ── */
.avail-banner {
  background: var(--teal-xlight); border-bottom: 1px solid var(--teal-light);
  padding: 13px 60px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.avail-dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.avail-text { font-size: 0.9rem; font-weight: 600; color: var(--teal-dark); }
.avail-text a { color: var(--teal); text-decoration: none; font-weight: 700; }
.avail-text a:hover { text-decoration: underline; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 60px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: var(--font-sans); font-size: 1.28rem; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; display: flex; align-items: center; gap: 11px; }
.nav-logo span { color: var(--teal); }
.nav-logo img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid var(--teal-light); flex-shrink: 0; }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.92rem; font-weight: 600; color: var(--ink-mid); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; background: var(--teal); color: #fff;
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 700;
  border-radius: var(--radius-sm); text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; background: transparent; color: var(--teal);
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 700;
  border-radius: var(--radius-sm); border: 2px solid var(--teal);
  text-decoration: none; transition: all 0.2s;
}
.btn-secondary:hover { background: var(--teal-xlight); }

/* ── DARK CTA STRIP ── */
.cta-strip { background: var(--teal-dark); padding: 60px 60px; }
.cta-strip-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-strip h2 { font-family: var(--font-serif); font-size: clamp(1.7rem, 2.8vw, 2.4rem); color: #ffffff; line-height: 1.15; }
.cta-strip h2 em { font-style: italic; color: #99f6e4; }
.cta-strip p { font-size: 0.97rem; color: rgba(255,255,255,0.78); margin-top: 10px; }
.cta-strip-actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.btn-strip-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; background: #fff; color: var(--teal-dark);
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700;
  border-radius: var(--radius-sm); text-decoration: none; white-space: nowrap;
  transition: background 0.2s;
}
.btn-strip-primary:hover { background: var(--teal-xlight); }
.btn-strip-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; background: transparent; color: rgba(255,255,255,0.85);
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600;
  border-radius: var(--radius-sm); border: 1.5px solid rgba(255,255,255,0.3);
  text-decoration: none; white-space: nowrap; transition: border-color 0.2s, color 0.2s;
}
.btn-strip-secondary:hover { border-color: rgba(255,255,255,0.7); color: #fff; }

/* ── FOOTER ── */
footer { background: var(--ink); padding: 22px 60px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-brand { font-family: var(--font-sans); font-weight: 800; font-size: 1rem; color: #fff; letter-spacing: -0.02em; }
.footer-brand span { color: #99f6e4; }
.footer-tagline { font-size: 0.74rem; color: rgba(255,255,255,0.85); margin-top: 3px; font-style: italic; line-height: 1.5; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: #99f6e4; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.7); width: 100%; text-align: center; margin-top: 8px; }
