/* RMJ Consulting — redesign stylesheet
   Warm, professional "technology partner" direction.
   Shared across all pages. */

:root {
  --ink:      #211d1a;   /* warm near-black headings */
  --ink-soft: #3a342f;   /* strong body */
  --slate:    #5a514a;   /* body text (warm gray) */
  --slate-2:  #857a70;   /* muted / captions */
  --line:     #e7e1da;   /* warm hairline */
  --line-2:   #f0ebe4;   /* faint fill */
  --bg:       #faf8f5;   /* cream page background */
  --surface:  #ffffff;   /* cards */
  --accent:   #b1542a;   /* restrained copper (heritage nod to old orange) */
  --accent-d: #94431f;   /* hover */
  --accent-w: #f7ede5;   /* accent wash */
  --gold:     #c98a2b;   /* secondary warm tone */

  --maxw: 1080px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(45,30,18,.05), 0 8px 28px rgba(45,30,18,.07);

  --serif: 'Bitter', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.22;
  margin: 0 0 .5em;
}

p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-d); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

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

.muted { color: var(--slate-2); }
.center { text-align: center; }

/* ---------- Top status bar ---------- */
.topbar {
  background: var(--ink);
  color: #d8cfc6;
  font-size: 13.5px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 40px;
}
.topbar a { color: #fff; }
.topbar .tagline { font-style: italic; font-family: var(--serif); }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-logo { height: 60px; width: auto; display: block; }
/* logo image carries the wordmark, so hide the text label.
   Specificity must beat ".brand .stack" below. */
.brand .stack { flex-direction: column; line-height: 1.05; }
.brand .stack.brand-fallback { display: none; }
.brand .stack .sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--slate-2);
}

nav.main { display: flex; align-items: center; gap: 4px; }
nav.main a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
}
nav.main a:hover { background: var(--line-2); text-decoration: none; }
nav.main a.active { color: var(--accent); background: var(--accent-w); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 15px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-d); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--slate-2); color: var(--ink); text-decoration: none; }

/* ---------- Full-width banner band ---------- */
.banner-band {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.banner-band img {
  display: block;
  width: 100%;
  height: clamp(220px, 28vw, 340px);
  object-fit: cover;
  object-position: center;
}
/* optional caption overlay */
.banner-band .band-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(33,29,26,.72) 0%, rgba(33,29,26,.35) 45%, rgba(33,29,26,0) 75%);
}
.banner-band .band-overlay .container { width: 100%; }
.banner-band .band-overlay h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  max-width: 22ch;
  margin: 0;
}
.banner-band .band-overlay p {
  color: #e7e1da;
  font-size: 17px;
  max-width: 40ch;
  margin: 10px 0 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(820px 360px at 78% -10%, var(--accent-w), transparent 62%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}
.hero .container { padding-top: 80px; padding-bottom: 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-w);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 44px;
  letter-spacing: -.01em;
  margin-bottom: 18px;
}
.hero .lead { font-size: 18px; max-width: 48ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-figure {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--line-2);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-tight { padding: 48px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.ink { background: var(--ink); }
.section.ink h2, .section.ink h3 { color: #fff; }
.section.ink p { color: #cabfb5; }

.section-head { max-width: 60ch; margin: 0 auto 46px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { font-size: 30px; margin-bottom: 12px; }
.section-head p { font-size: 17px; }

/* pull tagline band */
.tagline-band {
  background: var(--accent-w);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 26px 0;
}
.tagline-band p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--ink);
}

/* ---------- Cards / grids ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: box-shadow .15s, border-color .15s, transform .15s;
}
.card:hover { box-shadow: var(--shadow); border-color: #ddd4ca; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15px; margin-bottom: 0; }
.card .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--accent-w);
  color: var(--accent);
  margin-bottom: 16px;
}
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14.5px; }

/* ---------- Two-column content + sidebar ---------- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.prose { max-width: 70ch; }
.prose h2 { font-size: 28px; margin: 0 0 14px; }
.prose h3 { font-size: 20px; margin: 32px 0 8px; }
.prose p { font-size: 16.5px; }
.prose .lede { font-size: 18px; color: var(--ink-soft); }

/* sidebar news */
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.sidebar-card h3 { font-size: 18px; margin-bottom: 14px; }
.news { list-style: none; margin: 0; padding: 0; }
.news li { padding: 14px 0; border-top: 1px solid var(--line); }
.news li:first-child { border-top: 0; padding-top: 0; }
.news .date {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: var(--accent);
  margin-bottom: 4px;
}
.news a { color: var(--ink-soft); font-size: 14.5px; font-weight: 500; }

/* ---------- Services list ---------- */
.svc-list { columns: 2; column-gap: 40px; list-style: none; margin: 0; padding: 0; }
.svc-list li {
  break-inside: avoid;
  position: relative;
  padding: 9px 0 9px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15.5px;
  font-weight: 500;
}
.svc-list li::before {
  content: "";
  position: absolute; left: 4px; top: 16px;
  width: 7px; height: 12px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(40deg);
}

/* ---------- Callout ---------- */
.callout {
  background: var(--accent-w);
  border: 1px solid #ecd9c9;
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.callout h3 { margin-bottom: 4px; }
.callout p { margin-bottom: 0; }

/* ---------- Log Siphon cross-promo ---------- */
.crosspromo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.crosspromo .ls-card {
  background: var(--ink);
  color: #cabfb5;
  border-radius: var(--radius);
  padding: 38px;
}
.crosspromo .ls-card h3 { color: #fff; font-size: 22px; }
.crosspromo .ls-card .badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
/* "coming soon" pill — used on the Log Siphon cross-promo */
.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 5px 7px 5px 13px;
  margin-bottom: 14px;
}
.coming-soon .tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  padding: 3px 9px;
}

/* ---------- Social ---------- */
.social { display: flex; gap: 14px; align-items: center; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 9px;
  color: var(--slate); background: var(--surface);
}
.social a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a89c91; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer p { font-size: 14.5px; line-height: 1.75; }
.site-footer a { color: #d8cfc6; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; font-size: 14.5px; }
.footer-bottom {
  border-top: 1px solid #3a342f;
  margin-top: 42px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: #857a70;
}

/* ---------- Page header (interior) ---------- */
.page-head {
  background:
    radial-gradient(700px 300px at 85% -20%, var(--accent-w), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 60px 0 44px;
}
.page-head .eyebrow { margin-bottom: 14px; }
.page-head h1 { font-size: 38px; margin-bottom: 10px; }
.page-head p { font-size: 18px; max-width: 60ch; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 34px; }
  .cards, .cards.two, .content-grid, .crosspromo { grid-template-columns: 1fr; }
  .svc-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  nav.main {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 14px; }
  .nav-toggle { display: inline-block; }
  .topbar .hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}