/* ============================================
   SKARSH — v1 (imagery-driven, extended)
   Loads AFTER style.css — overrides + new sections
   ============================================ */

/* ── Nav: emblem mark + wordmark (fixes tiny-logo visibility) ── */
.nav-logo { gap: 13px; }
.logo-mark { height: 48px; width: auto; object-fit: contain; }
.ci-sub { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-top: 2px; }
.logo-word {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.72rem;
  letter-spacing: 0.15em;
  color: var(--navy-ink);
  line-height: 1;
  text-shadow: 0 1px 0 rgba(26,64,104,0.06);
}
.logo-word .dot { color: var(--accent); }

/* ── Hero: image-forward composition ── */
.hero-media { position: relative; width: 100%; max-width: 520px; }
.hero-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}
.hero-photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; }
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(16,39,63,0.05) 30%, rgba(16,39,63,0.55));
}
.hero-float {
  position: absolute;
  left: -34px;
  bottom: -30px;
  width: 66%;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px 18px 12px;
  z-index: 3;
}
.hero-float .hero-card-head { margin-bottom: 4px; }
.hero-float .hero-chart { max-width: 100%; }
.hero-tagpill {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(16,39,63,0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 13px;
  border-radius: 100px;
}

/* ── Coverage strip ── */
.coverage {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.coverage-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 26px;
}
.cov-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.cov-item::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
.cov-item:last-child::after { display: none; }
.cov-item strong { color: var(--navy-ink); font-weight: 700; }

/* ── Spotlight feature band (image + copy, alternating) ── */
.spotlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.spotlight.reverse .spotlight-media { order: 2; }
.spotlight-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}
.spotlight-media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.spotlight-copy .section-title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.spot-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.spot-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.95rem; color: var(--text);
}
.spot-check {
  flex-shrink: 0;
  width: 22px; height: 22px; margin-top: 1px;
  border-radius: 6px;
  background: rgba(127,167,63,0.12);
  color: var(--green-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.spot-list li span.txt strong { display: block; color: var(--navy-ink); font-weight: 700; font-size: 0.96rem; }
.spot-list li span.txt em { font-style: normal; color: var(--muted); font-size: 0.88rem; }

/* ── Who We Serve ── */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.serve-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.serve-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.serve-media { height: 160px; overflow: hidden; position: relative; }
.serve-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.serve-card:hover .serve-media img { transform: scale(1.06); }
.serve-media::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(16,39,63,0.35)); }
.serve-body { padding: 24px 24px 28px; }
.serve-body h3 { font-family: var(--font-head); font-size: 1.14rem; font-weight: 800; color: var(--navy-ink); margin-bottom: 8px; }
.serve-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ── Stat / credibility strip (non-numeric) ── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.stat-cell {
  background: #fff;
  padding: 30px 24px;
  text-align: center;
}
.stat-cell .sv {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-ink);
  display: block;
  margin-bottom: 6px;
}
.stat-cell .sl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── Quote / philosophy band (image bg) ── */
.quote-band {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--bg-navy);
}
.quote-band-bg { position: absolute; inset: 0; z-index: 0; }
.quote-band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.quote-band::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 80% 90% at 50% 50%, rgba(16,39,63,0.82), rgba(16,39,63,0.96));
}
.quote-band-inner {
  position: relative; z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 96px 28px;
  text-align: center;
}
.quote-band .qmark {
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--accent-hover);
  opacity: 0.5;
}
.quote-band blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 14px 0 22px;
}
.quote-band blockquote em { font-style: normal; color: var(--accent-hover); }
.quote-band cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93a6b6;
}

