/* ============================================================
   ANNECTO ADVISORY — styles.css
   Design tokens, base styles, then one block per page section.
   Mobile-first: base styles target small screens; media queries
   layer on tablet (>=720px) and desktop (>=1024px) refinements.
============================================================ */

/* ------------------------------------------------------------
   1. DESIGN TOKENS
------------------------------------------------------------ */
:root {
  /* Brand palette */
  --navy: #0B1F3A;
  --navy-deep: #081729;        /* darker navy for footer / gradient ends */
  --navy-soft: #13294a;        /* lighter navy for panels on navy */
  --copper: #B8792F;
  --copper-dark: #9a6425;
  --copper-tint: #f4e7d4;
  --charcoal: #1F2933;
  --ivory: #F7F3EA;
  --white: #ffffff;
  --teal: #2F6F73;
  --teal-light: #6fb0b4;
  --teal-tint: #e4efef;

  /* Text */
  --text: var(--charcoal);
  --text-muted: #52606d;
  --text-on-dark: #eef2f7;
  --text-on-dark-muted: #b7c2d0;

  /* Typography */
  --font-display: "Spectral", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1160px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 1px 2px rgba(11, 31, 58, 0.06), 0 8px 24px rgba(11, 31, 58, 0.08);
  --shadow-card-hover: 0 2px 4px rgba(11, 31, 58, 0.08), 0 14px 34px rgba(11, 31, 58, 0.14);
  --border: 1px solid rgba(31, 41, 51, 0.12);
}

/* ------------------------------------------------------------
   2. BASE / RESET
------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* keep anchors clear of sticky header */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.2rem; line-height: 1.3; }

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

a { color: var(--teal); }
a:hover { color: var(--copper-dark); }

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.container.narrow { max-width: 780px; }

/* Section rhythm */
.section { padding: 72px 0; }
.section-ivory { background: var(--ivory); }
.section-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); }
.section-navy h2 { color: var(--text-on-dark); }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-intro { color: var(--text-muted); font-size: 1.06rem; }

/* Eyebrow labels */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 12px;
}
.eyebrow-light { color: var(--copper); }

.lead { font-size: 1.15rem; color: var(--navy); font-weight: 500; }

/* ------------------------------------------------------------
   3. BUTTONS
------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  transition: background-color 160ms ease, color 160ms ease,
              border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
}
.btn-lg { padding: 15px 28px; font-size: 1rem; }

.btn-primary {
  background: var(--copper);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(184, 121, 47, 0.28);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--copper-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--copper);
  color: var(--copper);
  background: rgba(184, 121, 47, 0.08);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--navy);
  color: var(--ivory);
}

/* ------------------------------------------------------------
   SECTION 1 — HEADER / NAVIGATION
------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 31, 58, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ivory);
}
.brand-mark { color: var(--ivory); flex-shrink: 0; }
.brand-mark .mark-accent { stroke: var(--copper); fill: none; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}
.site-nav a:not(.btn) {
  white-space: nowrap;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible {
  color: var(--white);
  border-bottom-color: var(--copper);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-cta { padding: 10px 18px; font-size: 0.9rem; white-space: nowrap; }

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--ivory);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1279px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 20px 20px;
    display: none;
  }
  .site-nav.is-open { display: flex; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav a:not(.btn) {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 1rem;
  }
  .nav-cta { margin-top: 16px; text-align: center; }
}

/* ------------------------------------------------------------
   SECTION 2 — HERO
------------------------------------------------------------ */
.hero {
  position: relative;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 70%);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: 84px 0 96px;
}

/* Subtle abstract network pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(47, 111, 115, 0.28), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(184, 121, 47, 0.14), transparent 38%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-sub {
  font-size: 1.12rem;
  color: var(--text-on-dark-muted);
  max-width: 52ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-actions.center { justify-content: center; }

/* Executive advisory panel */
.hero-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  max-width: 420px;
  width: 100%;
  justify-self: center;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}
.panel-title {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}
.panel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px rgba(184, 121, 47, 0.2);
}

.panel-list { list-style: none; }
.panel-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 2px;
  font-size: 0.92rem;
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.panel-list li:last-child { border-bottom: none; }

.panel-key {
  width: 9px; height: 9px;
  border-radius: 2px;
  flex-shrink: 0;
}
.key-copper { background: var(--copper); }
.key-teal { background: var(--teal-light); }

.panel-tag {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 2px 9px;
}

.panel-caption {
  display: block;
  margin-top: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; }
  .hero-panel { justify-self: end; }
}

/* ------------------------------------------------------------
   SECTION 3 — CREDIBILITY STRIP
------------------------------------------------------------ */
.cred-strip {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}
.cred-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: center;
}
.cred-list li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.cred-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--copper);
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   SECTION 5 — ADVISORY PILLARS
------------------------------------------------------------ */
.pillar-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 720px)  { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillar-grid { grid-template-columns: repeat(3, 1fr); } }

