/* ------------------------------------------------------------------
   site.css — multi-page shell (Home / Insights / Videos / Tools / About)
   and the shared top bar + footer. Loaded after styles.css, which still
   styles the post pages and the videos grid.
   Layout: dark navy frame for navigation, heroes and calls to action;
   cream "paper" bands for reading content (same paper as post pages).
   ------------------------------------------------------------------ */
:root {
  --ink: #0a0e1a;          /* page frame */
  --ink-2: #10182b;        /* raised dark band */
  --panel: #121826;
  --gold: #d9a544;
  --gold-deep: #a8771f;    /* gold on cream */
  --paper: #f4efe4;        /* reading sheet */
  --paper-2: #ebe3d2;      /* second cream band */
  --navy: #1c2c52;         /* headings on cream */
  --body-ink: #2f3442;     /* running text on cream */
  --muted-ink: #5f6574;
  --line-ink: rgba(28, 44, 82, 0.14);
  --text: #edeff2;
  --muted: #8b94a3;
  --border: rgba(237, 239, 242, 0.12);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --wide: 1160px;
  color-scheme: dark;
}

body { background: var(--ink); }

.shell { max-width: var(--wide); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(10, 14, 26, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.topbar .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-weight: 700; font-size: 17px; letter-spacing: 0.08em; color: var(--text); }
.wordmark-bar { width: 4px; height: 26px; background: var(--gold); border-radius: 2px; }
.mainnav { display: flex; gap: 6px; font-family: var(--sans); font-size: 14.5px; font-weight: 500; }
.mainnav a { color: #c9ced8; padding: 10px 12px; border-bottom: 2px solid transparent; }
.mainnav a:hover { color: var(--text); }
.mainnav a[aria-current="page"] { color: var(--text); font-weight: 600; border-bottom-color: var(--gold); }
.menu-btn { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; color: var(--text); padding: 8px 10px; cursor: pointer; }
.menu-btn:focus-visible, .btn:focus-visible, .mainnav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--ink); border-bottom: 1px solid var(--border); padding: 8px max(24px, env(safe-area-inset-left, 0px)) 16px; }
  .mainnav.open { display: flex; }
  .mainnav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .mainnav a[aria-current="page"] { border-bottom-color: var(--border); color: var(--gold); }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 600; font-size: 15px; padding: 14px 22px; border-radius: 8px; border: 1px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #e4b558; }
.btn-ghost { border-color: rgba(237, 239, 242, 0.55); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-navy { background: var(--navy); color: var(--paper); }

.kicker { display: flex; flex-wrap: wrap; row-gap: 4px; font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.kicker .dot { margin: 0 8px; opacity: .7; }

.section-label { display: flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin: 0 0 28px; }
.section-label::before { content: ""; width: 36px; height: 3px; background: var(--gold); border-radius: 2px; }
.band-dark .section-label, .band-dark-2 .section-label { color: var(--text); }

/* ---------- Bands ---------- */
.band-paper { background: var(--paper); color: var(--body-ink); }
.band-paper-2 { background: var(--paper-2); color: var(--body-ink); }
.band-dark { background: var(--ink); color: var(--text); }
.band-dark-2 { background: var(--ink-2); color: var(--text); }
.band { padding-block: 72px; }
.band h2 { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 18px; text-wrap: balance; }
.band-dark h2, .band-dark-2 h2 { color: var(--text); }
.band p { font-family: var(--sans); font-size: 16.5px; line-height: 1.7; margin: 0; }

/* ---------- Home hero ---------- */
.hero2 { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 40%, #13213d 0%, var(--ink) 62%); }
.hero2 .stripes { position: absolute; inset: 0; pointer-events: none; }
.hero2 .stripes span { position: absolute; top: -20%; height: 160%; transform: rotate(38deg); transform-origin: top; }
.hero2 .s1 { right: 2%; width: 150px; background: rgba(29, 52, 92, 0.55); }
.hero2 .s2 { right: 17%; width: 70px; background: rgba(29, 52, 92, 0.32); }
.hero2 .s3 { right: 10%; width: 5px; background: var(--gold); opacity: .9; }
.hero2 .shell { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: end; gap: 24px; min-height: 560px; }
.hero2-text { padding-block: 72px 80px; align-self: center; min-width: 0; }
.hero2 h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; color: var(--text); margin: 22px 0 22px; text-wrap: balance; }
.hero2 h1 em { color: var(--gold); font-style: italic; }
.hero2 .lead { font-family: var(--sans); font-size: 18px; line-height: 1.6; color: #c4cad5; max-width: 520px; margin: 0 0 34px; }
.hero2 .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero2-photo { position: relative; align-self: end; justify-self: center; width: min(100%, 520px); margin-top: 44px; }
.hero2-photo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45)); }
.hero2-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 18%; background: linear-gradient(to bottom, transparent, var(--ink)); }