/* ── FAQ accordion ── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open { border-color: var(--border-strong); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-ink);
}
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  position: relative;
  transition: transform 0.3s var(--ease);
  color: var(--green-ink);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.faq-icon::before { width: 13px; height: 2px; }
.faq-icon::after  { width: 2px; height: 13px; transition: transform 0.3s var(--ease); }
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a-inner { padding: 0 22px 20px; font-size: 0.92rem; color: var(--muted); line-height: 1.75; }

/* ── Ticker ribbon (signature motion element) ── */
.ticker {
  position: relative; z-index: 1; overflow: hidden;
  background: var(--bg-navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ticker::before, .ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(90deg, var(--bg-navy), transparent); }
.ticker::after  { right: 0; background: linear-gradient(270deg, var(--bg-navy), transparent); }
.ticker-track { display: flex; width: max-content; animation: tickerScroll 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; flex-shrink: 0; }
.tick {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 24px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #b9c6d2; white-space: nowrap;
}
.tick strong { color: #fff; font-weight: 600; }
.tick .up   { color: var(--accent-hover); font-size: 10px; }
.tick .dot  { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.tick .sep  { width: 1px; height: 14px; background: rgba(255,255,255,0.12); margin: 0 -2px; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ── Who We Are (founder / identity) ── */
.whois-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.whois-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.whois-facts span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); background: var(--bg-alt); border: 1px solid var(--border);
  padding: 8px 14px; border-radius: 100px;
}
.founder-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 26px;
  display: flex; gap: 24px; align-items: flex-start;
}
.founder-photo {
  width: 182px; flex-shrink: 0; aspect-ratio: 4/5; overflow: hidden;
  border-radius: 14px; background: #eef1f4;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.founder-info { display: flex; flex-direction: column; padding-top: 4px; }
.founder-name { font-family: var(--font-head); font-weight: 800; font-size: 1.24rem; color: var(--navy-ink); }
.founder-role { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-ink); margin-top: 5px; }
.founder-quote { font-size: 0.98rem; color: var(--muted); line-height: 1.8; font-style: italic; margin-top: 16px; }
@media (max-width: 560px) {
  .founder-card { flex-direction: column; align-items: center; text-align: center; }
  .founder-photo { width: 150px; }
}
.founder-quote::before { content: '\201C'; color: var(--accent); font-family: var(--font-head); font-weight: 800; }
.founder-quote::after  { content: '\201D'; color: var(--accent); font-family: var(--font-head); font-weight: 800; }
/* placeholder marker — replace the [bracketed] text, then this styling is harmless */
.ph { background: rgba(201,168,76,0.18); color: #b98f22; padding: 0 5px; border-radius: 3px; font-style: normal; font-weight: 500; }
#footer .ph { color: #dcbf63; }

/* ── Vision & Mission ── */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.vm-card {
  background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px;
}
.vm-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-ink); display: block; margin-bottom: 10px; }
.vm-card p { font-size: 0.98rem; color: var(--muted); line-height: 1.8; }
@media (max-width: 768px) { .vm-grid { grid-template-columns: 1fr; } }

/* ── How We Engage ── */
.engage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.engage-card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px 24px;
  transition: all 0.35s var(--ease);
}
.engage-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.engage-num { font-family: var(--font-head); font-weight: 900; font-size: 2.4rem; color: rgba(127,167,63,0.22); line-height: 1; margin-bottom: 10px; }
.engage-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--navy-ink); margin-bottom: 8px; }
.engage-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

@media (max-width: 1024px) {
  .whois-grid { grid-template-columns: 1fr; gap: 36px; }
  .engage-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .engage-grid { grid-template-columns: 1fr; } }

/* ── Sub-pages (legal, insights, 404) ── */
.subpage-main {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 88px;
  min-height: 72vh;
}
.prose { max-width: 800px; margin: 0 auto; }
.prose .eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--green-ink); margin-bottom: 14px;
}
.prose h1 {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800;
  color: var(--navy-ink); letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 10px;
}
.prose .updated {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 34px;
}
.prose h2 {
  font-family: var(--font-head); font-size: 1.32rem; font-weight: 800;
  color: var(--navy-ink); margin: 36px 0 12px;
}
.prose h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--navy-ink); margin: 24px 0 8px; }
.prose p, .prose li { color: var(--muted); line-height: 1.85; margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 8px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 2px; }
.prose .lead { font-size: 1.12rem; color: var(--text); line-height: 1.7; margin-bottom: 26px; }
.prose blockquote {
  border-left: 3px solid var(--accent); padding: 6px 0 6px 20px; margin: 22px 0;
  color: var(--navy-ink); font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 40px;
  font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--green-ink);
}

/* Insights index */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden; transition: all 0.35s var(--ease); text-decoration: none;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.post-card .pc-media { height: 168px; overflow: hidden; }
.post-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .pc-media img { transform: scale(1.06); }
.post-card .pc-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-cat { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 8px; }
.post-card h3 { font-family: var(--font-head); font-size: 1.12rem; font-weight: 800; color: var(--navy-ink); line-height: 1.3; margin-bottom: 8px; }
.post-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; flex: 1; }
.post-card .pc-date { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--dim); margin-top: 14px; }
.insights-note {
  max-width: 800px; margin: 40px auto 0; padding: 20px 22px; text-align: center;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.9rem; color: var(--muted);
}

/* 404 */
.err-wrap { max-width: 640px; margin: 0 auto; text-align: center; }
.err-code { font-family: var(--font-head); font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; color: var(--olive); line-height: 1; letter-spacing: -0.04em; }

@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

/* ── Responsive (v1 additions) ── */
@media (max-width: 1024px) {
  .hero-media { max-width: 100%; margin: 0 auto; }
  .hero-float { position: static; width: 100%; left: 0; bottom: 0; margin-top: 16px; box-shadow: var(--shadow); }
  .spotlight-inner { grid-template-columns: 1fr; gap: 36px; }
  .spotlight.reverse .spotlight-media { order: -1; }
  .serve-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .logo-word { font-size: 1.44rem; letter-spacing: 0.12em; }
  .logo-mark { height: 42px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .cov-item { gap: 16px; font-size: 10px; }
}
@media (max-width: 480px) {
  .stat-strip { grid-template-columns: 1fr; }
  .logo-word { font-size: 1.18rem; letter-spacing: 0.1em; }   /* keep SKARSH visible, just smaller */
  .logo-mark { height: 36px; }
}
