/* ==========================================================
   Review Wealth Invest - Stylesheet
   Look: editorial "review report" with ink rules, hard offset
   shadows, monospace labels and signal-orange highlights.
   Layout grid comes from Bootstrap 5.3 (columns only).
   ========================================================== */

:root {
  --ink: #121212;
  --ink-soft: #2b2b2b;
  --graphite: #55534f;
  --signal: #ff5a1f;
  --signal-dark: #d9440f;
  --signal-soft: #ffe2d4;
  --bone: #f1ece3;
  --paper: #faf8f4;
  --moss: #2f5d46;
  --moss-soft: #dcebe1;
  --line: #121212;
  --muted-line: #d6cfc2;
  --white: #ffffff;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --head: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Inclusive Sans', 'Segoe UI', Arial, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-color: var(--signal); text-underline-offset: 3px; }
a:hover { color: var(--signal-dark); }
h1, h2, h3, h4, h5 {
  font-family: var(--head);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: .3px;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
.mark { background: linear-gradient(transparent 58%, var(--signal) 58%, var(--signal) 90%, transparent 90%); padding: 0 .08em; color: inherit; }
.text-signal { color: var(--signal); }
section { position: relative; }
.pad { padding: 100px 0; }
.pad-sm { padding: 70px 0; }
.bg-bone { background: var(--bone); }
.bg-ink { background: var(--ink); color: #d9d4ca; }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--white); }
.rule-top { border-top: 2px solid var(--line); }
.rule-bottom { border-bottom: 2px solid var(--line); }

/* ---------- Labels ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}
.label .num {
  background: var(--ink);
  color: var(--signal);
  padding: 2px 8px;
}
.bg-ink .label { color: #f1ece3; }
.bg-ink .label .num { background: var(--signal); color: var(--ink); }
.lead-text { font-size: 1.15rem; color: var(--graphite); }
.bg-ink .lead-text { color: #bdb7ab; }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn-rwi {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 24px;
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  line-height: 1.2;
}
.btn-rwi svg { width: 16px; height: 16px; fill: currentColor; }
.btn-signal { background: var(--signal); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-signal:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--signal); }
.btn-ink:hover { color: var(--white); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--signal); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.bg-ink .btn-outline { border-color: #f1ece3; color: #f1ece3; }
.bg-ink .btn-outline:hover { background: #f1ece3; color: var(--ink); }
.btn-rwi:disabled { opacity: .7; cursor: wait; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #d9d4ca; font-family: var(--mono); font-size: .76rem; letter-spacing: .4px; }
.topbar .inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.topbar .items { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.topbar .item { display: inline-flex; align-items: center; gap: 8px; color: #d9d4ca; text-decoration: none; }
.topbar a.item:hover { color: var(--signal); }
.topbar svg { width: 14px; height: 14px; fill: var(--signal); flex: 0 0 auto; }
.topbar .badge-open { background: var(--signal); color: var(--ink); padding: 1px 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 0 rgba(18, 18, 18, .08); }
.nav-wrap { display: flex; align-items: center; gap: 28px; min-height: 82px; }
.brand { flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  font-family: var(--mono);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  color: var(--ink);
  padding: 8px 12px;
  border: 2px solid transparent;
}
.main-nav a:hover { border-color: var(--ink); color: var(--ink); }
.main-nav a.active { background: var(--ink); color: var(--signal); }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 44px; border: 2px solid var(--ink); background: var(--signal); cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); content: ''; transition: transform .2s ease, top .2s ease, opacity .2s ease; }
.nav-toggle span { top: 20px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 90px; background: var(--paper); overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--muted-line) 1px, transparent 1px), linear-gradient(90deg, var(--muted-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .45;
  pointer-events: none;
}
.hero .container { position: relative; }
.hero h1 { margin-bottom: 26px; }
.hero .lead-text { max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-proof { display: flex; gap: 30px; flex-wrap: wrap; font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; }
.hero-proof strong { display: block; font-family: var(--head); font-size: 2.3rem; color: var(--ink); letter-spacing: 0; line-height: 1; }
.hero-visual { position: relative; padding: 0 0 40px 30px; }
.hero-photo { border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--signal); background: var(--bone); }
.hero-photo img { width: 100%; height: 470px; object-fit: cover; }
.scorecard {
  position: absolute;
  left: -10px;
  bottom: 0;
  width: 290px;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}
.scorecard .sc-title { font-family: var(--mono); font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 10px; display: flex; justify-content: space-between; }
.scorecard .sc-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--muted-line); font-size: .95rem; }
.scorecard .sc-row:last-child { border-bottom: 0; }
.grade { font-family: var(--head); font-size: 1.4rem; font-weight: 800; width: 42px; text-align: center; border: 2px solid var(--ink); line-height: 1.3; }
.grade.g-a { background: var(--moss-soft); }
.grade.g-b { background: var(--bone); }
.grade.g-c { background: var(--signal-soft); }

/* ---------- Ticker ---------- */
.ticker { background: var(--signal); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 0; animation: ticker 38s linear infinite; padding: 14px 0; }
.ticker-track span { font-family: var(--head); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: var(--ink); padding: 0 26px; display: inline-flex; align-items: center; gap: 26px; }
.ticker-track span::after { content: ''; width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg); display: inline-block; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Page banner ---------- */
.page-banner { position: relative; padding: 110px 0 90px; color: var(--white); border-bottom: 2px solid var(--ink); background: var(--ink); overflow: hidden; }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: grayscale(1) contrast(1.1); }
.page-banner .container { position: relative; }
.page-banner h1 { color: var(--white); margin-bottom: 14px; }
.page-banner p { max-width: 640px; color: #e2ddd3; font-size: 1.1rem; }
.crumbs { font-family: var(--mono); font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; display: inline-flex; gap: 10px; background: var(--signal); color: var(--ink); padding: 4px 12px; margin-bottom: 22px; }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--ink); }

/* ---------- Generic boxes ---------- */
.box {
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  height: 100%;
}
.photo-frame { border: 2px solid var(--ink); box-shadow: var(--shadow); background: var(--bone); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-fallback { background: repeating-linear-gradient(45deg, var(--bone), var(--bone) 12px, #e7e0d3 12px, #e7e0d3 24px); }

/* About intro */
.about-photos { position: relative; padding: 0 40px 60px 0; }
.about-photos .photo-frame.one img { height: 420px; }
.about-photos .photo-frame.two { position: absolute; right: 0; bottom: 0; width: 52%; box-shadow: 6px 6px 0 var(--signal); }
.about-photos .photo-frame.two img { height: 220px; }
.stamp {
  position: absolute;
  top: 24px;
  right: 10px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--signal);
  border: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  transform: rotate(-10deg);
}
.stamp strong { font-family: var(--head); font-size: 2.6rem; line-height: 1; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; }
.check-list li { position: relative; padding: 8px 0 8px 38px; border-bottom: 1px dashed var(--muted-line); }
.check-list li::before { content: ''; position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border: 2px solid var(--ink); background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23121212'/%3E%3C/svg%3E") center/16px no-repeat; }
.bg-ink .check-list li { border-color: #3a3a3a; }

/* ---------- Services ---------- */
.service-card {
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--signal); }
.service-card .media { position: relative; border-bottom: 2px solid var(--ink); background: var(--bone); }
.service-card .media img { width: 100%; height: 220px; object-fit: cover; }
.service-card .tag { position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--signal); font-family: var(--mono); font-size: .72rem; letter-spacing: 1px; padding: 3px 10px; text-transform: uppercase; }
.service-card .body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.85rem; margin-bottom: 12px; }
.service-card p { color: var(--graphite); flex: 1; }
.service-card .btn-rwi { align-self: flex-start; }

/* Service detail rows (services page) */
.service-detail { padding: 70px 0; border-bottom: 2px solid var(--ink); }
.service-detail:last-of-type { border-bottom: 0; }
.service-detail .photo-frame img { height: 400px; }
.service-detail .label .num { font-size: .9rem; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 22px 0 30px; padding: 0; list-style: none; }
.feature-grid li { border-left: 4px solid var(--signal); padding: 4px 0 4px 12px; font-size: .97rem; background: var(--paper); }

/* ---------- Review method steps ---------- */
.method-step {
  position: relative;
  border: 2px solid #f1ece3;
  padding: 30px 24px;
  height: 100%;
  transition: background .2s ease;
}
.method-step:hover { background: #1d1d1d; }
.method-step .step-no { font-family: var(--head); font-size: 4.2rem; line-height: 1; color: var(--signal); font-weight: 800; display: block; margin-bottom: 12px; }
.method-step h3 { font-size: 1.6rem; }
.method-step p { color: #bdb7ab; margin: 0; }
.method-step .dur { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; border: 1px solid #6a665f; padding: 2px 8px; color: #d9d4ca; }

/* ---------- Health check ---------- */
.health-check { background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow); }
.hc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 2px solid var(--ink); background: var(--ink); color: var(--white); font-family: var(--mono); font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; }
.hc-head .dot { width: 10px; height: 10px; background: var(--signal); display: inline-block; margin-right: 8px; }
.hc-list { padding: 8px 24px; }
.hc-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--muted-line); }
.hc-item:last-child { border-bottom: 0; }
.hc-item .q { font-size: 1rem; color: var(--ink); }
.hc-toggle { display: inline-flex; border: 2px solid var(--ink); flex: 0 0 auto; }
.hc-toggle button { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: 1px; background: var(--white); border: 0; padding: 6px 14px; cursor: pointer; color: var(--ink); }
.hc-toggle button + button { border-left: 2px solid var(--ink); }
.hc-toggle button.on[data-val="1"] { background: var(--moss); color: var(--white); }
.hc-toggle button.on[data-val="0"] { background: var(--signal); color: var(--ink); }
.hc-result { display: flex; gap: 22px; align-items: center; border-top: 2px solid var(--ink); padding: 22px 24px; background: var(--bone); }
.hc-grade { font-family: var(--head); font-size: 4rem; font-weight: 800; line-height: 1; width: 104px; height: 104px; flex: 0 0 auto; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; background: var(--white); box-shadow: var(--shadow-sm); }
.hc-result h4 { margin-bottom: 4px; }
.hc-result p { margin: 0; color: var(--graphite); font-size: .97rem; }
.hc-meter { height: 12px; border: 2px solid var(--ink); background: var(--white); margin: 10px 0; }
.hc-meter span { display: block; height: 100%; width: 0; background: var(--signal); transition: width .3s ease; }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: collapse; background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow); }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--muted-line); text-align: left; vertical-align: top; font-size: .98rem; }
.compare thead th { background: var(--ink); color: var(--white); font-family: var(--mono); font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; }
.compare thead th.us { background: var(--signal); color: var(--ink); }
.compare td.us { background: #fff6f1; font-weight: 600; color: var(--ink); }
.compare tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; padding: 0 8px 10px 0; }

