/* Jeffrey Barth, CPA — site stylesheet */

:root {
  --navy: #0f1e33;
  --navy-2: #16294a;
  --navy-3: #1f3a63;
  --slate: #4b5a6b;
  --paper: #f7f4ee;
  --white: #ffffff;
  --accent: #b08a4e;
  --accent-2: #8a6a35;
  --border: #e7e1d3;
  --text: #1c2430;
  --text-muted: #5c6675;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 1160px;
  --measure: 40em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin: 0 0 20px; }
h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); margin: 0 0 20px; }
h3 { font-size: 1.25rem; margin: 0 0 10px; color: var(--navy); font-weight: 600; }

p { margin: 0 0 18px; color: var(--text); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-2); text-decoration: underline; text-decoration-color: rgba(176,138,78,0.45); text-underline-offset: 2px; }
a:hover { color: var(--navy); }

ul { padding-left: 1.3em; margin: 0 0 18px; }
li { margin-bottom: 10px; }

/* Header */
.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--accent-2); }

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--accent-2);
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(176,138,78,0.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: var(--white);
  padding: 96px 0 76px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero h1 { color: var(--white); max-width: 18em; }
.hero .subhead {
  font-size: 1.28rem;
  color: #dfe4ec;
  max-width: 38em;
  margin-bottom: 22px;
  line-height: 1.6;
}
.hero .supporting {
  color: #aab4c4;
  max-width: 38em;
  margin-bottom: 30px;
  font-size: 1.02rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 4px;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  margin-right: 14px;
  margin-bottom: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(176,138,78,0.28);
}
.btn-primary:hover { background: var(--accent-2); color: var(--white); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-secondary:hover { border-color: var(--white); color: var(--white); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }

.btn-ext::after {
  content: "\2197";
  font-weight: 700;
}

/* Sections */
.section {
  padding: 84px 0;
}
.section-alt {
  background: var(--paper);
}
.section-narrow p, .section-narrow ul { max-width: var(--measure); }
.section-narrow .lede { max-width: 46em; }

.section-head {
  margin-bottom: 34px;
}
.section-head p.lede {
  font-size: 1.12rem;
  color: var(--text-muted);
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px 26px;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15,30,51,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15,30,51,0.10);
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(176,138,78,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--accent-2); }
.card h3 { margin-top: 0; }
.card p { color: var(--text-muted); }
.card a.card-link {
  font-size: 0.92rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--navy);
  display: inline-block;
  margin-top: 6px;
}
.card a.card-link:hover { color: var(--accent-2); }

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Credentials strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
@media (max-width: 700px) {
  .stat-strip { grid-template-columns: 1fr; gap: 28px; }
}
.stat {
  text-align: left;
}
.stat .stat-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat .stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Credentials list */
.credentials-list {
  list-style: none;
  padding: 0;
}
.credentials-list li {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  display: flex;
  gap: 14px;
}
.credentials-list li:last-child { border-bottom: none; }
.credentials-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Pull quote */
.pullquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 28px;
  margin: 8px 0 32px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  max-width: var(--measure);
}

/* Placeholder tag */
.placeholder {
  color: var(--text-muted);
  font-style: italic;
}

/* Closing band (no contact info — internal + one external backlink) */
.cta-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: 64px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c7cedb; max-width: 42em; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #b7c0cd;
  padding: 48px 0 30px;
  font-size: 0.93rem;
}
.footer-backlink {
  max-width: 62em;
  margin-bottom: 26px;
  font-size: 1rem;
  color: #d3d9e2;
}
.site-footer a { color: var(--accent); }
.site-footer a:hover { color: var(--white); }

.footer-meta p { margin: 0 0 6px; color: #98a2b2; }

.footer-nav {
  margin: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
}
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 0;
  margin: 0;
}
.footer-nav a { text-decoration: none; font-size: 0.88rem; color: #c7cedb; }
.footer-nav a:hover { color: var(--accent); }

.footer-copyright {
  color: #6f7a8b;
  font-size: 0.82rem;
  margin: 0;
}

/* Process steps */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
.steps li {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 22px 18px;
  border-radius: 10px;
  margin: 0;
}
.steps .step-num {
  color: var(--white);
  background: var(--accent);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-bottom: 12px;
}
.steps strong { display: block; margin-bottom: 6px; font-family: var(--serif); color: var(--navy); font-size: 1.05rem; }
