/* ============================================================
   TOP MARGIN — Ghost theme
   Design system (Figma 2564:9880 — Components)
   ============================================================ */
:root {
    --ink: #10252c;          /* primary dark teal */
    --ink-dark: #0a181d;     /* darker hover */
    --card-hover: #243e47;   /* card hover body */
    --dark-bg: #16323a;      /* dark section background */
    --white: #ffffff;
    --bg: #ffffff;
    --muted: #a9a9a9;        /* meta text */
    --muted-ink: #5b6a6f;
    --line: rgba(16,37,44,0.14);
    --radius: 12px;
    --radius-sm: 8px;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --container: 1440px;
    --container-pad: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; line-height: 1.2; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1 0 auto; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--container-pad); padding-right: var(--container-pad); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 20px; border-radius: var(--radius); font-family: var(--font-sans); font-weight: 500; font-size: 18px; line-height: 1.45; transition: background .18s ease, color .18s ease, transform .18s ease; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #e9eef0; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-dark); }
.btn--sm { padding: 6px 14px; font-size: 15px; }

/* ---------- Text links ---------- */
.tlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); transition: color .18s ease; }
.tlink:hover { color: var(--card-hover); }
.tlink svg { width: 18px; height: 18px; }

/* ---------- Post card (Figma 2324:10610) ---------- */
.pcard { display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius); overflow: hidden; background: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(10,24,29,0.35); }
.pcard__media { aspect-ratio: 416 / 200; background: #0a181d; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { display: flex; flex-direction: column; gap: 16px; padding: 16px; background: var(--ink); transition: background .2s ease; }
.pcard:hover .pcard__body { background: var(--card-hover); }
.pcard__title { font-size: 24px; font-weight: 400; letter-spacing: 0.01em; line-height: 1.3; color: var(--white); }
.pcard__desc { display: flex; flex-direction: column; gap: 8px; }
.pcard__sum { font-size: 16px; letter-spacing: 0.01em; line-height: 1.4; color: var(--white); }
.pcard__meta { display: flex; align-items: center; gap: 16px; font-weight: 300; font-size: 12px; color: var(--muted); }
.pcard__sep { display: inline-block; width: 1px; height: 12px; background: var(--muted); }
.pcard--sm .pcard__media { aspect-ratio: 306 / 165; }
.pcard--sm .pcard__body { gap: 12px; }
.pcard--sm .pcard__title { font-size: 18px; }
.pcard--sm .pcard__sum { font-size: 12px; }
.pcard--sm .pcard__meta { font-size: 10px; }

/* ---------- Feed grid ---------- */
.feed { padding: 56px 0; }
.feed__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .feed__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feed__grid { grid-template-columns: 1fr; } }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--container); margin: 0 auto; padding: 16px var(--container-pad); }
.site-header__left { display: flex; align-items: center; gap: 48px; }
.site-logo { display: inline-flex; align-items: center; }
.site-logo__img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; }
.site-nav__menu { display: flex; align-items: center; gap: 32px; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 32px; }
.site-nav__list a { font-size: 16px; color: var(--ink); transition: opacity .18s ease; }
.site-nav__list a:hover, .site-nav__list .nav-current a { opacity: 0.6; }
.site-nav__cta { display: none; }
.site-nav__toggle { display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: transparent; }
.site-nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