.pillar-card {
  background: var(--white);
  border: var(--border);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.pillar-card:nth-child(2) { border-top-color: var(--teal); }
.pillar-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.icon-copper { background: var(--copper-tint); color: var(--copper-dark); }
.icon-teal { background: var(--teal-tint); color: var(--teal); }

.check-list {
  list-style: none;
  margin-top: 16px;
}
.check-list li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 0.94rem;
  color: var(--text-muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
  transform: rotate(-45deg);
}
.pillar-card:nth-child(2) .check-list li::before {
  border-color: var(--teal);
}

/* ------------------------------------------------------------
   SECTION 9 — REPRESENTATIVE DELIVERABLES
------------------------------------------------------------ */
.deliverables-cols {
  display: grid;
  gap: 28px;
}
@media (min-width: 720px) { .deliverables-cols { grid-template-columns: repeat(3, 1fr); } }

.deliverables-group {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}

.group-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(31, 41, 51, 0.1);
}
.label-copper { color: var(--copper-dark); }
.label-teal { color: var(--teal); }

.doc-list { list-style: none; }
.doc-list li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: 0.94rem;
  color: var(--text-muted);
}
.doc-list li::before {
  /* Small document glyph made with borders */
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 13px;
  border: 1.5px solid var(--copper);
  border-radius: 2px;
}
.doc-list.list-teal li::before { border-color: var(--teal); }

/* ------------------------------------------------------------
   SECTION 11 — APPROACH (4 steps)
------------------------------------------------------------ */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 24px;
}
@media (min-width: 720px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 2px solid var(--copper);
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.93rem; color: var(--text-muted); margin: 0; }

/* ------------------------------------------------------------
   SECTION 12 — LEADERSHIP
------------------------------------------------------------ */
.leadership-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .leadership-grid { grid-template-columns: 340px 1fr; gap: 64px; }
  .leadership-photo { position: sticky; top: 96px; }
}

.leadership-photo {
  max-width: 340px;
  justify-self: center;
}
.leadership-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 51, 0.12);
  box-shadow: var(--shadow-card-hover);
  display: block;
}
.photo-caption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
  padding-left: 4px;
  border-left: 3px solid var(--copper);
  padding-left: 12px;
}
.caption-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--navy);
}
.caption-role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-dark);
}

.leadership-copy .btn { margin-top: 8px; }

/* Credentials sit slightly apart from the narrative paragraphs */
.credentials {
  font-size: 0.92rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(31, 41, 51, 0.12);
  padding-top: 16px;
  margin-top: 20px;
}

/* ------------------------------------------------------------
   SECTION 13 — FINAL CTA
------------------------------------------------------------ */
.final-cta {
  background:
    radial-gradient(circle at 20% 20%, rgba(47, 111, 115, 0.25), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(184, 121, 47, 0.18), transparent 40%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--text-on-dark);
  padding: 88px 0;
  text-align: center;
}
.final-cta h2 { color: var(--white); max-width: 20ch; margin-inline: auto; }
.final-cta p {
  color: var(--text-on-dark-muted);
  font-size: 1.08rem;
  max-width: 58ch;
  margin: 0 auto 32px;
}

/* ------------------------------------------------------------
   SECTION 14 — FOOTER
------------------------------------------------------------ */
.site-footer {
  background: var(--navy-deep);
  color: var(--text-on-dark-muted);
  padding: 56px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  gap: 36px;
  padding-bottom: 40px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
}

.footer-brand .brand-name {
  color: var(--ivory);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.94rem; max-width: 42ch; }
.footer-mail {
  color: var(--copper);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
}
.footer-mail:hover { color: var(--white); text-decoration: underline; }

.footer-nav ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 32px;
}
.footer-nav a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 20px;
}
.footer-bottom p { margin: 0; font-size: 0.84rem; }


/* ------------------------------------------------------------
   HERO PANEL — convergence graphic
------------------------------------------------------------ */
.panel-converge { margin-top: 16px; }

/* ------------------------------------------------------------
   SECTION 4 — CORE THESIS
------------------------------------------------------------ */
.thesis-grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 900px) {
  .thesis-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
}

.thesis-diagram { display: grid; gap: 14px; }
.dim-card {
  background: var(--white);
  border: var(--border);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
}
.dim-card.dim-teal { border-left-color: var(--teal); }
.dim-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.dim-card p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }
.dim-note {
  margin: 4px 0 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-dark);
}

/* ------------------------------------------------------------
   SECTION 7 — WHEN CLIENTS ENGAGE US
------------------------------------------------------------ */
.intro-light { color: var(--text-on-dark-muted); }

.situations { display: grid; gap: 18px; }
@media (min-width: 720px)  { .situations { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .situations { grid-template-columns: repeat(3, 1fr); } }

.situation {
  background: var(--navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 180ms ease, transform 180ms ease;
}
.situation:hover { border-color: rgba(184, 121, 47, 0.55); transform: translateY(-3px); }
.situation-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: 10px;
}
.situation h3 { color: var(--text-on-dark); font-size: 1.1rem; margin-bottom: 8px; }
.situation p { margin: 0; font-size: 0.93rem; color: var(--text-on-dark-muted); }

/* ------------------------------------------------------------
   SECTION 9 — GEOGRAPHIC ADVANTAGE
------------------------------------------------------------ */
.geo-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .geo-grid { grid-template-columns: 1.25fr 1fr 1fr; } }

