/* Bellarmine Partners — v3 additions (loaded after style.css)
   New sections: industries, insights, affiliates, giving, articles.
   Also: reveal animations, hero media/scrim, scroll cue, hover light-up,
   wider max-width, statement scroll highlight. */

/* Wider desktop content, Ariel-style */
:root { --max-width: 1440px; }

/* ---------- Reveal animation (Ariel-style motion) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hero media + scrim + scroll cue ---------- */
.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(11,31,58,0.72), rgba(11,31,58,0.92)),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 0.6s ease-out;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 15% 20%, transparent 40%, rgba(7,20,38,0.55) 100%);
  pointer-events: none;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid rgba(247,244,239,0.4);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 2;
}
.scroll-cue span {
  width: 3px; height: 8px;
  border-radius: 3px;
  background: rgba(247,244,239,0.8);
  animation: cue 1.7s ease-in-out infinite;
}
@keyframes cue { 0%{opacity:0;transform:translateY(-4px);} 40%{opacity:1;} 100%{opacity:0;transform:translateY(10px);} }
@media (prefers-reduced-motion: reduce) { .scroll-cue span { animation: none; } }

/* ---------- Scroll-driven statement ---------- */
.statement {
  --progress: 0;
  background:
    radial-gradient(130% 150% at 12% 0%, rgba(11,31,58,0.06), transparent 55%),
    var(--ivory);
  padding: 130px 0;
}
.statement-text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.6vw, 2.7rem);
  line-height: 1.35;
  color: var(--navy);
  max-width: 1120px;
}
.statement-text .hl {
  color: var(--pewter);
  background-image: linear-gradient(var(--navy), var(--navy));
  background-repeat: no-repeat;
  background-size: calc(var(--progress) * 100%) 100%;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-size 0.1s linear;
}

/* ---------- Nav hover underline (light-up) ---------- */
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 1.5px; width: 0;
  background: var(--navy);
  transition: width 0.28s ease;
}
.nav-links a:not(.btn):hover::after { width: 100%; }

/* ---------- Firm taglines ---------- */
.tagline-list {
  list-style: none;
  margin-top: 30px;
  display: grid;
  gap: 14px;
}
.tagline-list li {
  position: relative;
  padding-left: 22px;
  color: var(--charcoal-soft);
  font-size: 1rem;
}
.tagline-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  background: var(--steel);
  transform: rotate(45deg);
}
.tagline-list li span { color: var(--navy); font-weight: 600; }

/* stat rows light up on hover */
.stat-list > div { transition: transform 0.25s ease; padding-left: 4px; }
.stat-list > div:hover { transform: translateX(6px); }
.stat-list > div:hover .num { color: var(--navy-light); }

/* ---------- Card hover light-up ---------- */
.card {
  position: relative;
  border-top: 2px solid rgba(11,31,58,0.14);
}
.card:hover {
  border-top-color: var(--navy);
  box-shadow: 0 24px 40px -30px rgba(11,31,58,0.5);
}
.card:hover .index { color: var(--navy); }
.card .index, .card h3, .card p { transition: color 0.25s ease; }

