/* ==========================================================
   Insights section · Cameron Smith — shared styles
   Derived from the main site design system (index.html)
   ========================================================== */
:root {
  --cream: #F6F1E8;
  --cream-2: #EEE6D6;
  --charcoal: #4D4D4D;
  --charcoal-soft: #6a6a6a;
  --slate: #708090;
  --slate-deep: #5c6675;
  --kw-red: #CE011F;
  --line: rgba(77,77,77,0.16);
  --line-soft: rgba(77,77,77,0.10);
  --shadow: 0 18px 50px -28px rgba(45,45,45,0.55);
  --maxw: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'Roboto', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--slate); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Typography ---- */
.eyebrow {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--slate); display: inline-block; }
.eyebrow.centered { justify-content: center; }
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(36px, 4.8vw, 56px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
.accent { font-family: 'EB Garamond', serif; font-style: italic; font-weight: 500; color: var(--slate); }
p { margin: 0 0 18px; max-width: 68ch; text-wrap: pretty; }
.lede { font-size: 20px; line-height: 1.6; }

/* ---- Layout ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
section { padding: 92px 0; }
.band { background: var(--cream-2); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 15px; letter-spacing: 0.01em;
  padding: 14px 26px; border-radius: 2px;
  border: 1px solid var(--charcoal); background: var(--charcoal); color: var(--cream);
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--slate); border-color: var(--slate); color: #fff; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--charcoal); }
.btn.ghost:hover { background: var(--slate); border-color: var(--slate); color: #fff; }

.textlink {
  font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 13px; font-weight: 500; color: var(--slate);
  display: inline-flex; align-items: center; gap: 8px;
}
.textlink .arr { transition: transform .2s ease; }
.textlink:hover .arr { transform: translateX(4px); }

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--charcoal); color: var(--cream);
  padding: 10px 18px; border-radius: 3px; z-index: 200;
  transition: top .2s ease; font-size: 14px;
}
.skip:focus { top: 12px; text-decoration: none; }

/* ---- Sticky CTA bar ---- */
.cta-bar {
  position: sticky; top: 0; z-index: 90;
  background: var(--cream-2); border-bottom: 1px solid var(--line);
  height: 46px; display: flex; align-items: center;
}
.cta-bar .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.cta-bar .id { font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; color: var(--charcoal); }
.cta-bar .id b { font-weight: 500; }
.cta-bar .id span { opacity: 0.55; }
.cta-bar .acts { display: flex; align-items: center; gap: 10px; }
.cta-bar .acts a {
  font-family: 'Roboto', sans-serif; font-size: 13px; font-weight: 500;
  color: var(--charcoal); padding: 6px 14px; border: 1px solid var(--line);
  border-radius: 2px; display: inline-flex; align-items: center; gap: 7px; background: var(--cream);
}
.cta-bar .acts a:hover { background: var(--slate); color: #fff; border-color: var(--slate); text-decoration: none; }
.cta-bar .acts a svg { width: 14px; height: 14px; }
.cta-bar .acts a .lbl-short { display: none; }

/* ---- Nav ---- */
nav.primary {
  position: sticky; top: 46px; z-index: 80;
  background: rgba(246,241,232,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
nav.primary .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand-lock { display: flex; align-items: center; gap: 14px; }
.brand-lock .name { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--charcoal); letter-spacing: -0.01em; }
.brand-lock a.home { color: var(--charcoal); }
.brand-lock a.home:hover { text-decoration: none; color: var(--slate); }
.brand-lock .divider { width: 1px; height: 26px; background: var(--line); }
.brand-lock img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-family: 'Roboto', sans-serif; font-size: 14.5px; color: var(--charcoal); font-weight: 400; }
.nav-links a:hover { color: var(--slate); text-decoration: none; }
.nav-links a.active { color: var(--slate); font-weight: 500; }
.nav-links a.nav-cta { font-weight: 500; color: var(--cream); background: var(--charcoal); padding: 9px 18px; border-radius: 2px; }
.nav-links a.nav-cta:hover { background: var(--slate); color: #fff; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--charcoal); margin: 5px 0; transition: .2s; }
.mobile-menu { display: none; }

/* ---- Insights hub ---- */
.hub-head { padding: 72px 0 0; }
.hub-head .section-head { margin-bottom: 36px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-pills button {
  font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 12.5px; font-weight: 500; color: var(--charcoal);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; cursor: pointer; transition: all .15s ease;
}
.filter-pills button:hover { border-color: var(--slate); color: var(--slate); }
.filter-pills button.on { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
a.post-card {
  display: flex; flex-direction: column;
  background: var(--cream); border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  color: var(--charcoal); transition: transform .2s ease, box-shadow .2s ease;
}
.band a.post-card { background: var(--cream); }
a.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.post-card .pic { position: relative; padding-top: 62%; overflow: hidden; }
.post-card .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95); }
.post-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card .tag { font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; color: var(--slate); }
.post-card h3 { font-size: 22px; line-height: 1.2; }
.post-card p { font-size: 15px; color: var(--charcoal-soft); margin: 0; }
.post-card .more {
  margin-top: auto; padding-top: 14px;
  font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 12.5px; font-weight: 500; color: var(--slate);
}
.post-card.hide { display: none; }

/* ---- Subscribe band ---- */
.subscribe-band { background: var(--cream-2); border: 1px solid var(--line); border-radius: 3px; padding: 44px 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.subscribe-band h3 { margin-bottom: 8px; }
.subscribe-band p { margin: 0; color: var(--charcoal-soft); font-size: 15.5px; }
.subscribe-band form { display: flex; gap: 10px; }
.subscribe-band input[type="email"] {
  flex: 1; font-family: 'Roboto', sans-serif; font-size: 16px; color: var(--charcoal);
  background: var(--cream); border: 1px solid var(--line); border-radius: 2px; padding: 13px 14px;
}
.subscribe-band input[type="email"]:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(112,128,144,0.15); }

/* ---- Article page ---- */
.article-hero { padding: 64px 0 0; }
.crumb { font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: var(--charcoal-soft); margin-bottom: 22px; }
.crumb a { color: var(--charcoal-soft); }
.crumb a:hover { color: var(--slate); }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: var(--charcoal-soft); margin: 22px 0 0; }
.article-meta .tag { color: var(--slate); }
.article-meta .dot { opacity: 0.4; }
.article-figure { margin: 40px 0 0; }
.article-figure img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 3px; filter: saturate(0.95); }
.article-figure figcaption { font-size: 13px; color: var(--charcoal-soft); margin-top: 10px; }

.article-body { max-width: 720px; padding: 56px 0 0; }
.article-body h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 40px 0 16px; }
.article-body h3 { font-size: clamp(20px, 2.2vw, 25px); margin: 32px 0 12px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 26px; }
.article-body li { margin-bottom: 8px; }
.article-body .pullquote {
  font-family: 'EB Garamond', serif; font-style: italic; font-size: 23px; line-height: 1.45;
  color: var(--charcoal); border-left: 3px solid var(--slate); padding: 6px 0 6px 26px; margin: 30px 0; max-width: 60ch;
}

