/* Playfair Display is loaded via <link> in each page's <head> (preconnect + non-render-blocking) */

/* =========================================================
   frederikbisbjerg.com — design system
   Editorial / premium. Aligned to the Bisbjerg & Co. brand guide:
   navy #1B3765 (base/interactive), green #72af47 (graphic accent / logo),
   orange #F05323 (labels / highlight). Headings: Playfair Display. Body: Poppins.
   ========================================================= */

:root {
  --bg:        #eef1f6;   /* light slate-blue */
  --surface:   #ffffff;
  --ink:       #181b22;   /* near-black text */
  --muted:     #5f6a74;   /* secondary text (cool) */
  --line:      #d6dce2;   /* hairlines (cool) */
  --accent:    #1b3765;   /* brand navy — primary interactive (links, buttons, eyebrows) */
  --accent-2:  #12274a;   /* darker navy — hover */
  --green:     #72af47;   /* brand green — graphic accent, matches the logo mark */
  --green-2:   #5c9438;   /* darker green */
  --gold:      #f05323;   /* brand orange — labels / highlight (token name kept for compatibility) */

  --max:    1080px;
  --measure: 64ch;

  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --space: clamp(1rem, 4vw, 2rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-2); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--space); }

section { padding-block: clamp(3rem, 8vw, 5.5rem); }

.rule { border: 0; border-top: 1px solid var(--line); }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); }
h3 { font-size: 1.2rem; line-height: 1.25; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.lede { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--muted); max-width: var(--measure); }

p { max-width: var(--measure); }
p + p { margin-top: 1rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.nav { display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: center; }
.nav a { font-size: 0.95rem; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: 0.98rem; font-weight: 600;
  padding: .7rem 1.3rem; border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent); color: #fff;
  transition: background .15s ease, transform .05s ease;
}
.btn:hover { background: var(--accent-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--accent-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.5rem, 10vw, 7rem); }
.hero h1 { margin: 1.2rem 0; max-width: 16ch; }
.hero .lede { margin-bottom: .5rem; }

.hero-grid { display: flex; align-items: center; gap: clamp(1.5rem, 5vw, 3.5rem); }
.hero-copy { flex: 1 1 auto; min-width: 0; }
/* Free-standing cut-out figure (transparent PNG) — no card, grounded with a soft shadow */
.hero-portrait {
  flex: 0 0 auto;
  align-self: flex-end;
  width: clamp(210px, 30vw, 340px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(20, 30, 50, .22));
}
@media (max-width: 680px) {
  .hero-grid { flex-direction: column-reverse; align-items: center; }
  .hero-portrait { width: clamp(190px, 60vw, 240px); }
}

/* Editorial full-width About hero — subject left, copy in the negative space */
.about-hero-full {
  position: relative;
  padding: 0;
  background: #c7c8c9;            /* matches the photo's seamless backdrop */
  overflow: hidden;
}
.about-hero-bg {
  display: block;
  width: 100%;
  height: clamp(430px, 50vw, 600px);
  object-fit: cover;
  object-position: 18% 22%;      /* bias up so the face clears the header */
}
.about-hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;          /* let the photo show through; links re-enabled below */
}
.about-hero-inner .wrap { width: 100%; }
.about-hero-full .about-hero-copy {
  margin-left: auto;
  width: min(46%, 500px);
  pointer-events: auto;
}
.about-hero-full .about-hero-copy .eyebrow { color: var(--accent); }
.about-hero-full .about-hero-copy h1,
.about-hero-full .about-hero-copy .lede { color: var(--ink); }
.about-hero-full .about-hero-copy h1 { text-shadow: 0 1px 0 rgba(255,255,255,.35); }

@media (max-width: 760px) {
  .about-hero-bg {
    height: auto;
    aspect-ratio: 1700 / 1108;
    object-position: 18% center;
  }
  .about-hero-inner { position: static; display: block; }
  .about-hero-full .about-hero-copy {
    width: 100%;
    margin: 0;
    padding-block: 1.4rem 1.8rem;
  }
}