/* Header CTA: dark on solid header, white on transparent header */
.site-header__cta { background: var(--ink); color: var(--white); }
.site-header__cta:hover { background: var(--ink-dark); }
.site-nav__cta { background: var(--ink); color: var(--white); }
.site-nav__cta:hover { background: var(--ink-dark); }
.home-template .site-header__cta, .page-insights .site-header__cta, .post-template .site-header__cta, .tag-insights .site-header__cta { background: var(--white); color: var(--ink); }
.home-template .site-header__cta:hover, .page-insights .site-header__cta:hover, .post-template .site-header__cta:hover, .tag-insights .site-header__cta:hover { background: #e9eef0; }

/* Logo variants (default: solid header shows dark logo) */
.site-logo__img--light { display: none; }
.site-logo__img--dark { display: block; }

/* ---------- Transparent header (home + insights) ---------- */
.home-template .site-header,
.page-insights .site-header,
.post-template .site-header,
.tag-insights .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; background: transparent; border-bottom: 0; }
.home-template .site-logo__img--dark, .page-insights .site-logo__img--dark, .post-template .site-logo__img--dark, .tag-insights .site-logo__img--dark { display: none; }
.home-template .site-logo__img--light, .page-insights .site-logo__img--light, .post-template .site-logo__img--light, .tag-insights .site-logo__img--light { display: block; }
.home-template .site-nav__list a, .page-insights .site-nav__list a, .post-template .site-nav__list a, .tag-insights .site-nav__list a { color: var(--white); }
.home-template .site-nav__list a:hover, .page-insights .site-nav__list a:hover, .post-template .site-nav__list a:hover, .tag-insights .site-nav__list a:hover,
.home-template .site-nav__list .nav-current a, .page-insights .site-nav__list .nav-current a, .post-template .site-nav__list .nav-current a, .tag-insights .site-nav__list .nav-current a { color: #d7f5ff; opacity: 1; }
.home-template .site-nav__toggle span, .page-insights .site-nav__toggle span, .post-template .site-nav__toggle span, .tag-insights .site-nav__toggle span { background: var(--white); }

/* ---------- Home top: shared blurred bg behind hero + feed (Figma 2949:1959) ---------- */
.tm-top { position: relative; overflow: hidden; background: var(--dark-bg); }
.tm-top__bg { position: absolute; top: 0; left: 0; right: 0; height: 1000px; z-index: 0; background-size: cover; background-position: center top; filter: blur(2.5px); transform: scale(1.05); -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 50%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 50%, rgba(0,0,0,0) 100%); }
.tm-top__fade { position: absolute; top: 0; left: 0; right: 0; height: 1000px; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(22,50,58,0.35) 0%, rgba(22,50,58,0.18) 30%, rgba(22,50,58,0) 60%); }
.tm-top > .tm-hero, .tm-top > .feed-home { position: relative; z-index: 2; background: transparent; }