/* ---------- Closing quote ---------- */
.closing-quote {
  background: var(--navy);
  color: var(--ivory);
  text-align: center;
}
.closing-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.4;
  color: var(--ivory);
  max-width: 980px;
  margin: 0 auto;
}
.closing-quote.alt-quote { background: #10233f; }

/* ---------- Industries ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(10,31,58,0.1);
  border: 1px solid rgba(10,31,58,0.1);
}
.industry {
  background: var(--ivory);
  padding: 34px 30px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.industry:hover { background: #fff; }
.industry .ind-index {
  font-family: var(--serif);
  color: var(--steel);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}
.industry:hover .ind-index { color: var(--navy); }
.industry h3 { font-size: 1.08rem; margin: 14px 0 8px; }
.industry p { color: var(--charcoal-soft); font-size: 0.92rem; }
.industry-note {
  margin-top: 28px;
  color: var(--pewter);
  font-size: 0.95rem;
  font-style: italic;
}

/* ---------- Insights (featured lead + list) ---------- */
.insights-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

/* Featured lead article */
.insight-featured {
  display: block;
  background: var(--ivory);
  border: 1px solid rgba(10,31,58,0.12);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.insight-featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 50px -30px rgba(11,31,58,0.55);
  border-color: rgba(10,31,58,0.25);
}
.insight-featured .feat-thumb {
  aspect-ratio: 16 / 8.5;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
}
.insight-featured .feat-body { padding: 34px 38px 40px; }
.feat-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.feat-meta .insight-tag,
.list-meta .insight-tag { margin-bottom: 0; }
.feat-meta .dot,
.list-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--steel); }
.feat-date, .list-date {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--pewter);
  text-transform: uppercase;
}
.insight-featured h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.22;
  margin-bottom: 14px;
}
.insight-featured p {
  color: var(--charcoal-soft);
  font-size: 1.02rem;
  margin-bottom: 22px;
  max-width: 560px;
}

/* Insight list (right column) */
.insight-list {
  display: grid;
  grid-template-columns: 1fr;
}
.insight-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 22px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid rgba(10,31,58,0.12);
  transition: transform 0.25s ease;
}
.insight-row:first-child { border-top: none; padding-top: 0; }
.insight-row:last-child { padding-bottom: 0; }
.insight-row:hover { transform: translateX(6px); }
.row-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
}
.list-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.insight-row h3 {
  font-size: 1.14rem;
  line-height: 1.3;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}
.insight-row:hover h3 { color: var(--navy-light); }
.insight-row p {
  color: var(--charcoal-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* shared */
.insight-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pewter);
  font-weight: 600;
}
.read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: letter-spacing 0.25s ease;
}
.insight-featured:hover .read-more { letter-spacing: 0.02em; }

/* image fills — thumbnails sit beside/below their own text (not overlaid by
   it), so they run near-full color with just a whisper of navy for brand
   cohesion; a graceful navy fallback still covers the box before real photos
   load. */
.thumb-timing  { background-image: linear-gradient(150deg, rgba(11,31,58,0.10), rgba(11,31,58,0.30)), url("../images/insight-timing.jpg"); }
.thumb-prepare { background-image: linear-gradient(150deg, rgba(11,31,58,0.10), rgba(11,31,58,0.30)), url("../images/insight-prepare.jpg"); }
.thumb-tax     { background-image: linear-gradient(150deg, rgba(11,31,58,0.10), rgba(11,31,58,0.30)), url("../images/insight-tax.jpg"); }
.thumb-ai      { background-image: linear-gradient(150deg, rgba(11,31,58,0.10), rgba(11,31,58,0.30)), url("../images/insight-ai.jpg"); }

.insights-more { margin-top: 52px; }
.insights-more .btn { }