/* ---------- Credibility strip ---------- */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem 2rem; padding-block: 2.2rem; }
.fact .n { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); line-height: 1; }
.fact .l { font-size: 0.9rem; color: var(--muted); margin-top: .4rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 2.5rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(0,0,0,.25); }
.card .tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); font-weight: 600; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--accent); }
.card p { font-size: 0.97rem; color: var(--muted); margin: 0; }
.card .meta { margin-top: auto; font-size: 0.85rem; color: var(--muted); display: flex; gap: .8rem; align-items: center; padding-top: .4rem; }
.card .arrow { color: var(--accent); font-weight: 600; font-size: 0.95rem; }

/* Section heading block */
.shead { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.shead h2 { margin-top: .4rem; }

/* ---------- About / prose ---------- */
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose ul { margin-top: 1rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-top: .35rem; max-width: var(--measure); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin-top: 1.5rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.5rem 1.5rem; max-width: var(--measure); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .55rem; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.timeline .role { font-weight: 600; }
.timeline .org { color: var(--ink); }
.timeline .when { font-size: 0.85rem; color: var(--muted); display: block; margin-top: .1rem; }

/* ---------- White-paper library (list) ---------- */
.wp-cat { margin-top: 3rem; }
.wp-cat:first-of-type { margin-top: .25rem; }
.wp-list { margin-top: 1rem; }
.wp-item { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.wp-item:last-child { border-bottom: 1px solid var(--line); }
.wp-kicker { font-size: .78rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.wp-kicker .tag { color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.wp-kicker .sep { opacity: .45; }
.wp-item h3 { margin: .5rem 0 .5rem; font-size: 1.35rem; line-height: 1.2; }
.wp-item h3 a { color: var(--ink); }
.wp-item h3 a:hover { color: var(--accent); }
.wp-item > p { color: var(--muted); margin: 0 0 .85rem; font-size: 1rem; max-width: 66ch; }
.wp-actions { display: flex; gap: 1.1rem; align-items: center; font-size: .92rem; }
.wp-actions .sep { color: var(--muted); opacity: .45; }
.wp-actions a[download] { color: var(--muted); }
.wp-actions a[download]:hover { color: var(--ink); }

/* ---------- White-paper library: search + filter + card grid ---------- */
.wp-controls {
  position: sticky; top: 60px; z-index: 10;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: saturate(160%) blur(8px);
  padding: 1rem 0 .85rem; margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.wp-search {
  width: 100%; font-family: var(--sans); font-size: 1.05rem;
  padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink);
}
.wp-search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.wp-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.wp-chip {
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  padding: .3rem .85rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  transition: all .12s ease;
}
.wp-chip:hover { border-color: var(--accent); color: var(--ink); }
.wp-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.wp-count { font-size: .85rem; color: var(--muted); margin: .7rem 0 0; }

.wp-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.wp-card {
  --cat: var(--accent);
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-top: 3px solid var(--cat); border-radius: 14px;
  padding: 1.15rem 1.3rem 1.25rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.wp-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(0,0,0,.45); }
.wp-card[hidden] { display: none; }   /* display:flex above would otherwise defeat [hidden] */
.wp-card[data-cat="ai-strategy"]            { --cat: #3f7a2a; }
.wp-card[data-cat="regulation-compliance"]  { --cat: #1b3765; }
.wp-card[data-cat="motor-claims-repair"]    { --cat: #c0451c; }
.wp-card[data-cat="markets"]                { --cat: #4a5560; }
.wp-card-top { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-bottom: .55rem; }
.wp-tag {
  display: inline-block; background: var(--cat); color: #fff;
  font-family: var(--sans); font-size: .66rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .16rem .55rem; border-radius: 999px;
}
.wp-card-meta { font-size: .8rem; color: var(--muted); }
.wp-card h3 { margin: .15rem 0 .5rem; font-size: 1.12rem; line-height: 1.3; }
.wp-card h3 a { color: var(--ink); }
.wp-card h3 a:hover { color: var(--cat); }
.wp-card > p { color: var(--muted); margin: 0 0 1rem; font-size: .97rem; flex: 1 1 auto; }
.wp-card .wp-actions { margin-top: auto; }
.wp-empty { color: var(--muted); padding: 2rem 0; }
.wp-card mark { background: color-mix(in srgb, var(--gold) 35%, transparent); color: inherit; padding: 0 .1em; border-radius: 2px; }

/* ---------- Clickable choice cards (Industry hub + About opener) ---------- */
.ins-card { display: flex; flex-direction: column; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.ins-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(0,0,0,.45); border-color: var(--accent); }
.ins-card h3 { color: var(--ink); margin: .5rem 0 .4rem; }
.ins-card:hover h3 { color: var(--accent); }
.ins-card p { color: var(--muted); margin: 0; }
.ins-card .tag { display: inline-flex; align-items: center; gap: .4rem; }
.ins-choice, .about-explore { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Industry Insights hub: two columns (latest news left, choices right) */
.ins-top { padding-block: clamp(.4rem, 1.5vw, 1rem) clamp(1.8rem, 5vw, 3rem); }
.ins-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.ins-news .news-headlines { margin-top: .9rem; }
.ins-choices { display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 760px) { .ins-grid { grid-template-columns: 1fr; } }

/* ---------- Insurance_Next book page ---------- */
.book-hero { position: relative; overflow: hidden; color: #fff; background: #0f2342; }
.book-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: 0; }
.book-hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(15,35,66,.94) 0%, rgba(15,35,66,.78) 42%, rgba(15,35,66,.34) 72%, rgba(15,35,66,.05) 100%);
}
.book-hero .wrap { position: relative; z-index: 2; width: 100%; padding-block: clamp(3rem, 8vw, 5.5rem); }
.book-hero .eyebrow { color: #f05323; }
.book-hero h1 { color: #fff; font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1.02; margin: .4rem 0 1rem; }
.book-hero h1 .us { color: #f05323; }
.book-tagline { color: #dfe6ea; font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 44ch; margin: 0 0 1.6rem; }
.book-btn { background: #f05323; border-color: #f05323; color: #fff; }
.book-btn:hover { background: #d2410f; border-color: #d2410f; color: #fff; }
.book-ghost { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.book-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* free-offer block: cover + copy */
.book-offer { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(1.8rem, 5vw, 3.5rem); align-items: center; }
.book-cover { width: 100%; height: auto; border-radius: 10px; filter: drop-shadow(0 26px 40px rgba(0,0,0,.28)); }
.book-offer-copy h2 { margin-top: .3rem; }
@media (max-width: 720px) {
  .book-offer { grid-template-columns: 1fr; }
  .book-cover { max-width: 260px; margin: 0 auto; }
}

/* chapter list */
.book-chapters { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: .55rem 1.6rem; counter-reset: none; }
.book-chapters li { display: flex; gap: .8rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.35; }
.book-chapters .ch-n { flex: 0 0 auto; font-family: var(--sans); font-weight: 700; font-size: .82rem; color: var(--accent); min-width: 1.6rem; }
.book-chapters li.bonus .ch-n { color: #f05323; }
.book-chapters li.bonus { font-weight: 600; }

/* endorsement quotes */
.book-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 1.6rem; }
.book-quote {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: 14px; padding: 1.4rem 1.5rem;
}
.book-quote p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.45; color: var(--ink); margin: 0 0 .9rem; }
.book-quote cite { font-style: normal; font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.contact-photo {
  width: 100%; height: 100%; min-height: 360px;
  object-fit: cover; object-position: 30% 30%;
  border-radius: 16px; border: 1px solid var(--line);
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-photo { order: -1; min-height: 0; aspect-ratio: 3 / 2; }
}

/* ---------- Contact form ---------- */
.contact-form .field { margin-bottom: 1.1rem; }
.contact-form label {
  display: block; font-family: var(--sans); font-size: .85rem; font-weight: 600;
  color: var(--ink); margin-bottom: .4rem;
}
.contact-form label .opt { font-weight: 400; color: var(--muted); }
.contact-form input,
.contact-form textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem;
  padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form .btn { margin-top: .3rem; cursor: pointer; }
.contact-form .btn:disabled { opacity: .6; cursor: default; }
.cf-status { margin: 1rem 0 0; font-size: .95rem; min-height: 1.2em; }
.cf-status.ok { color: #2f6b4f; font-weight: 600; }
.cf-status.err { color: #9e3b3b; font-weight: 600; }

/* ---------- White-paper article ---------- */
.wp-meta { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-top: 1.4rem; font-size: .9rem; color: var(--muted); }
.wp-meta .dot { opacity: .5; }
.article-body { margin-top: 0.5rem; }
.article-body h2 { margin-top: 2rem; font-size: 1.4rem; }
.article-body > h2:first-child, .article-body > h3:first-child, .article-body > p:first-child { margin-top: 0; }
.article-body h3 { margin-top: 1.5rem; font-size: 1.12rem; }

/* Article title (white papers) — more modest than the home hero */
.wp-hero h1 { font-size: clamp(1.65rem, 4.2vw, 2.4rem); margin: .6rem 0 .55rem; }
.wp-hero .lede { font-size: clamp(1.02rem, 2vw, 1.18rem); }
.article-body p, .article-body ul, .article-body ol { margin-top: 1rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-body li { margin-top: .4rem; max-width: var(--measure); }
.article-body strong { color: var(--ink); }
.wp-table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: .94rem; display: block; overflow-x: auto; }
.wp-table th, .wp-table td { border: 1px solid var(--line); padding: .55rem .75rem; text-align: left; vertical-align: top; }
.wp-table th { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); font-weight: 600; }
.backlink { display: inline-block; margin-bottom: 1rem; font-size: .9rem; }

/* ---------- Latest from LinkedIn ---------- */
.li-section { background: var(--surface); border-top: 1px solid var(--line); }
.li-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); margin-top: 2.5rem; }
.li-card {
  display: flex; flex-direction: column; gap: .7rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.5rem 1.6rem; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.li-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(0,0,0,.25); color: var(--ink); }
.li-date { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 600; }
.li-text { font-family: var(--serif); font-size: 1.08rem; line-height: 1.45; color: var(--ink); margin: 0; max-width: none; }
.li-foot { margin-top: auto; padding-top: .3rem; display: flex; flex-wrap: wrap; gap: .5rem .8rem; align-items: baseline; justify-content: space-between; }
.li-stats { font-size: .82rem; color: var(--muted); }
.li-read { font-size: .9rem; font-weight: 600; color: var(--accent); }
.li-card:hover .li-read { color: var(--accent-2); }
@media (max-width: 720px) { .li-grid { grid-template-columns: 1fr; } }

/* ---------- Speaking page ---------- */
.speak-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #16335c 0%, #1b3765 55%, #0f2342 100%);
}
.speak-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.speak-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12,22,30,.45) 0%, rgba(12,22,30,.74) 100%); }
.speak-hero-content { position: relative; z-index: 2; padding-block: clamp(4rem, 12vw, 7.5rem); }
.speak-hero .eyebrow { color: #9ccb6f; }
.speak-hero h1 { color: #fff; max-width: 17ch; }
.speak-hero .lede { color: #e7eef1; max-width: 56ch; }
.speak-hero .btn { background: #fff; color: #1b3765; border-color: #fff; }
.speak-hero .btn:hover { background: #eef2f1; color: #12274a; }
.speak-hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.speak-hero .btn.ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (prefers-reduced-motion: reduce) { .speak-hero-video { display: none; } }

.format-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.format-pill { border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.1rem; font-size: .95rem; background: var(--surface); color: var(--ink); }
.topic-card .tag { color: var(--accent); }
.topic-card .best { font-size: .82rem; color: var(--muted); margin-top: .2rem; }

/* ---------- Press kit ---------- */
.bio-block { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.4rem; margin-top: 1.1rem; }
.bio-block h3 { font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.copy-btn { font-family: var(--sans); font-size: .8rem; font-weight: 600; color: var(--accent); background: none; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; cursor: pointer; transition: all .15s ease; }
.copy-btn:hover { border-color: var(--accent); }
.copy-btn.copied { background: var(--accent); color: #fff; border-color: var(--accent); }
.bio-block p { margin-top: .7rem; }
.press-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-top: 1.4rem; }
.press-photo {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center; position: relative;
  transition: border-color .15s ease, transform .15s ease;
}
.press-photo:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); }
.press-photo.head { aspect-ratio: 1 / 1; }
.press-photo.tq { aspect-ratio: 2 / 3; }
/* cover from the TOP: keeps the head/face in frame, fills the tile as a portrait crop
   (full uncropped photo is still available via the download link) */
.press-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; }
.press-photo .ph-label { color: var(--muted); font-size: .82rem; text-align: center; padding: 1rem; line-height: 1.4; }

.photo-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 1.5rem; }
.photo-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }

/* Talk cards (YouTube) */
.talk-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 1.6rem; }
.talk-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.talk-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); box-shadow: 0 14px 32px -20px rgba(0,0,0,.3); }
.talk-thumb { display: block; position: relative; aspect-ratio: 16/9; background: #0f2342; }
.talk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.talk-thumb::after { content: "►"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(12,18,24,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; padding-left: 3px; transition: background .15s ease; }
.talk-card:hover .talk-thumb::after { background: var(--accent); }
.talk-body { display: block; padding: 1rem 1.2rem 1.2rem; }
.talk-title { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.talk-meta { display: block; color: var(--muted); font-size: .85rem; margin-top: .25rem; }
.talk-watch { display: block; color: var(--accent); font-weight: 600; font-size: .9rem; margin-top: .6rem; }

/* Mood band — full-width image with overlay (used sparingly) */
.mood-band { position: relative; overflow: hidden; color: #fff; background: #0f2342; }
.mood-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: 0; }
.mood-band-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,22,42,.85) 0%, rgba(10,22,42,.55) 55%, rgba(10,22,42,.35) 100%); }
.mood-band .wrap { position: relative; z-index: 2; padding-block: clamp(2.8rem, 7vw, 4.5rem); }
.mood-band .eyebrow { color: #9ccb6f; }
.mood-band h2 { color: #fff; }
.mood-band p { color: #e7eef1; }
.mood-band .btn { background: #fff; color: #1b3765; border-color: #fff; }
.mood-band .btn:hover { background: #eef2f1; color: #12274a; }

/* Axxion hero — team photo with copy written over it (mirrors .mood-band) */
.axxion-hero { position: relative; overflow: hidden; color: #fff; background: #0f2342;
  min-height: clamp(440px, 52vw, 620px); display: flex; align-items: center; }
.axxion-hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 28%; z-index: 0;
}
.axxion-hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(9,18,36,.94) 0%, rgba(9,18,36,.80) 38%, rgba(9,18,36,.42) 66%, rgba(9,18,36,.12) 100%);
}
.axxion-hero .wrap { position: relative; z-index: 2; width: 100%; padding-block: clamp(2.6rem, 6vw, 4rem); }
.axxion-hero .eyebrow { color: #9ccb6f; }
.axxion-hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.4); max-width: 16ch; }
.axxion-hero .lede { color: #e7eef1; max-width: 46ch; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.axxion-hero .btn { background: #fff; color: #1b3765; border-color: #fff; }
.axxion-hero .btn:hover { background: #eef2f1; color: #12274a; }
.axxion-hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.axxion-hero .btn.ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

@media (max-width: 680px) {
  .axxion-hero { min-height: 0; }
  .axxion-hero-overlay {
    background: linear-gradient(to bottom, rgba(9,18,36,.55) 0%, rgba(9,18,36,.78) 55%, rgba(9,18,36,.92) 100%);
  }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; padding-block: 2.2rem; }
.site-footer .links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); font-size: 0.95rem; }
.site-footer a:hover { color: var(--ink); }
.site-footer .copy { font-size: 0.85rem; color: var(--muted); }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.muted { color: var(--muted); }
.note { background: color-mix(in srgb, var(--gold) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--line)); border-radius: 12px; padding: 1.1rem 1.3rem; font-size: 0.95rem; color: var(--ink); }
.note strong { color: var(--ink); }

/* ---------- Home news panel (white, lifted) ---------- */
.news-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.25rem, 2.6vw, 1.9rem);
  box-shadow: 0 12px 34px -28px rgba(22, 32, 56, .3);
}
.news-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .8rem 1.4rem; flex-wrap: wrap; }
.news-panel-head h2 { margin-top: .3rem; font-size: clamp(1.3rem, 2.6vw, 1.65rem); }
.news-panel .eyebrow { display: inline-flex; align-items: center; gap: .5rem; }
.news-panel-sub { color: var(--muted); font-size: .95rem; margin-top: .45rem; max-width: 52ch; }
.news-panel-cta { flex: 0 0 auto; align-self: center; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 45%, transparent);
  animation: livePulse 2.6s ease-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 42%, transparent); }
  70%  { box-shadow: 0 0 0 6px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ---------- Reveal on scroll (subtle, elegant) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------- White section bands (break up the slate) ---------- */
.band { background: var(--surface); border-block: 1px solid var(--line); }
.band .card { background: color-mix(in srgb, var(--bg) 60%, var(--surface)); }

/* ---------- Subtle ambient + hover micro-interactions ---------- */
.arrow { transition: transform .2s ease, color .15s ease; }
.arrow:hover { transform: translateX(3px); }

.nav a[href="/news"] { position: relative; }
.nav a[href="/news"]::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px;
  border-radius: 50%; background: var(--green); vertical-align: middle;
  animation: livePulse 2.6s ease-out infinite;
}
@media (min-width: 981px) {
  .nav a { position: relative; }
  .nav a::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
    background: var(--green); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
  }
  .nav a:hover::before, .nav a[aria-current="page"]::before { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .nav a[href="/news"]::after { animation: none; }
  .arrow, .nav a::before { transition: none; }
}

#home-news.news-headlines { margin-top: 1.4rem; border-top: 1px solid var(--line); }
#home-news .news-row {
  gap: .9rem; padding: .85rem .6rem; margin: 0 -.6rem;
  border-bottom: 1px solid var(--line); border-radius: 10px;
  transition: background .14s ease;
}
#home-news .news-row:last-child { border-bottom: 0; }
#home-news .news-row:hover { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
#home-news .news-rowtitle { font-size: 1.06rem; line-height: 1.35; }
#home-news .news-row:hover .news-rowtitle { color: var(--accent); }
#home-news .news-rowmeta.muted { font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  #home-news .news-row { align-items: flex-start; padding: .8rem .5rem; margin: 0 -.5rem; }
}

/* ---------- Mobile nav / burger ---------- */
.site-header .wrap { position: relative; }
.nav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 11px;
  cursor: pointer; color: var(--ink);
}
.nav-toggle:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.nt-bars, .nt-bars::before, .nt-bars::after {
  content: ""; display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .2s ease, opacity .2s ease;
}
.nt-bars { position: relative; }
.nt-bars::before { position: absolute; top: -6px; left: 0; }
.nt-bars::after  { position: absolute; top: 6px;  left: 0; }
.site-header.nav-open .nt-bars { background: transparent; }
.site-header.nav-open .nt-bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nt-bars::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-header .nav {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 34px -18px rgba(0,0,0,.3);
    padding: .35rem var(--space) .9rem;
  }
  .site-header.nav-open .nav { display: flex; }
  .site-header .nav a {
    padding: .9rem .2rem; font-size: 1.08rem; color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .site-header .nav a:last-child { border-bottom: 0; }
  .site-header .nav a.hide-sm { display: block; }   /* show LinkedIn inside the menu */
  .site-header .nav a[aria-current="page"] { color: var(--accent); }
}

/* ---------- General mobile polish ---------- */
@media (max-width: 760px) {
  section { padding-block: clamp(2.2rem, 7vw, 3.2rem); }
  .facts .wrap { grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem; }
  .hero h1, h1 { overflow-wrap: break-word; }
  .wp-item h3 { font-size: 1.2rem; }
  .btn-row { gap: .6rem; }
  .btn { padding: .65rem 1.1rem; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .facts .wrap { grid-template-columns: 1fr; }
  .site-header .wrap { height: 58px; }
  .brand { font-size: 1.05rem; }
}
