/* Paulu Consulting — site styles
   Brand: Forest #14301F, Copper #9A5A24, Light copper #D99A5B, Parchment #F6F1E7
   Type: Zilla Slab (headings), Source Sans 3 (body), JetBrains Mono (labels) */

:root {
  --navy: #14301F;
  --navy-deep: #0D2216;
  --teal: #9A5A24;
  --teal-dark: #7A4519;
  --signal: #D99A5B;
  --ground: #F6F1E7;
  --white: #FFFFFF;
  --line: #DDD3C1;
  --ink-2: #4A5548;
  --ink-3: #56604F;
  --font-head: "Zilla Slab", Rockwell, Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

h1, h2, h3 { font-family: var(--font-head); margin: 0; }
h2 { font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.4rem); letter-spacing: -0.015em; line-height: 1.15; }
h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.25; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: 36px; }
.muted { color: var(--ink-2); }
.mono { font-family: var(--font-mono); }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--white); color: var(--navy); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  border-radius: 4px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-signal { background: var(--signal); color: var(--navy); font-weight: 700; }
.btn-signal:hover { background: #E8B784; color: var(--navy); }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 16px; padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em;
}
.brand:hover { color: var(--navy); }
.nav-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px;
  font-weight: 600; list-style: none; margin: 0; padding: 0;
}
.nav-links a:not(.btn) { color: var(--navy); text-decoration: none; padding: 10px 0; display: inline-block; }
.nav-links a:not(.btn):hover { color: var(--teal); }
.nav-links .btn { min-height: 44px; padding: 8px 18px; }

/* Hero */
.hero { background: var(--white); }
.hero .wrap {
  padding-top: 72px; padding-bottom: 80px;
  display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
}
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.8125rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal);
}
.hero h1 {
  font-weight: 700; font-size: clamp(2.3rem, 6vw, 3.4rem);
  line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance;
}
.lede { font-size: 1.25rem; color: var(--ink-2); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.terminal {
  flex: 1 1 420px; min-width: 0;
  background: var(--navy); color: #E6E9DF;
  border-radius: var(--radius); padding: 24px 26px;
  font-family: var(--font-mono); font-size: 0.9rem; line-height: 1.75;
  overflow-x: auto;
}
.terminal .prompt { color: var(--signal); }
.terminal dl {
  display: grid; grid-template-columns: 7.5em minmax(0, 1fr);
  column-gap: 12px; margin: 10px 0;
}
.terminal dt { color: var(--white); font-weight: 600; }
.terminal dd { margin: 0; }
.cursor { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }

/* Sections */
.section { padding: 80px 0; }
.section-white { background: var(--white); border-block: 1px solid var(--line); }
.section-intro { display: flex; flex-direction: column; gap: 10px; max-width: 46em; }

.grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 10px;
}
.tag { font-family: var(--font-mono); font-size: 0.8rem; color: var(--teal); }
.card p { color: var(--ink-2); }

.offer { border-top: 4px solid var(--navy); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.offer.featured { border-top-color: var(--teal); }
.offer h3 { font-size: 1.35rem; }
.price { font-family: var(--font-mono); font-weight: 600; }
.offer p { color: var(--ink-2); }

.case .client { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink-3); }
.case .result {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600;
}

/* About */
.about .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.headshot {
  flex: 0 1 260px; width: 260px; max-width: 100%;
  height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  background: #ECE4D4;
}
.headshot-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ink-3); font-family: var(--font-mono); font-size: 0.85rem; padding: 16px;
}
.about-copy { flex: 1 1 480px; min-width: 0; max-width: 42em; display: flex; flex-direction: column; gap: 16px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.badges li { border: 1px solid var(--navy); border-radius: 999px; padding: 4px 12px; font-size: 0.9rem; }

/* Contact */
.contact { background: var(--navy); color: #EEF0E8; }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.contact-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.contact h2 { color: var(--white); text-wrap: balance; }
.contact p { color: #C8D2C3; }
.contact-actions { flex: 0 1 360px; min-width: 0; width: 100%; display: flex; flex-direction: column; gap: 12px; }
.contact-email { font-family: var(--font-mono); font-size: 0.95rem; text-align: center; color: #EEF0E8; }
.contact-email:hover { color: var(--signal); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #AFBBAA; font-size: 0.9rem; }
.site-footer .wrap {
  padding-top: 28px; padding-bottom: 28px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: #AFBBAA; }
.site-footer a:hover { color: var(--white); }

/* Phone widths */
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .site-header { position: static; }
  html { scroll-padding-top: 0; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; gap: 36px; }
  .section { padding: 56px 0; }
  .nav { justify-content: center; }
  .nav-links { justify-content: center; gap: 0 18px; }
  .terminal { padding: 20px; font-size: 0.82rem; }
  .terminal dl { grid-template-columns: 5.5em minmax(0, 1fr); }
  .actions .btn { flex: 1 1 100%; }
  .headshot { flex-basis: 100%; width: 220px; }
}

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound .wrap { display: flex; flex-direction: column; gap: 18px; padding-top: 64px; padding-bottom: 64px; }