/* ---------- Stats ---------- */
.stats-band { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--bone); }
.stat { padding: 40px 20px; text-align: center; border-right: 2px solid var(--ink); height: 100%; }
.stats-band .col-6:last-child .stat, .stats-band .col-lg-3:last-child .stat { border-right: 0; }
.stat strong { display: block; font-family: var(--head); font-size: 3.6rem; font-weight: 800; color: var(--ink); line-height: 1; }
.stat span { font-family: var(--mono); font-size: .76rem; letter-spacing: 1px; text-transform: uppercase; color: var(--graphite); }

/* ---------- Testimonials ---------- */
.quote-card { background: var(--white); border: 2px solid var(--ink); padding: 28px 26px; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.quote-card .stars { display: flex; gap: 3px; margin-bottom: 14px; }
.quote-card .stars svg { width: 18px; height: 18px; fill: var(--signal); stroke: var(--ink); stroke-width: 1.4; }
.quote-card blockquote { margin: 0 0 20px; font-size: 1.03rem; color: var(--ink-soft); flex: 1; }
.quote-card .who { display: flex; align-items: center; gap: 12px; border-top: 2px solid var(--ink); padding-top: 14px; }
.quote-card .initials { width: 44px; height: 44px; background: var(--ink); color: var(--signal); font-family: var(--head); font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.quote-card .name { font-family: var(--head); font-size: 1.35rem; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.quote-card.featured { background: var(--signal); }
.quote-card.featured .stars svg { fill: var(--ink); }
.quote-card.featured blockquote { color: var(--ink); }

/* ---------- Blog cards ---------- */
.post-card { background: var(--white); border: 2px solid var(--ink); height: 100%; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.post-card .media { border-bottom: 2px solid var(--ink); background: var(--bone); overflow: hidden; }
.post-card .media img { width: 100%; height: 230px; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .media img { transform: scale(1.04); }
.post-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .topic { font-family: var(--mono); font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; color: var(--signal-dark); margin-bottom: 10px; }
.post-card h3 { font-size: 1.6rem; }
.post-card h3 a { text-decoration: none; color: var(--ink); }
.post-card h3 a:hover { color: var(--signal-dark); }
.post-card p { color: var(--graphite); flex: 1; }
.read-link { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid var(--signal); align-self: flex-start; padding-bottom: 2px; }
.read-link:hover { color: var(--signal-dark); }

/* Featured blog row on blog page */
.post-wide { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow); margin-bottom: 40px; }
.post-wide .media { border-right: 2px solid var(--ink); background: var(--bone); }
.post-wide .media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.post-wide .body { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.post-wide h2 { font-size: 2.4rem; }
.post-wide h2 a { color: var(--ink); text-decoration: none; }
.post-wide h2 a:hover { color: var(--signal-dark); }

/* ---------- Article ---------- */
.article-hero { border: 2px solid var(--ink); box-shadow: var(--shadow); background: var(--bone); margin-bottom: 44px; }
.article-hero img { width: 100%; height: 460px; object-fit: cover; }
.article { font-size: 1.08rem; color: var(--ink-soft); }
.article h2 { font-size: 2.2rem; margin-top: 1.4em; }
.article p:first-of-type::first-letter { font-family: var(--head); font-weight: 800; float: left; font-size: 4.6rem; line-height: .85; margin: 6px 12px 0 0; color: var(--signal); }
.article .pull { border: 2px solid var(--ink); background: var(--bone); padding: 22px 26px; margin: 34px 0; font-family: var(--head); font-size: 1.8rem; font-weight: 700; text-transform: uppercase; color: var(--ink); line-height: 1.15; box-shadow: 6px 6px 0 var(--signal); }
.article ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.article ul li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.article ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 12px; height: 12px; background: var(--signal); border: 2px solid var(--ink); }
.article-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 2px solid var(--ink); padding-top: 26px; margin-top: 44px; flex-wrap: wrap; }
.sidebar-box { background: var(--white); border: 2px solid var(--ink); padding: 26px 24px; margin-bottom: 28px; box-shadow: var(--shadow-sm); }
.sidebar-box h4 { border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 16px; }
.side-posts { list-style: none; padding: 0; margin: 0; }
.side-posts li { padding: 10px 0; border-bottom: 1px dashed var(--muted-line); }
.side-posts li:last-child { border-bottom: 0; }
.side-posts a { text-decoration: none; color: var(--ink); font-weight: 600; line-height: 1.4; display: block; }
.side-posts a:hover { color: var(--signal-dark); }
.sidebar-box.dark { background: var(--ink); color: #d9d4ca; box-shadow: 4px 4px 0 var(--signal); }
.sidebar-box.dark h4 { color: var(--white); border-color: var(--signal); }

/* ---------- FAQ ---------- */
.faq-item { border: 2px solid var(--ink); background: var(--white); margin-bottom: 14px; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 60px 20px 22px; font-family: var(--head); font-size: 1.4rem; font-weight: 800; text-transform: uppercase; color: var(--ink); cursor: pointer; position: relative; line-height: 1.2; }
.faq-q::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; background: var(--signal); border: 2px solid var(--ink); font-family: var(--mono); font-size: 1.2rem; line-height: 27px; text-align: center; }
.faq-item.open .faq-q::after { content: '-'; background: var(--ink); color: var(--signal); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; margin: 0; color: var(--graphite); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--ink); overflow: hidden; border-top: 2px solid var(--ink); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; filter: grayscale(1); }
.cta-band .container { position: relative; }
.cta-panel { background: var(--signal); border: 2px solid var(--ink); box-shadow: 10px 10px 0 #f1ece3; padding: 50px 46px; }
.cta-panel h2 { margin-bottom: 14px; }
.cta-panel p { color: var(--ink); font-size: 1.1rem; }

/* ---------- Newsletter band ---------- */
.news-band { background: var(--bone); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.inline-form { display: flex; border: 2px solid var(--ink); background: var(--white); box-shadow: var(--shadow-sm); }
.inline-form input { flex: 1; border: 0; padding: 15px 18px; font-family: var(--body); font-size: 1rem; min-width: 0; background: transparent; outline: none; }
.inline-form .btn-rwi { border: 0; border-left: 2px solid var(--ink); box-shadow: none; }
.inline-form .btn-rwi:hover { transform: none; box-shadow: none; background: var(--ink); color: var(--white); }
.inline-form.is-invalid-wrap { border-color: var(--signal-dark); }
.form-note { font-size: .85rem; color: var(--graphite); margin-top: 12px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow); padding: 38px 34px; }
.form-card h2, .form-card h3 { margin-bottom: 8px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--mono); font-size: .76rem; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--signal-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 13px 15px;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: box-shadow .15s ease, background .15s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23121212'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 22px; padding-right: 42px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--white); box-shadow: 4px 4px 0 var(--signal); }
.field .err { display: none; color: var(--signal-dark); font-size: .85rem; margin-top: 6px; font-weight: 600; }
.is-invalid { border-color: var(--signal-dark) !important; background: #fff4ef !important; }
.is-invalid ~ .err, .check-row.invalid .err { display: block; }
.check-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; flex-wrap: wrap; }
.check-row input { width: 20px; height: 20px; accent-color: var(--signal); margin-top: 4px; flex: 0 0 auto; }
.check-row label { flex: 1; font-size: .95rem; }
.check-row .err { flex-basis: 100%; display: none; color: var(--signal-dark); font-size: .85rem; font-weight: 600; }
.form-alert { display: none; border: 2px solid var(--ink); padding: 14px 18px; margin-top: 18px; font-weight: 600; }
.form-alert.show { display: block; }
.form-alert.success { background: var(--moss-soft); color: var(--moss); border-color: var(--moss); }
.form-alert.error { background: #fff0e9; color: var(--signal-dark); border-color: var(--signal-dark); }
.inline-msg { font-size: .9rem; margin-top: 10px; font-weight: 600; min-height: 1px; }
.inline-msg.success { color: var(--moss); }
.inline-msg.error { color: var(--signal-dark); }
.bg-ink .inline-msg.success, .site-footer .inline-msg.success { color: #9fd3b2; }
.bg-ink .inline-msg.error, .site-footer .inline-msg.error { color: #ff8f66; }
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; border: 2px solid var(--ink); padding: 7px 14px; font-size: .9rem; cursor: pointer; background: var(--paper); transition: background .15s ease; }
.chip input:checked + span { background: var(--ink); color: var(--signal); }
.chip input:focus-visible + span { box-shadow: 3px 3px 0 var(--signal); }

/* Contact info */
.info-tile { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 2px solid var(--ink); }
.info-tile:first-child { border-top: 2px solid var(--ink); }
.info-tile .ic { width: 50px; height: 50px; flex: 0 0 auto; background: var(--signal); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.info-tile .ic svg { width: 22px; height: 22px; fill: var(--ink); }
.info-tile h4 { margin-bottom: 4px; font-size: 1.3rem; }
.info-tile p, .info-tile a { margin: 0; color: var(--ink-soft); text-decoration: none; }
.info-tile a:hover { color: var(--signal-dark); }
.map-frame { border: 2px solid var(--ink); box-shadow: var(--shadow); background: var(--bone); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.6); }

/* Legal pages */
.legal { max-width: 860px; }
.legal h2 { font-size: 2rem; margin-top: 1.6em; padding-top: 18px; border-top: 2px solid var(--ink); }
.legal h2:first-of-type { margin-top: 0; }
.legal ul { padding-left: 20px; }
.legal .updated { font-family: var(--mono); font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; background: var(--bone); border: 2px solid var(--ink); display: inline-block; padding: 4px 12px; margin-bottom: 30px; }
.toc { position: sticky; top: 110px; }
.toc a { display: block; padding: 8px 0; border-bottom: 1px dashed var(--muted-line); text-decoration: none; font-size: .95rem; }

/* Values / team */
.value-card { border-top: 6px solid var(--signal); background: var(--white); border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 28px 24px; height: 100%; }
.value-card .vi { font-family: var(--mono); font-size: .8rem; color: var(--signal-dark); letter-spacing: 1px; }
.timeline { border-left: 2px solid var(--ink); margin-left: 8px; padding-left: 30px; }
.timeline .tl { position: relative; padding-bottom: 28px; }
.timeline .tl::before { content: ''; position: absolute; left: -40px; top: 6px; width: 18px; height: 18px; background: var(--signal); border: 2px solid var(--ink); }
.timeline .yr { font-family: var(--mono); font-size: .8rem; letter-spacing: 1px; background: var(--ink); color: var(--signal); padding: 2px 8px; }
.timeline h4 { margin: 10px 0 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #bdb7ab; padding: 80px 0 0; font-size: .97rem; }
.site-footer .f-logo img { height: 40px; width: auto; margin-bottom: 20px; }
.site-footer h4 { color: var(--white); font-size: 1.35rem; margin-bottom: 18px; display: inline-block; border-bottom: 3px solid var(--signal); padding-bottom: 4px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #d9d4ca; text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact svg { width: 16px; height: 16px; fill: var(--signal); margin-top: 6px; flex: 0 0 auto; }
.footer-form { display: flex; border: 2px solid #f1ece3; margin-top: 8px; }
.footer-form input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 12px 14px; color: var(--white); font-family: var(--body); outline: none; }
.footer-form input::placeholder { color: #8d887f; }
.footer-form button { background: var(--signal); border: 0; border-left: 2px solid #f1ece3; padding: 0 16px; font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; color: var(--ink); }
.footer-form.is-invalid-wrap { border-color: #ff8f66; }
.footer-bottom { margin-top: 60px; border-top: 1px solid #3a3a3a; padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; font-family: var(--mono); letter-spacing: .3px; }
.footer-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; background: var(--signal); border: 2px solid var(--ink); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 60; cursor: pointer; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; fill: var(--ink); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .main-nav a { padding: 8px 8px; font-size: .78rem; }
  .nav-cta { display: none; }
}
@media (max-width: 991px) {
  .pad { padding: 76px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    padding: 10px 20px 20px;
    display: none;
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 12px 10px; font-size: .9rem; border-bottom: 1px dashed var(--muted-line); }
  .hero-visual { margin-top: 50px; padding-left: 0; }
  .scorecard { left: 14px; }
  .about-photos { margin-bottom: 40px; }
  .post-wide { grid-template-columns: 1fr; }
  .post-wide .media { border-right: 0; border-bottom: 2px solid var(--ink); }
  .post-wide .media img { min-height: 260px; }
  .stat { border-right: 0; border-bottom: 2px solid var(--ink); }
  .stats-band .row > div:nth-child(odd) .stat { border-right: 2px solid var(--ink); }
  .stats-band .row > div:nth-last-child(-n+2) .stat { border-bottom: 0; }
  .toc { position: static; margin-bottom: 30px; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .hide-sm { display: none !important; }
  .brand img { height: 34px; }
  .hero { padding: 54px 0 70px; }
  .hero-photo img { height: 340px; }
  .scorecard { position: relative; left: 0; width: 100%; margin-top: -40px; margin-left: 14px; max-width: calc(100% - 14px); }
  .hero-visual { padding-bottom: 0; }
  .about-photos { padding: 0 0 0 0; }
  .about-photos .photo-frame.two { position: relative; width: 70%; margin: -60px 0 0 auto; }
  .about-photos .photo-frame.one img { height: 300px; }
  .stamp { width: 104px; height: 104px; }
  .stamp strong { font-size: 2rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .service-detail .photo-frame img { height: 280px; }
  .form-card { padding: 28px 20px; }
  .cta-panel { padding: 36px 24px; }
  .hc-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hc-result { flex-direction: column; align-items: flex-start; }
  .article-hero img { height: 280px; }
  .page-banner { padding: 80px 0 64px; }
  .inline-form { flex-direction: column; }
  .inline-form .btn-rwi { border-left: 0; border-top: 2px solid var(--ink); justify-content: center; }
  .ticker-track span { font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .hide-xs { display: none !important; }
  .topbar .items { gap: 14px; }
  .brand img { height: 28px; }
  .stat strong { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