@media (max-width: 860px) {
  .hero2 .shell { grid-template-columns: 1fr; min-height: 0; }
  .hero2-photo { order: -1; width: min(78%, 340px); margin-top: 24px; }
  .hero2-text { padding-block: 8px 56px; }
  .hero2 .s1 { width: 90px; } .hero2 .s2 { display: none; }
}

/* ---------- Background strip ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.intro-grid .text-link { display: inline-block; margin-top: 22px; font-family: var(--sans); font-weight: 600; color: var(--gold-deep); border-bottom: 1px solid currentColor; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-ink); margin-top: 28px; }
.facts div { padding: 18px 16px 0 0; }
.facts b { display: block; font-family: var(--serif); font-size: 30px; color: var(--navy); font-weight: 600; }
.facts span { font-family: var(--sans); font-size: 13.5px; color: var(--muted-ink); line-height: 1.45; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Expertise ---------- */
.expertise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.expertise article { padding: 6px 26px 6px 0; }
.expertise article + article { border-left: 1px solid var(--line-ink); padding-left: 26px; }
.expertise svg { width: 40px; height: 40px; color: var(--gold-deep); }
.expertise h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin: 18px 0 10px; line-height: 1.35; }
.expertise p { font-size: 15px; line-height: 1.6; color: var(--muted-ink); }
@media (max-width: 900px) { .expertise { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; } .expertise article:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .expertise { grid-template-columns: 1fr; } .expertise article + article { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-ink); padding-top: 26px; } }

/* ---------- Featured insights ---------- */
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.row-head .text-link { font-family: var(--sans); font-weight: 600; color: var(--gold-deep); }
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.insight { display: flex; flex-direction: column; background: #fffdf8; border: 1px solid var(--line-ink); border-radius: 12px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.insight:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28, 44, 82, 0.14); }
.insight .thumb { aspect-ratio: 4 / 3; background: var(--ink); display: flex; align-items: center; justify-content: center; max-width: 100%; }
.insight .thumb img { width: 100%; height: 100%; object-fit: contain; }
.insight .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.insight .topic { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.insight h3 { font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--navy); margin: 0; font-weight: 600; text-wrap: balance; }
.insight p { font-size: 14.5px; line-height: 1.55; color: var(--muted-ink); }
.insight .more { margin-top: auto; padding-top: 6px; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--gold-deep); }
@media (max-width: 900px) { .insight-grid { grid-template-columns: 1fr; } .insight { flex-direction: row; } .insight .thumb { width: 38%; aspect-ratio: 1; flex-shrink: 0; } }
@media (max-width: 520px) { .insight { flex-direction: column; } .insight .thumb { width: 100%; aspect-ratio: 4/3; } }

