/* ==========================================================================
   Fisher Creative Consulting LLC — site styles
   Palette: bottle green / cool paper / brass. Type: Bitter (slab display),
   Public Sans (body), IBM Plex Mono (figures & labels).
   ========================================================================== */

:root {
  --ink: #16241e;
  --pine: #1e5240;
  --pine-deep: #123528;
  --paper: #f4f6f1;
  --white: #ffffff;
  --brass: #c19a2e;
  --brass-soft: #e8d9a8;
  --line: #d9dfd7;
  --muted: #5c6b62;

  --font-display: 'Bitter', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Consolas, monospace;

  --maxw: 1100px;
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pine); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / nav ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}
.wordmark span {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pine);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--brass); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--pine); }

.btn {
  display: inline-block;
  background: var(--pine);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--pine-deep); }
.btn-ghost {
  background: transparent;
  color: var(--pine);
  border: 1.5px solid var(--pine);
}
.btn-ghost:hover { background: var(--pine); color: var(--white); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--pine);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--pine);
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 18px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
h1 em {
  font-style: normal;
  color: var(--pine);
  box-shadow: inset 0 -0.32em 0 var(--brass-soft);
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Signature element: the wire ledger card */
.ledger {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -22px rgba(22, 36, 30, 0.35);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  overflow: hidden;
}
.ledger-head {
  background: var(--pine-deep);
  color: var(--brass-soft);
  padding: 12px 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  display: flex;
  justify-content: space-between;
}
.ledger-body { padding: 18px; }
.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.ledger-row:last-child { border-bottom: none; }
.ledger-row .k { color: var(--muted); }
.ledger-row .v { color: var(--ink); text-align: right; }
.ledger-stamp {
  margin-top: 14px;
  display: inline-block;
  border: 2px solid var(--pine);
  color: var(--pine);
  padding: 6px 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  border-radius: 3px;
  transform: rotate(-2deg);
}

/* ---------- Sections ---------- */

section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 22em;
}
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.section-intro { color: var(--muted); max-width: 40em; margin-bottom: 44px; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.card .tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}
.card p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.card .card-link {
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.card .card-link:hover { text-decoration: underline; }

/* Timeline (how it works) */
.timeline { list-style: none; counter-reset: step; }
.timeline li {
  counter-increment: step;
  position: relative;
  padding: 0 0 34px 64px;
}
.timeline li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--pine);
  border: 1.5px solid var(--pine);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 2px;
  width: 1.5px;
  background: var(--line);
}
.timeline li:last-child::after { display: none; }
.timeline p { color: var(--muted); font-size: 0.97rem; max-width: 38em; }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Trust strip */
.trust {
  background: var(--pine-deep);
  color: var(--paper);
}
.trust h2 { color: var(--white); }
.trust .section-intro { color: #b8c7bd; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.trust-item h3 { color: var(--brass-soft); font-size: 1.05rem; }
.trust-item p { color: #b8c7bd; font-size: 0.95rem; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { margin-left: auto; margin-right: auto; }
.cta-band .lede { margin-left: auto; margin-right: auto; }

/* ---------- Service detail pages ---------- */

.page-head { padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.page-head .lede { margin-bottom: 0; }

.service-block { padding: 56px 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: none; }
.service-block ul { padding-left: 22px; color: var(--muted); }
.service-block li { margin-bottom: 8px; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.detail-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brass);
  border-radius: var(--radius);
  padding: 24px;
  font-size: 0.95rem;
}
.detail-aside .tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 10px;
}
.detail-aside p { color: var(--muted); }

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label {
  font-weight: 600;
  font-size: 0.9rem;
}
label .req { color: var(--brass); }
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--pine); }
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 16px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  display: none;
}
.form-status.ok { display: block; background: #e4efe7; border: 1px solid var(--pine); color: var(--pine-deep); }
.form-status.err { display: block; background: #f6ecec; border: 1px solid #b04a3f; color: #7c2f27; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #9fb0a6;
  padding: 48px 0 36px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-bottom: 28px;
}
.site-footer .wordmark { color: var(--paper); }
.site-footer .wordmark span { color: var(--brass); }
.site-footer a { color: var(--paper); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.disclaimer {
  border-top: 1px solid #2b3a32;
  padding-top: 22px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #7e9086;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid, .split, .detail-grid, .footer-grid { grid-template-columns: 1fr; }
  .card-grid, .trust-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  section { padding: 56px 0; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 24px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
}