/* Draft placeholder (removed when real text lands) */
.draft-note {
  border: 1.5px dashed var(--slate); border-radius: 3px; background: var(--cream-2);
  padding: 28px 30px; margin: 8px 0 18px; color: var(--charcoal-soft); font-size: 15.5px;
}
.draft-note b { color: var(--charcoal); font-weight: 500; }

/* ---- Local callout (In New Orleans) ---- */
.article-body .nola-callout {
  background: var(--cream-2); border-left: 3px solid var(--slate); border-radius: 0 3px 3px 0;
  padding: 24px 28px; margin: 34px 0; max-width: 68ch;
}
.article-body .nola-callout .h {
  font-family: 'Roboto Condensed', sans-serif; font-weight: 500; font-size: 12.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); margin: 0 0 8px;
}
.article-body .nola-callout p { margin: 0; font-size: 15.5px; line-height: 1.65; }

/* ---- FAQ list ---- */
.article-body .faq-list { margin: 6px 0 18px; }
.article-body .faq-item { border-top: 1px solid var(--line); padding: 22px 2px; }
.article-body .faq-item:last-child { border-bottom: 1px solid var(--line); }
.article-body .faq-item h3 { font-size: clamp(19px, 2vw, 22px); margin: 0 0 10px; }
.article-body .faq-item p { margin: 0; font-size: 15.5px; line-height: 1.65; }