/* ---------- Watch & try ---------- */
.split2 { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.short-feature { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; align-items: center; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.short-feature img { width: 150px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; }
.short-feature h3 { font-family: var(--serif); font-size: 22px; line-height: 1.3; margin: 10px 0 14px; color: var(--text); }
.short-feature p { color: var(--muted); font-size: 14.5px; }
.tool-list { display: grid; gap: 12px; }
.tool-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; transition: border-color .15s ease; }
.tool-row:hover { border-color: rgba(217, 165, 68, 0.55); }
.tool-row svg { width: 30px; height: 30px; color: var(--gold); }
.tool-row b { display: block; font-family: var(--sans); font-size: 15.5px; color: var(--text); }
.tool-row span { font-family: var(--sans); font-size: 13.5px; color: var(--muted); }
.tool-row .go { color: var(--gold); font-family: var(--sans); font-weight: 600; font-size: 14px; white-space: nowrap; }
@media (max-width: 900px) { .split2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .short-feature { grid-template-columns: 96px minmax(0, 1fr); } .short-feature img { width: 96px; } .tool-row { grid-template-columns: 36px minmax(0, 1fr); } .tool-row .go { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, #111b31 0%, var(--ink) 70%); border-bottom: 1px solid var(--border); }
.page-hero .shell { padding-block: 64px 60px; }
.page-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; color: var(--text); margin: 18px 0 16px; text-wrap: balance; }
.page-hero h1 em { color: var(--gold); }
.page-hero p { font-family: var(--sans); font-size: 18px; line-height: 1.6; color: #c4cad5; max-width: 640px; margin: 0; }

/* ---------- Tools page ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tool-card2 { display: flex; flex-direction: column; gap: 12px; background: #fffdf8; border: 1px solid var(--line-ink); border-radius: 14px; padding: 30px; transition: transform .15s ease, box-shadow .15s ease; }
.tool-card2:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28, 44, 82, 0.14); }
.tool-card2 svg { width: 42px; height: 42px; color: var(--gold-deep); }
.tool-card2 .tag { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.tool-card2 h3 { font-family: var(--serif); font-size: 24px; color: var(--navy); margin: 0; font-weight: 600; }
.tool-card2 p { font-size: 15.5px; color: var(--muted-ink); }
.tool-card2 .meta { font-family: var(--sans); font-size: 13.5px; color: var(--muted-ink); border-top: 1px solid var(--line-ink); padding-top: 14px; margin-top: auto; }
.tool-card2 .meta a { color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--line-ink); }
.tool-card2 .go { font-family: var(--sans); font-weight: 600; color: var(--gold-deep); }
@media (max-width: 760px) { .tool-grid { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.about-hero .shell { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 48px; align-items: center; }
.about-hero img { width: 100%; max-width: 340px; aspect-ratio: 4 / 5; object-fit: contain; object-position: 50% 100%; background: radial-gradient(90% 80% at 50% 35%, #1d2f55 0%, #10182b 75%); padding-top: 18px; border-radius: 14px; border: 1px solid var(--border); justify-self: end; }
@media (max-width: 760px) { .about-hero .shell { grid-template-columns: 1fr; } .about-hero img { justify-self: start; max-width: 220px; } }
.prose { max-width: 720px; }
.prose p + p { margin-top: 16px; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
.principles h3 { font-family: var(--serif); font-size: 19px; color: var(--navy); margin: 0 0 8px; font-weight: 600; }
.principles p { font-size: 15px; color: var(--muted-ink); }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .principles { grid-template-columns: 1fr; } }
.band .quote-band { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.4; color: var(--navy); max-width: 820px; text-wrap: balance; }

/* ---------- Get in touch (About) ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px; align-items: stretch; }
.contact-main { display: grid; gap: 20px; }
.contact-card { background: var(--ink-2); color: var(--text); border-radius: 14px; padding: 34px; display: flex; flex-direction: column; gap: 14px; }
.contact-card h3 { font-family: var(--serif); font-size: 28px; margin: 0; font-weight: 600; }
.contact-card p { color: #c4cad5; font-size: 15.5px; }
.contact-card .btn { align-self: flex-start; margin-top: 6px; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.copy-btn { font-family: var(--sans); font-size: 14px; font-weight: 600; background: none; color: var(--gold); border: 1px solid rgba(217,165,68,.55); border-radius: 8px; padding: 10px 14px; cursor: pointer; }
.areas { background: #fffdf8; border: 1px solid var(--line-ink); border-radius: 14px; padding: 30px 32px; }
.areas ol { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: a; }
.areas li { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--navy); padding: 18px 0; border-bottom: 1px solid var(--line-ink); }
.areas li span { display: block; font-weight: 400; font-size: 14px; color: var(--muted-ink); margin-top: 4px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer v2 ---------- */
.footer2 { background: #070a13; border-top: 1px solid var(--border); color: var(--text); }
.footer2 .shell { padding-block: 44px 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: center; }

.footer2 .tag { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.footer2 nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--sans); font-size: 14px; border-top: 1px solid var(--border); padding-top: 20px; }
.footer2 nav a { color: #c9ced8; }
.footer2 nav .copy { margin-left: auto; color: var(--muted); }
@media (max-width: 640px) { .footer2 .shell { grid-template-columns: 1fr; } .footer2 nav .copy { margin-left: 0; width: 100%; } }

.post-page .back-link { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) { .btn, .insight, .tool-card2 { transition: none; } }

/* ---------- Insights v2 ---------- */
.ins-page .section-label { margin-bottom: 22px; }
.ins-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 52px; }
.ins-chip { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--navy); background: #fffdf8; border: 1px solid var(--line-ink); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.ins-chip:hover { border-color: var(--gold-deep); }
.ins-chip.active { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.ins-chip:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.ins-feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 56px; }
.ins-feat { display: flex; flex-direction: column; background: #fffdf8; border: 1px solid var(--line-ink); border-radius: 12px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.ins-feat:hover, .ins-row:hover .ins-thumb { box-shadow: 0 14px 30px rgba(28, 44, 82, 0.14); }
.ins-feat:hover { transform: translateY(-3px); }
.ins-feat-img { aspect-ratio: 16 / 9; background: var(--ink); max-width: 100%; }
.ins-feat-img img { width: 100%; height: 100%; object-fit: contain; }
.ins-feat-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.ins-cat, .ins-meta { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.ins-feat h3 { font-family: var(--serif); font-size: 24px; line-height: 1.25; color: var(--navy); margin: 0; font-weight: 600; text-wrap: balance; }
.ins-feat p { font-size: 15px; color: var(--muted-ink); }
.ins-more { font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--gold-deep); }
.ins-count { font-family: var(--sans); font-size: 13.5px; color: var(--muted-ink); }
.ins-list { display: grid; gap: 0; border-top: 1px solid var(--line-ink); }
.ins-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-ink); }
.ins-thumb { aspect-ratio: 4 / 3; background: var(--ink); border-radius: 10px; overflow: hidden; transition: box-shadow .15s ease; max-width: 100%; }
.ins-thumb img { width: 100%; height: 100%; object-fit: contain; }
.ins-row-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ins-row h3 { font-family: var(--serif); font-size: 23px; line-height: 1.3; color: var(--navy); margin: 0; font-weight: 600; text-wrap: balance; }
.ins-row:hover h3 { color: #2b4278; }
@media (max-width: 760px) { .ins-feat-grid { grid-template-columns: 1fr; } .ins-row { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; } .ins-row h3 { font-size: 18px; } .ins-meta { font-size: 11px; } }
.ins-teaser { margin: 0 0 48px; }
.ins-search { display: flex; align-items: center; gap: 10px; max-width: 520px; background: #fffdf8; border: 1px solid var(--line-ink); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; color: var(--muted-ink); }
.ins-search:focus-within { border-color: var(--gold-deep); }
.ins-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--sans); font-size: 15px; color: var(--navy); }
.ins-empty { font-family: var(--sans); color: var(--muted-ink); padding: 24px 0; }
.ins-teaser, .ins-teaser .video-teaser-title, .ins-teaser .video-teaser-cta { color: var(--text); }
/* Insights rows: full info (number, topic, badges, description, quote, links) */
.ins-row { align-items: start; grid-template-columns: 220px minmax(0, 1fr); padding: 28px 0; }
.ins-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-family: var(--sans); }
.ins-num { font-size: 14px; font-weight: 700; color: var(--muted-ink); font-variant-numeric: tabular-nums; }
.ins-topic { font-size: 14px; font-weight: 700; color: var(--gold-deep); }
.ins-short { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--paper); background: var(--navy); border-radius: 4px; padding: 3px 8px; }
.ins-badge, .ins-lang { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-ink); border: 1px solid var(--line-ink); border-radius: 4px; padding: 2px 7px; }
.ins-date { font-size: 13px; color: var(--muted-ink); margin-left: 2px; }
.ins-row h3 a:hover { color: #2b4278; }
.ins-desc { font-size: 15.5px; line-height: 1.6; color: var(--muted-ink); }
.ins-quote { font-family: var(--serif) !important; font-style: italic; font-size: 16.5px; color: var(--navy); }
.ins-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 4px; }
.ins-link { font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--navy); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.ins-link-short { color: var(--gold-deep); }
.ins-row .ins-thumb { margin-top: 4px; }
@media (max-width: 760px) { .ins-row { grid-template-columns: 96px minmax(0, 1fr); } .ins-quote { display: none; } }
[hidden] { display: none !important; }