/* ---------- Home hero (Figma 2949:1960) ---------- */
.tm-hero { position: relative; background: transparent; }
.tm-hero__inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 96px var(--container-pad) 44px; }
.tm-hero__frame { position: relative; max-width: 1056px; margin: 0 auto; border-radius: var(--radius); background-size: cover; background-position: center; overflow: hidden; }
.tm-hero__panel { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 60px 100px; border: 1px solid rgba(255,255,255,0.35); border-radius: var(--radius); overflow: hidden; }
.tm-hero__glow { position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 120%; height: 120%; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 20%, rgba(16,37,44,0.65) 0%, rgba(16,37,44,0.45) 40%, rgba(16,37,44,0.15) 70%, rgba(16,37,44,0) 100%); }
.tm-hero__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; max-width: 856px; color: var(--white); }
.tm-hero__title { font-size: clamp(34px, 4.4vw, 54px); font-weight: 400; line-height: 1.2; }
.tm-hero__sub { font-size: 16px; font-weight: 400; line-height: 1.4; color: rgba(255,255,255,0.92); }
.tm-hero__card { position: relative; z-index: 1; width: 636px; max-width: 100%; background: var(--white); border-radius: var(--radius); padding: 36px 60px; }
.tm-hero__form { width: 416px; max-width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.tm-hero__input { width: 100%; padding: 10px 16px; border: 1px solid #7f7f7f; border-radius: var(--radius); font-family: var(--font-sans); font-size: 16px; color: var(--ink); }
.tm-hero__input::placeholder { color: #6d6d6d; }
.tm-hero__input:focus { outline: none; border-color: var(--ink); }
.tm-hero__submit { width: 100%; margin-top: 4px; }
.tm-hero__success, .tm-hero__error { display: none; margin-top: 2px; font-size: 14px; text-align: center; }
.tm-hero__success { color: var(--ink); font-weight: 500; }
.tm-hero__error { color: #c0392b; }
.tm-hero__form.success .tm-hero__input, .tm-hero__form.success .tm-hero__submit { display: none; }
.tm-hero__form.success .tm-hero__success { display: block; }

/* ---------- Our Feed (Figma 2949:1986) — dark section ---------- */
.feed-home { position: relative; z-index: 2; background: transparent; padding: 32px 0 80px; }
.feed-home__title { font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--white); margin-bottom: 36px; }
/* Cards match Figma: transparent body + dark border on the dark section */
.feed-home .pcard, .news-archive .pcard { background: transparent; border: 1px solid var(--ink); }
.feed-home .pcard__body, .news-archive .pcard__body { background: transparent; }
.feed-home .pcard:hover .pcard__body, .news-archive .pcard:hover .pcard__body { background: var(--card-hover); }
.feed-home__big-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feed-home__small-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 24px; }
.feed-home__expand { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 1024px) {
    .feed-home__big-row { grid-template-columns: repeat(2, 1fr); }
    .feed-home__small-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .feed-home__big-row, .feed-home__small-row { grid-template-columns: 1fr; }
    .feed-home__title { font-size: 30px; }
}

@media (max-width: 900px) {
    .tm-hero__inner { padding: 96px var(--container-pad) 60px; }
    .tm-hero__panel { padding: 40px 24px; }
    .tm-hero__card { padding: 28px 24px; }
}

/* ---------- Strategic Oversight (Figma 2949:2003) — white section ---------- */
.oversight { background: var(--white); padding: 60px 0; }
.oversight__title { text-align: center; font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: 36px; }
.oversight__frame { max-width: 1074px; margin: 0 auto; border: 1px solid var(--ink); border-radius: var(--radius); padding: 18px; }
.oversight__frame img { width: 100%; display: block; border-radius: var(--radius); aspect-ratio: 1038 / 645; object-fit: cover; }
.oversight__row { display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: 1074px; margin: 60px auto 0; }
.oversight__details { flex: 0 1 634px; display: flex; flex-direction: column; gap: 24px; }
.oversight__header { display: flex; flex-direction: column; gap: 16px; }
.oversight__eyebrow { font-size: 18px; font-weight: 300; letter-spacing: 0.02em; color: var(--ink); }
.oversight__heading { font-size: 28px; font-weight: 400; line-height: 1.2; color: var(--ink); }
.oversight__text { font-size: 16px; line-height: 1.4; letter-spacing: 0.01em; color: var(--ink); }
.oversight__cta { align-self: flex-start; }
.oversight__stats { flex: 0 0 auto; display: flex; flex-direction: column; gap: 12px; }
.ostat { display: flex; align-items: center; gap: 12px; }
.ostat__icon { border: 1px solid var(--ink); border-radius: var(--radius); padding: 6px; }
.ostat__icon-inner { display: flex; background: var(--ink); border-radius: var(--radius); padding: 16px; }
.ostat__icon svg, .ostat__icon-inner img { width: 40px; height: 40px; color: var(--white); display: block; }
.ostat__text { display: flex; flex-direction: column; gap: 6px; }
.ostat__title { font-size: 22px; line-height: 1.2; color: var(--ink); }
.ostat__sub { font-size: 16px; line-height: 1.2; color: var(--ink); }
@media (max-width: 900px) {
    .oversight__row { flex-direction: column; align-items: flex-start; gap: 40px; }
    .oversight__details { flex: 0 1 auto; }
    .oversight__title { font-size: 30px; }
}

/* ---------- Shared dark backdrop behind Margin + Pillars (common bg image) ---------- */
.tm-mid { position: relative; overflow: hidden; background: var(--dark-bg); }
.tm-mid__bg { position: absolute; top: 0; right: -5%; width: 66%; height: 100%; z-index: 0; background-size: cover; background-position: center 32%; pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 78% 62% at 62% 52%, #000 34%, rgba(0,0,0,0) 82%);
    mask-image: radial-gradient(ellipse 78% 62% at 62% 52%, #000 34%, rgba(0,0,0,0) 82%); }
.tm-mid__fade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to bottom, rgba(22,50,58,0.72) 0%, rgba(22,50,58,0.30) 26%, rgba(22,50,58,0) 52%, rgba(22,50,58,0.25) 88%, var(--dark-bg) 100%); }
.tm-mid > .expert, .tm-mid > .toolbox, .tm-mid > .tm-cta { position: relative; z-index: 2; background: transparent; }
/* Insights shared backdrop: lower-right band behind the paragraph + CTA (clears the title) */
.page-insights .tm-mid__bg { top: 300px; bottom: auto; height: 560px; width: 58%; opacity: 0.65; background-position: center; }

/* ---------- The Margin of Superiority (Figma 2949:2046) — dark section ---------- */
.expert { position: relative; overflow: hidden; background: var(--dark-bg); padding: 80px 0 60px; }
.expert__content { position: relative; z-index: 2; display: flex; align-items: center; gap: 60px; }
.expert__media { flex: 0 0 636px; max-width: 636px; }
.expert__media img { width: 100%; height: 428px; object-fit: cover; border-radius: var(--radius); }
.expert__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 36px; color: var(--white); }
.expert__title { font-size: clamp(40px, 5vw, 64px); font-weight: 400; line-height: 1.2; }
.expert__quote { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.expert__q { font-style: italic; font-size: 20px; line-height: 1.4; letter-spacing: 0.01em; }
.expert__q--plain { font-style: normal; }
.expert__title--sm { font-size: 40px; }
@media (max-width: 900px) { .expert__title--sm { font-size: 32px; } }
.expert__attrib { display: flex; flex-direction: column; gap: 2px; }
.expert__name { font-size: 24px; font-weight: 500; letter-spacing: 0.01em; }
.expert__role { font-size: 16px; letter-spacing: 0.01em; }
@media (max-width: 900px) {
    .expert__content { flex-direction: column; align-items: flex-start; gap: 32px; }
    .expert__media { flex: 0 0 auto; width: 100%; }
    .expert__media img { height: auto; aspect-ratio: 636 / 428; }
    .tm-mid__bg { width: 100%; opacity: 0.35; }
    .expert__title { font-size: 40px; }
}

/* ---------- The Pillars of Resilience (Figma 2949:2061) ---------- */
.toolbox { position: relative; padding: 60px 0; }
.toolbox__title { text-align: center; font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--white); margin-bottom: 36px; }
.toolbox__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tool-card { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 32px 16px; border: 1px solid var(--ink); border-radius: var(--radius); background: rgba(25,47,55,0.10); backdrop-filter: blur(2.5px); text-align: center; }
.tool-card__icon { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; color: var(--white); }
.tool-card__icon svg, .tool-card__icon img { width: 96px; height: 96px; display: block; }
.tool-card__text { display: flex; flex-direction: column; gap: 8px; }
.tool-card__title { font-size: 18px; font-weight: 600; letter-spacing: 0.01em; color: var(--white); }
.tool-card__desc { font-size: 18px; font-weight: 300; line-height: 1.4; letter-spacing: 0.01em; color: var(--white); }
@media (max-width: 900px) {
    .toolbox__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .toolbox__title { font-size: 30px; }
}

/* ---------- CTA: Secure Your Place (Figma 2949:2080) ---------- */
.tm-cta { background: var(--dark-bg); padding: 40px 0 60px; }
.tm-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.tm-cta__details { flex: 0 1 636px; display: flex; flex-direction: column; gap: 12px; color: var(--white); }
.tm-cta__title { font-size: 34px; font-weight: 400; line-height: 1.2; }
.tm-cta__sub { font-size: 16px; font-weight: 300; line-height: 1.4; }
.tm-cta__card { flex: 0 0 636px; max-width: 100%; background: var(--white); border-radius: var(--radius); padding: 60px; display: flex; justify-content: center; }
.tm-cta__form { width: 416px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; }
.tm-cta__input { width: 100%; padding: 10px 16px; border: 1px solid #7f7f7f; border-radius: var(--radius); font-family: var(--font-sans); font-size: 16px; color: var(--ink); }
.tm-cta__input::placeholder { color: #6d6d6d; }
.tm-cta__input:focus { outline: none; border-color: var(--ink); }
.tm-cta__input + .tm-cta__input { margin-top: -4px; }
.tm-cta__submit { width: 100%; margin-top: 4px; }
.tm-cta__success, .tm-cta__error { display: none; margin-top: 2px; font-size: 14px; text-align: center; }
.tm-cta__success { color: var(--ink); font-weight: 500; }
.tm-cta__error { color: #c0392b; }
.tm-cta__form.success .tm-cta__input, .tm-cta__form.success .tm-cta__submit { display: none; }
.tm-cta__form.success .tm-cta__success { display: block; }
@media (max-width: 900px) {
    .tm-cta__inner { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px; }
    .tm-cta__details { flex: 0 0 auto; }
    .tm-cta__card { flex: 0 0 auto; padding: 32px 24px; }
    .tm-cta__form { width: 100%; }
    .tm-cta__title { font-size: 28px; }
}

/* ---------- Insights hero (Figma 2949:2182) ---------- */
.ins-hero { position: relative; overflow: hidden; background: var(--dark-bg); }
.ins-hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.ins-hero__fade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(to bottom, var(--dark-bg) 0%, rgba(22,50,58,0) 27%, rgba(22,50,58,0) 73%, var(--dark-bg) 100%),
        linear-gradient(to right, var(--dark-bg) 0%, rgba(22,50,58,0) 33%, rgba(22,50,58,0) 67%, var(--dark-bg) 100%); }
.ins-hero__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 150px; padding-bottom: 150px; }
.ins-hero__article { flex: 0 1 526px; display: flex; flex-direction: column; gap: 24px; color: var(--white); }
.ins-hero__eyebrow { font-size: 12px; font-weight: 300; letter-spacing: 0.04em; line-height: 1.4; }
.ins-hero__title { font-size: 36px; font-weight: 400; line-height: 1.2; }
.ins-hero__sub { font-size: 16px; font-weight: 300; line-height: 1.4; }
.ins-hero__status { flex: 0 0 416px; max-width: 416px; display: flex; flex-direction: column; gap: 4px; color: var(--white); }
.ins-hero__status-title { font-size: 24px; font-weight: 400; line-height: 1.2; }
.ins-hero__status-sub { font-size: 14px; font-weight: 300; line-height: 1.4; }
@media (max-width: 900px) {
    .ins-hero__inner { flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 120px; padding-bottom: 100px; }
    .ins-hero__article { flex: 0 0 auto; }
    .ins-hero__status { flex: 0 0 auto; }
    .ins-hero__title { font-size: 30px; }
}

/* ---------- Insights: Benefits (Figma 2949:2205) ---------- */
.ins-benefits { background: var(--dark-bg); padding: 0 0 80px; }
.ins-benefits__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; color: var(--white); }
.ins-benefits__title { font-size: 36px; font-weight: 400; line-height: 1.2; }
.ins-benefits__sub { font-size: 16px; font-weight: 300; line-height: 1.4; }
.ins-benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.bcard { display: flex; flex-direction: column; border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.bcard__media { position: relative; height: 300px; flex: 0 0 auto; }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcard__status { position: absolute; left: 15px; bottom: 16px; padding: 4px 16px; border-radius: var(--radius); background: rgba(34,62,71,0.5); backdrop-filter: blur(2px); font-size: 12px; font-weight: 300; color: #d3d3d3; white-space: nowrap; }
.bcard__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 24px; padding: 24px 16px; background: #223e47; color: var(--white); }
.bcard__title { font-size: 24px; font-weight: 400; line-height: 1.3; letter-spacing: 0.01em; }
.bcard__blocks { display: flex; flex-direction: column; gap: 12px; }
.bcard__block { display: flex; flex-direction: column; gap: 8px; }
.bcard__label { font-size: 18px; font-weight: 500; letter-spacing: 0.01em; }
.bcard__text { font-size: 16px; line-height: 1.4; letter-spacing: 0.01em; }
.bcard__text b { font-weight: 700; }
@media (max-width: 1024px) { .ins-benefits__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
@media (max-width: 640px) { .ins-benefits__title { font-size: 28px; } }

/* ---------- Insights: Strategic Overview (Figma 2949:2261) — white ---------- */
.ins-overview { background: var(--white); padding: 60px 0; }
.ins-overview__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; color: var(--ink); }
.ins-overview__title { font-size: 40px; font-weight: 400; line-height: 1.2; }
.ins-overview__sub { font-size: 20px; font-weight: 300; line-height: 1.4; }
.ins-overview__media { border-radius: var(--radius); overflow: hidden; }
.ins-overview__media img { width: 100%; display: block; aspect-ratio: 1296 / 631; object-fit: cover; }
.ins-overview__row { display: flex; align-items: flex-start; justify-content: center; gap: 60px; margin-top: 60px; }
.ins-overview__text { flex: 1 1 0; min-width: 0; font-size: 22px; font-weight: 400; line-height: 1.4; letter-spacing: 0.01em; color: var(--ink); }
.ins-table { flex: 0 0 auto; display: flex; gap: 6px; }
.ins-table__col { width: 212px; border: 1px solid #15301b; border-radius: var(--radius); padding: 6px; }
.ins-table__head { height: 45px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); background: #252c27; color: var(--white); font-size: 18px; font-weight: 500; letter-spacing: 0.01em; }
.ins-table__cell { position: relative; height: 45px; display: flex; align-items: center; justify-content: center; padding: 10px; font-size: 18px; color: var(--ink); letter-spacing: 0.01em; text-align: center; }
.ins-table__cell::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 68px; height: 1px; background: rgba(16,37,44,0.25); }
.ins-table__cell--last::after { display: none; }
@media (max-width: 1024px) {
    .ins-overview__row { flex-direction: column; align-items: stretch; gap: 32px; }
    .ins-table { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 640px) {
    .ins-overview__title { font-size: 28px; }
    .ins-table__col { width: 100%; }
    .ins-table { flex-direction: column; }
}

/* ---------- News archive (Figma 2909:3611) — dark page ---------- */
.news-archive { position: relative; overflow: hidden; background: var(--dark-bg); }
.news-archive__bg { position: absolute; z-index: 0; background-size: cover; pointer-events: none; opacity: 0.4; }
.news-archive__bg--1 { top: -60px; left: -80px; width: 640px; height: 1000px; background-position: center;
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at 32% 42%, #000 18%, rgba(0,0,0,0) 76%); mask-image: radial-gradient(ellipse 60% 55% at 32% 42%, #000 18%, rgba(0,0,0,0) 76%); }
.news-archive__bg--2 { left: 0; right: 0; bottom: 0; width: auto; height: 760px; background-position: center; opacity: 0.55;
    -webkit-mask-image: linear-gradient(to top, #000 50%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(to top, #000 50%, rgba(0,0,0,0) 100%); }
.news-archive__inner { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 80px; }
.news-archive > .tm-cta { position: relative; z-index: 2; background: transparent; }
.news-archive__head { margin-bottom: 36px; }
.news-archive__title { font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--white); }
.news-archive__sub { margin-top: 12px; font-size: 20px; font-weight: 300; line-height: 1.4; color: var(--white); }
.news-search { display: flex; gap: 12px; margin-top: 24px; }
.news-search__field { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; border: 1px solid var(--white); border-radius: var(--radius); padding: 10px 16px; cursor: pointer; }
.news-search__icon { width: 22px; height: 22px; color: var(--white); flex: 0 0 auto; }
.news-search__placeholder { font-size: 16px; color: #ababab; }
.news-search__btn { flex: 0 0 auto; min-width: 160px; }
.news-archive__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-archive__more { display: flex; justify-content: center; margin-top: 40px; }

/* Transparent header over the dark News page */
body:has(.news-archive) .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; background: transparent; border-bottom: 0; }
body:has(.news-archive) .site-logo__img--dark { display: none; }
body:has(.news-archive) .site-logo__img--light { display: block; }
body:has(.news-archive) .site-nav__list a { color: var(--white); }
body:has(.news-archive) .site-nav__list a:hover, body:has(.news-archive) .site-nav__list .nav-current a { color: #d7f5ff; opacity: 1; }
body:has(.news-archive) .site-nav__toggle span { background: var(--white); }
body:has(.news-archive) .site-header__cta { background: var(--white); color: var(--ink); }
@media (max-width: 1024px) { .news-archive__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
    .news-search { flex-direction: column; }
    .news-search__btn { min-width: 0; }
    .news-archive__title { font-size: 30px; }
}
@media (max-width: 640px) { .news-archive__grid { grid-template-columns: 1fr; } }

/* ---------- Legal page (Figma 2909:4097) — dark, left-aligned ---------- */
.legal { background: var(--dark-bg); padding-top: 120px; padding-bottom: 60px; }
.legal__title { font-size: 36px; font-weight: 400; letter-spacing: 0.01em; line-height: 1.4; color: var(--white); text-align: left; margin-bottom: 36px; }
.legal__updated { font-size: 12px; letter-spacing: 0.01em; color: #7e7e7e; text-align: left; margin-bottom: 24px; }
.legal .legal__content { max-width: none; margin: 0; }
.legal__content { max-width: none; margin: 0; color: var(--white); }
.legal__content > * + * { margin-top: 16px; }
.legal__content h2, .legal__content h3, .legal__content h4 { font-size: 18px; font-weight: 400; letter-spacing: 0.01em; line-height: 1.4; color: var(--white); text-align: left; margin-top: 24px; }
.legal__content p, .legal__content li { font-size: 16px; font-weight: 300; line-height: 1.4; letter-spacing: 0.01em; color: var(--white); }
.legal__content strong, .legal__content b { font-weight: 400; }
.legal__content a { text-decoration: underline; }
.legal__content ul, .legal__content ol { padding-left: 20px; }
.legal__content blockquote { border-left: 3px solid rgba(255,255,255,0.4); padding-left: 16px; color: rgba(255,255,255,0.85); }

/* Transparent header over the dark legal page */
body:has(.legal) .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; background: transparent; border-bottom: 0; }
body:has(.legal) .site-logo__img--dark { display: none; }
body:has(.legal) .site-logo__img--light { display: block; }
body:has(.legal) .site-nav__list a { color: var(--white); }
body:has(.legal) .site-nav__list a:hover, body:has(.legal) .site-nav__list .nav-current a { color: #d7f5ff; opacity: 1; }
body:has(.legal) .site-nav__toggle span { background: var(--white); }
body:has(.legal) .site-header__cta { background: var(--white); color: var(--ink); }
@media (max-width: 640px) { .legal__title { font-size: 28px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); color: var(--ink); }
.site-footer__inner { display: flex; flex-direction: column; gap: 36px; padding-top: 60px; padding-bottom: 60px; }
.site-footer__tagline { font-size: 22px; font-weight: 400; line-height: 1.4; color: var(--ink); max-width: 640px; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer__copy { font-size: 12px; line-height: 1.4; color: var(--ink); }
.site-footer__links { display: flex; gap: 36px; }
.site-footer__links a { font-size: 12px; line-height: 1.5; color: var(--ink); padding: 8px 10px; }
.site-footer__links a:hover { opacity: 0.6; }

@media (max-width: 640px) {
  .site-footer__links a {padding: 0; }
}

/* ---------- Archive header ---------- */
.archive-head { margin-bottom: 40px; }
.archive-head__title { font-size: 44px; }
.archive-head__desc { margin-top: 12px; max-width: 700px; color: var(--muted-ink); }

/* ---------- Single post (Figma 2909:4188) ---------- */
.post-hero { position: relative; overflow: hidden; background: var(--dark-bg); }
.post-hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.post-hero__scrim { position: absolute; inset: 0; z-index: 1; background: rgba(25,47,55,0.72); }
.post-hero__inner { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 120px; }
.post-hero__head { max-width: 1076px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.post-hero__top { display: flex; flex-direction: column; gap: 16px; }
.post-hero__meta { display: flex; align-items: center; justify-content: flex-end; gap: 16px; font-size: 12px; font-weight: 300; color: var(--white); }
.post-hero__title { font-size: clamp(32px, 4.4vw, 48px); font-weight: 400; line-height: 1.2; color: var(--white); }
.post-hero__excerpt { font-size: 16px; font-weight: 300; line-height: 1.4; letter-spacing: 0.01em; color: var(--white); }
.post-body { background: var(--white); padding: 60px 0; }
.post-body .post__content { max-width: 856px; margin: 0 auto; color: var(--ink); }
.related { background: var(--dark-bg); padding: 60px 0; }
.related__head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 36px; color: var(--white); }
.related__title { font-size: 40px; font-weight: 400; line-height: 1.2; }
.related__sub { font-size: 20px; font-weight: 300; line-height: 1.4; }
.related__grid { grid-template-columns: repeat(4, 1fr); }
.related .pcard { background: transparent; border: 1px solid var(--ink); }
.related .pcard__body { background: transparent; }
.related .pcard:hover .pcard__body { background: var(--card-hover); }
@media (max-width: 1024px) { .related__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .related__grid { grid-template-columns: 1fr; } .related__title { font-size: 30px; } }

/* ---------- Post content (base) ---------- */
.post__content { max-width: 800px; margin: 0 auto; }
.post__content > * + * { margin-top: 1.2em; }
.post__content h2 { font-size: 30px; margin-top: 1.6em; }
.post__content h3 { font-size: 24px; margin-top: 1.4em; }
.post__content img { border-radius: var(--radius); }
.post__content a { text-decoration: underline; }
.post__content blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 3px solid var(--ink); color: var(--muted-ink); font-style: italic; }

/* ---------- Koenig editor cards ---------- */
.kg-width-wide { position: relative; width: 85vw; min-width: 100%; margin-left: calc(50% - 42.5vw); transform: translateX(calc(42.5vw - 50%)); }
.kg-width-full { position: relative; width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.kg-width-full img { width: 100%; }
figure.kg-card { margin: 1.4em 0; }
.kg-image { margin-left: auto; margin-right: auto; }
.kg-embed-card { display: flex; flex-direction: column; align-items: center; width: 100%; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; margin: 48px 0; }

/* ---------- Subscribe modal (Figma 2286:9247 pattern) ---------- */
body.submodal-open { overflow: hidden; }
.submodal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.submodal[hidden] { display: none; }
.submodal__overlay { position: absolute; inset: 0; background: rgba(10,24,29,0.55); backdrop-filter: blur(2px); }
.submodal__dialog { position: relative; z-index: 1; width: 100%; max-width: 636px; background: var(--white); border-radius: var(--radius); padding: 36px 60px; box-shadow: 0 24px 60px rgba(10,24,29,0.35); }
.submodal__form { width: 416px; max-width: 100%; margin: 0 auto; }
.submodal__title { font-size: 34px; }
.submodal__close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--muted-ink); }
.submodal__close:hover { background: #eef2f3; color: var(--ink); }
.submodal__close svg { width: 20px; height: 20px; }
.submodal__title { text-align: center; font-size: 34px; color: var(--ink); }
.submodal__sub { margin-top: 12px; text-align: center; font-weight: 300; font-size: 16px; line-height: 1.4; color: var(--muted-ink); }
.submodal__form { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.submodal__input { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-sans); font-size: 16px; color: var(--ink); }
.submodal__input::placeholder { color: var(--muted); }
.submodal__input:focus { outline: none; border-color: var(--ink); }
.submodal__submit { width: 100%; margin-top: 4px; }
.submodal__success, .submodal__error { display: none; margin-top: 4px; font-size: 14px; text-align: center; }
.submodal__success { color: var(--ink); font-weight: 500; }
.submodal__error { color: #c0392b; }
.submodal__form.success .submodal__input, .submodal__form.success .submodal__submit { display: none; }
.submodal__form.success .submodal__success { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    :root { --container-pad: 24px; }
    .site-header__inner { position: relative; }
    .site-header__cta { display: none; }
    .site-nav__toggle { display: flex; position: absolute; right: var(--container-pad); top: 50%; transform: translateY(-50%); }
    .site-nav__menu { position: absolute; top: 100%; left: 0; right: 0; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 20px var(--container-pad) 24px; background: var(--ink); box-shadow: 0 12px 28px rgba(0,0,0,0.35); display: none; z-index: 30; }
    .site-header.is-open .site-nav__menu { display: flex; }
    /* Menu open: solid navy header + white logo/toggle on every page */
    .site-header.is-open { background: var(--ink); border-bottom-color: transparent; }
    .site-header.is-open .site-logo__img--dark { display: none; }
    .site-header.is-open .site-logo__img--light { display: block; }
    .site-header.is-open .site-nav__toggle span { background: var(--white); }
    .site-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
    /* Navy menu — white links on every page */
    .site-nav__menu .site-nav__list a { color: var(--white); padding: 10px 4px; font-size: 18px; }
    .site-nav__menu .site-nav__list a:hover, .site-nav__menu .site-nav__list .nav-current a { color: #d7f5ff; opacity: 1; }
    .site-nav__cta { display: inline-flex; width: 100%; justify-content: center; margin-top: 8px; background: var(--white); color: var(--ink); }
    .site-nav__cta:hover { background: #e9eef0; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
    .submodal__dialog { padding: 44px 24px 32px; border-radius: 16px; }
    .submodal__title { font-size: 26px; }
}