/* ---- PDF gate ---- */
.pdf-gate { background: var(--cream-2); border: 1px solid var(--line); border-radius: 3px; padding: 38px 40px; margin: 56px 0 0; max-width: 720px; }
.pdf-gate h3 { font-size: 24px; margin-bottom: 8px; }
.pdf-gate > p { color: var(--charcoal-soft); font-size: 15.5px; margin-bottom: 22px; }
.pdf-gate .row { display: flex; gap: 10px; margin-bottom: 16px; }
.pdf-gate input[type="email"] {
  flex: 1; font-family: 'Roboto', sans-serif; font-size: 16px; color: var(--charcoal);
  background: var(--cream); border: 1px solid var(--line); border-radius: 2px; padding: 13px 14px;
}
.pdf-gate input[type="email"]:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(112,128,144,0.15); }
.pdf-gate label.sub { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--charcoal-soft); cursor: pointer; }
.pdf-gate label.sub input { margin-top: 4px; accent-color: var(--slate); }
.pdf-gate .fine { font-size: 12.5px; color: var(--charcoal-soft); opacity: 0.8; margin: 14px 0 0; }
.hidden { display: none; }
.form-success { padding: 1rem 0; }
.form-success p:first-child { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--charcoal); margin-bottom: 0.4rem; }

/* ---- Author card ---- */
.author-card { display: flex; gap: 20px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; margin: 56px 0 0; max-width: 720px; }
.author-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; filter: saturate(0.92); flex-shrink: 0; }
.author-card .who b { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 19px; display: block; }
.author-card .who span { font-size: 14px; color: var(--charcoal-soft); }
.author-card .who .links { margin-top: 6px; font-size: 14px; }

/* ---- Read next ---- */
.read-next { padding: 72px 0 92px; }
.read-next .post-grid { grid-template-columns: repeat(2, 1fr); max-width: 880px; }

/* ---- Footer ---- */
footer.site { background: var(--charcoal); color: rgba(246,241,232,0.82); padding: 64px 0 40px; font-size: 14px; }
footer.site a { color: rgba(246,241,232,0.82); }
footer.site a:hover { color: #fff; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(246,241,232,0.16); }
.foot-h { font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; color: #fff; margin-bottom: 18px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.news-form { display: flex; gap: 8px; margin-top: 12px; }
.news-form input { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(246,241,232,0.2); color: var(--cream); padding: 11px 13px; border-radius: 2px; font-size: 14px; }
.news-form input:focus { outline: none; border-color: #b9c2cc; }
.news-form button { background: var(--cream); color: var(--charcoal); border: none; padding: 0 18px; border-radius: 2px; font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 13px; cursor: pointer; }
.news-form button:hover { background: #b9c2cc; }
.compliance { padding-top: 36px; display: grid; gap: 18px; }
.compliance .logos { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.compliance .logos img.kw { height: 46px; width: auto; }
.compliance .logos img.mark { height: 42px; width: auto; background: #fff; padding: 3px; border-radius: 2px; }
.compliance .legal { font-size: 12.5px; line-height: 1.7; color: rgba(246,241,232,0.66); max-width: 80ch; }
.compliance .legal b { color: rgba(246,241,232,0.86); font-weight: 500; }

/* ---- Mobile ---- */
.mobile-fab { display: none; }
@media (max-width: 960px) {
  section { padding: 68px 0; }
  .post-grid, .read-next .post-grid { grid-template-columns: 1fr 1fr; }
  .subscribe-band { grid-template-columns: 1fr; padding: 32px 28px; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  nav.primary.open .mobile-menu { display: block; position: absolute; left: 0; right: 0; top: 66px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  nav.primary.open .mobile-menu a { display: block; padding: 16px 32px; border-bottom: 1px solid var(--line-soft); color: var(--charcoal); font-size: 16px; }
  .cta-bar .acts a .lbl-full { display: none; }
  .cta-bar .acts a .lbl-short { display: inline; }
  .cta-bar .acts a { padding: 7px 11px; }
  .cta-bar .id span { display: none; }
  .wrap { padding: 0 22px; }
  .post-grid, .read-next .post-grid { grid-template-columns: 1fr; }
  .pdf-gate { padding: 28px 24px; }
  .pdf-gate .row { flex-direction: column; }
  .subscribe-band form { flex-direction: column; }
  .mobile-fab {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    height: 58px; background: var(--cream); border-top: 1px solid var(--line);
  }
  .mobile-fab a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: var(--slate); border-right: 1px solid var(--line); font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px;
  }
  .mobile-fab a:last-child { border-right: none; }
  .mobile-fab a:hover { text-decoration: none; }
  .mobile-fab a svg { width: 19px; height: 19px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