/* Videos page keeps the library grid from styles.css */
.videos-main { padding-top: 8px; padding-bottom: 40px; }
.split-hero .shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 48px; align-items: center; }
.split-hero .channel-card { margin: 0; }
@media (max-width: 860px) { .split-hero .shell { grid-template-columns: 1fr; gap: 28px; } }

/* Section labels used as headings */
.band h2.section-label, h2.section-label { font-family: var(--sans); font-size: 13px; font-weight: 700; line-height: 1.3; margin: 0 0 28px; text-wrap: wrap; }
.ins-page h2.section-label { margin-bottom: 22px; }
.row-head h2.section-label { margin-bottom: 28px; }

/* Footer name */
.footer2 .footer-name { font-family: var(--sans); font-size: 20px; font-weight: 700; letter-spacing: .06em; margin: 0 0 6px; }

/* Portrait as <picture> */
.hero2-photo picture { display: block; }
.about-hero picture { display: block; justify-self: end; width: 100%; max-width: 340px; }
.about-hero picture img { max-width: 100%; height: auto; }
@media (max-width: 760px) { .about-hero picture { justify-self: start; max-width: 220px; } }

/* Email address in "Get in touch" */
.email-row #email { font-family: var(--sans); font-size: 17px; color: var(--text); background: rgba(237, 239, 242, 0.07); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; overflow-wrap: anywhere; }
.copy-btn:focus-visible, .ins-link:focus-visible, .tool-row:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.insight p, .ins-feat p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* About hero: free-standing cut-out portrait (no frame), sitting on the hero's bottom edge */
.about-hero .shell { align-items: end; padding-bottom: 0; }
.about-hero .shell > div { padding-bottom: 60px; align-self: center; }
.about-hero picture { max-width: 360px; }
.about-hero img, .about-hero picture img { aspect-ratio: auto; object-fit: initial; background: none; padding: 0; border: 0; border-radius: 0; display: block; width: 100%; height: auto; filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.45)); }
@media (max-width: 760px) { .about-hero .shell > div { padding-bottom: 8px; } .about-hero picture { max-width: 260px; } }

/* Tools page: the whole card opens the simulator; post links stay clickable */
.tool-card2 { position: relative; cursor: pointer; }
.tool-card2 .go::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.tool-card2 .meta { position: relative; z-index: 1; }
.tool-card2:hover .go { text-decoration: underline; }
.about-hero { overflow: hidden; }
/* Fade the portrait's cut-off bottom edge on the image itself (an overlay would also darken the stripes) */
.hero2-photo::after { display: none; }
.hero2-photo img { -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }
.hero2-photo img { filter: none; }
.ins-page .ins-feat-note { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted-ink); margin: -10px 0 22px; }
.video-date { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