.geo-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.geo-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }

.geo-primary {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: transparent;
}
.geo-primary h3 { color: var(--white); }
.geo-primary p { color: var(--text-on-dark-muted); }
.geo-primary .geo-label { color: var(--copper); background: rgba(184, 121, 47, 0.16); }

.geo-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-dark);
  background: var(--copper-tint);
  border-radius: 999px;
  padding: 3px 11px;
  margin-bottom: 14px;
}
.geo-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.geo-card p { margin: 0; font-size: 0.94rem; color: var(--text-muted); }

/* ------------------------------------------------------------
   FOOTER — independence note
------------------------------------------------------------ */
.footer-note {
  font-size: 0.8rem;
  color: rgba(183, 194, 208, 0.72);
  max-width: 74ch;
  margin-bottom: 10px;
}


/* ============================================================
   INSIGHTS — shared by insights.html and article.html
============================================================ */

/* Current page in the navigation */
.site-nav a[aria-current] {
  color: var(--white);
  border-bottom-color: var(--copper);
}

/* Compact navy page header (Insights index) */
.page-hero {
  position: relative;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 70%);
  color: var(--text-on-dark);
  padding: 72px 0 60px;
  overflow: hidden;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero-intro {
  color: var(--text-on-dark-muted);
  font-size: 1.1rem;
  max-width: 60ch;
  margin: 0;
}

.insights-section { padding: 64px 0 88px; }

/* Shared meta line: CATEGORY · date · reading time */
.insight-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.insight-category {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-dark);
}
.insight-meta .meta-sep { color: rgba(31, 41, 51, 0.3); }

.read-link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}
.read-link:hover,
.read-link:focus-visible { color: var(--copper-dark); border-bottom-color: currentColor; }

/* Featured Insight */
.insight-featured {
  background: var(--ivory);
  border: var(--border);
  border-left: 3px solid var(--copper);
  border-radius: var(--radius);
  padding: 34px 32px;
  margin-bottom: 56px;
}
@media (max-width: 719px) {
  .insight-featured { padding: 26px 22px; }
}
.featured-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.insight-featured h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  margin-bottom: 14px;
  max-width: 28ch;
}
.insight-featured h2 a,
.insight-row h3 a { color: inherit; text-decoration: none; }
.insight-featured h2 a:hover,
.insight-row h3 a:hover { color: var(--copper-dark); }
.insight-featured .insight-excerpt {
  font-size: 1.06rem;
  color: var(--text);
  max-width: 64ch;
}

/* Remaining insights: restrained editorial list */
.list-heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(31, 41, 51, 0.14);
  margin-bottom: 0;
}
.insight-list { list-style: none; }
.insight-row {
  display: grid;
  gap: 4px 40px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(31, 41, 51, 0.1);
}
@media (min-width: 900px) {
  .insight-row { grid-template-columns: 210px 1fr; }
  .insight-row .insight-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .insight-row .meta-sep { display: none; }
}
.insight-row h3 { font-size: 1.3rem; margin-bottom: 8px; }
.insight-excerpt { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 10px; }

/* Empty state */
.insights-empty {
  text-align: center;
  padding: 72px 24px;
  background: var(--ivory);
  border: var(--border);
  border-radius: var(--radius);
}
.insights-empty p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0;
}

/* ---------- Article page ---------- */
.article-wrap { padding: 64px 0 88px; }
.article-container { max-width: 720px; }

.article-title {
  font-size: clamp(1.9rem, 4.6vw, 2.8rem);
  margin-bottom: 18px;
}
.article-standfirst {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--charcoal);
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(31, 41, 51, 0.14);
}

.article-body { font-size: 1.06rem; line-height: 1.75; }
.article-body h2 { font-size: 1.6rem; margin: 44px 0 14px; }
.article-body h3 { font-size: 1.22rem; margin: 32px 0 10px; }
.article-body p { margin-bottom: 1.2em; }
.article-body ul,
.article-body ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.article-body li { margin-bottom: 0.45em; }
.article-body li::marker { color: var(--copper-dark); }
.article-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--copper-dark); }
.article-body blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--copper);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy);
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body hr { border: 0; border-top: 1px solid rgba(31, 41, 51, 0.14); margin: 36px 0; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 0 0 1.4em; }
.article-body th,
.article-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(31, 41, 51, 0.12); }
.table-scroll { overflow-x: auto; }

.article-sources {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(31, 41, 51, 0.14);
}
.article-sources h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.article-sources ol { padding-left: 1.3em; font-size: 0.9rem; color: var(--text-muted); }
.article-sources li { margin-bottom: 6px; }

.article-reviewed { font-size: 0.85rem; color: var(--text-muted); margin-top: 28px; }
.article-disclaimer { font-size: 0.82rem; color: var(--text-muted); margin-top: 24px; }

.article-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(31, 41, 51, 0.14);
}
.back-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
}
.back-link:hover,
.back-link:focus-visible { color: var(--copper-dark); }

.article-missing h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.article-missing p { color: var(--text-muted); }

/* ------------------------------------------------------------
   MOTION PREFERENCES
------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