/* ---------- Affiliates ---------- */
.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.affiliate {
  border: 1px solid rgba(10,31,58,0.14);
  border-left: 3px solid var(--navy);
  padding: 36px 34px;
  background: var(--ivory);
  transition: background 0.25s ease, transform 0.25s ease;
}
.affiliate:hover { background: #fff; transform: translateY(-4px); }
.affiliate h3 { font-size: 1.35rem; margin-bottom: 12px; }
.affiliate p { color: var(--charcoal-soft); margin-bottom: 18px; }
.affiliate-link { font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.affiliate-link:hover { color: var(--navy-light); }

/* ---------- Giving ---------- */
.giving { background: #10233f; color: var(--ivory); }
.giving-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}
.giving h2 { color: var(--ivory); font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.giving .eyebrow { color: var(--steel); }
.giving .rule { background: rgba(168,176,184,0.6); }
.giving p { color: rgba(247,244,239,0.8); font-size: 1.05rem; margin-top: 16px; }
.giving-pillars { display: grid; gap: 20px; }
.giving-pillars > div {
  border: 1px solid rgba(247,244,239,0.15);
  padding: 24px 26px;
  border-radius: 3px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.giving-pillars > div:hover { background: rgba(247,244,239,0.06); border-color: rgba(247,244,239,0.35); }
.giving-pillars h4 { color: var(--ivory); font-size: 1.05rem; margin-bottom: 8px; }
.giving-pillars p { color: rgba(247,244,239,0.72); font-size: 0.92rem; margin-top: 0; }

/* ---------- Article pages ---------- */
.article-hero {
  background: var(--navy);
  color: var(--ivory);
  padding: 90px 0 70px;
}
.article-hero .eyebrow { color: var(--steel); }
.back-link {
  display: inline-block;
  color: rgba(247,244,239,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 26px;
  transition: color 0.2s ease;
}
.back-link:hover { color: var(--ivory); }
.article-hero h1 {
  color: var(--ivory);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  max-width: 1000px;
  margin: 14px 0 22px;
}
.article-standfirst {
  color: rgba(247,244,239,0.82);
  font-size: 1.18rem;
  line-height: 1.6;
  max-width: 920px;
}
.article-meta {
  margin-top: 24px;
  color: var(--steel);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.article-body {
  max-width: 920px;
  padding-top: 60px;
  padding-bottom: 90px;
}
.article-body p {
  color: var(--charcoal);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.article-body h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  margin: 44px 0 16px;
}
.article-body ul {
  margin: 0 0 26px 0;
  padding-left: 0;
  list-style: none;
}
.article-body ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--charcoal);
  font-size: 1.06rem;
  line-height: 1.65;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  background: var(--steel);
  transform: rotate(45deg);
}
.pullquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.4;
  color: var(--navy);
  border-left: 3px solid var(--navy);
  padding: 8px 0 8px 28px;
  margin: 40px 0;
}
.article-cta {
  background: #EFEBE2;
  border-radius: 4px;
  padding: 40px 40px 44px;
  margin: 50px 0 40px;
  text-align: center;
}
.article-cta h3 { font-size: 1.5rem; margin-bottom: 12px; }
.article-cta p { color: var(--charcoal-soft); max-width: 520px; margin: 0 auto 24px; }
.article-disclaimer {
  color: var(--pewter);
  font-size: 0.82rem !important;
  line-height: 1.6;
  border-top: 1px solid rgba(10,31,58,0.12);
  padding-top: 24px;
}

/* ==========================================================================
   POLISH PASS (reversible) — added by agent.
   Pure cosmetic refinements that assume NO images exist yet, so the site
   looks a touch more finished whether or not licensed photos are dropped in.
   To revert: delete everything below this banner.
   ========================================================================== */

/* Give the flat navy image-placeholder panels a subtle woven depth so they
   read as an intentional design choice, not a missing asset. When a real
   photo is added, background-image overrides this and it simply disappears. */
.insight-featured .feat-thumb,
.row-thumb {
  background-image:
    linear-gradient(150deg, rgba(20,44,80,0.55), rgba(11,31,58,0.9)),
    radial-gradient(120% 120% at 20% 15%, rgba(168,176,184,0.16), transparent 60%);
}
.thumb-timing, .thumb-prepare, .thumb-tax, .thumb-ai { }

/* Slightly softer, more premium section rhythm on the ivory panels. */
.card { transition: background 0.25s ease, border-top-color 0.25s ease, box-shadow 0.25s ease; }

/* Refined focus-visible states for keyboard users (accessibility polish). */
a:focus-visible,
.btn:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 3px;
}

/* Guard: if a hero/insight image 404s, the baked-in navy gradient still
   covers the panel, so text stays legible. (No behavior change; documented.) */

/* ==========================================================================
   ARTICLE READING-WIDTH PASS (reversible) — added by agent.
   Widens the article reading column from ~760px to a more comfortable
   ~920px so long-form pages don't read as a thin ribbon on wide screens.
   Body targets ~900–960px (comfortable line length), standfirst matches,
   hero h1 can run slightly wider. To revert: delete this block.
   ========================================================================== */
.article-body      { max-width: 920px; }
.article-standfirst { max-width: 920px; }
.article-hero h1   { max-width: 1000px; }
