/* PlainTalkProjects — shared styles
 *
 * Every rule here was identical (ignoring whitespace) across all pages
 * that used it. Page-specific and drifted rules stay in each page's own
 * <style> block, which loads after this file and therefore still wins on
 * equal specificity.
 */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #EFEFEC; --text: #141412; --muted: #6B6B67;
  --lime: #C9DA4E; --orange: #E8621A; --blue: #4B7BE5; --white: #FFFFFF;
  --gutter: 48px;
}
body { font-family: 'Inter', sans-serif; background-color: var(--bg); color: var(--text); }
a { color: inherit; }

/* NAV */
nav { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gutter); position: sticky; top: 0; background-color: var(--bg); z-index: 100; border-bottom: 1px solid rgba(0,0,0,0.06); }
.logo-block { display: flex; flex-direction: column; }
.logo-brand { font-size: 10px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links a.current { color: var(--text); }
.btn-nav { background-color: var(--text); color: var(--white) !important; padding: 9px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; }

/* HERO (compact, consistent header) */
.eyebrow { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; display: block; }
.btn-solid { background-color: var(--text); color: var(--white); padding: 11px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-solid:hover { opacity: 0.9; }
.btn-outline { background: none; color: var(--text); padding: 11px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; border: 1.5px solid rgba(0,0,0,0.18); display: inline-flex; align-items: center; gap: 6px; }
.btn-outline:hover { border-color: rgba(0,0,0,0.4); }

/* APPROACH GRID */
.dot-lime { background-color: var(--lime); }
.dot-orange { background-color: var(--orange); }
.dot-blue { background-color: var(--blue); }
.dot-muted { background-color: #A0A09C; }
.dot-dark { background-color: var(--text); }

/* SECTORS */
.sector-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* CARD GRID (projects + writing) */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.10); }
.card-image-lime { background-color: var(--lime); }
.card-image-orange { background-color: var(--orange); }
.card-image-blue { background-color: var(--blue); }
.card-image-muted { background-color: #D8D8D5; }
.card-image-dark { background-color: #2A2A28; }
.shape { position: absolute; border-radius: 50%; opacity: 0.25; }
.card-image-lime .shape-a { width: 120px; height: 120px; background: rgba(0,0,0,0.3); top: -30px; right: -20px; }
.card-image-lime .shape-b { width: 60px; height: 60px; background: rgba(255,255,255,0.5); bottom: 20px; left: 24px; border-radius: 8px; transform: rotate(20deg); }
.card-image-orange .shape-b { width: 40px; height: 40px; background: rgba(255,255,255,0.4); top: 30px; left: 40px; }
.card-image-blue .shape-b { width: 50px; height: 50px; background: rgba(255,255,255,0.25); bottom: 20px; right: 30px; border-radius: 6px; }
.card-image-dark .shape-a { width: 110px; height: 110px; background: rgba(255,255,255,0.06); bottom: -20px; right: -10px; }
.card-image-dark .shape-b { width: 50px; height: 50px; background: var(--orange); opacity: 0.6; top: 24px; left: 24px; border-radius: 6px; }
.card-category { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.card-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 16px; color: var(--text); line-height: 1.3; margin-bottom: 12px; letter-spacing: -0.005em; }
.card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.blog-card:hover .card-cta { color: var(--text); }

/* CONTACT CTA BAND */
.cta-band { padding: 80px var(--gutter); background-color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.6); font-size: 16px; line-height: 1.6; max-width: 460px; }
.cta-band .btn-light { background-color: var(--white); color: var(--text); padding: 13px 26px; border-radius: 6px; font-size: 15px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cta-band .btn-light:hover { opacity: 0.9; }

/* FOOTER */
footer { padding: 36px var(--gutter); background-color: var(--bg); border-top: 1px solid rgba(0,0,0,0.08); display: flex; justify-content: space-between; align-items: center; }
.footer-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 15px; color: var(--text); }
.footer-brand { font-size: 11px; color: var(--muted); margin-top: 2px; letter-spacing: 0.04em; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--text); }

/* HERO */
.hero-meta { text-align: right; flex-shrink: 0; }

/* LEAD VISUAL */
.visual-lime { background-color: var(--lime); }

/* UNIFIED - these had drifted between pages for no structural reason.
 * Per-page hero composition (flex vs block, column widths) and headline
 * scale stay in each page's own <style> block. */
.logo-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--text); line-height: 1; text-decoration: none; }
.hero { padding: 28px var(--gutter) 36px; }
.hero-sub { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 600px; }
.section-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 16px; display: block; }
.cat-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
h1 { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; letter-spacing: -0.01em; color: var(--text); margin-bottom: 18px; max-width: 760px; text-wrap: balance; }

/* One mobile gutter for the whole site. Sections use var(--gutter)
 * for horizontal padding, so a new section needs no media query. */
@media (max-width: 768px) {
  :root { --gutter: 24px; }
  nav { flex-wrap: wrap; gap: 12px 16px; }
  footer { flex-wrap: wrap; gap: 16px; }
  .nav-links { gap: 18px; flex-wrap: wrap; }
}
