/* ============================================================
   FrontLine — additions for Network map, Projects, Insights, News
   Design tokens reused from styles.css (--steel, --navy, --serif)
   ============================================================ */

/* Make existing nav less tight now we have 8 items */
.nav-links { gap: 22px !important; }
.nav-links .nav-link { font-size: 13px; }

/* Hamburger + mobile drawer (kicks in below 1100px to match existing breakpoint) */
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid rgba(10,31,61,0.15);
  border-radius: 3px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 0;
}
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--navy, #0A1F3D); transition: transform 0.3s var(--ease-io, ease), opacity 0.2s; }
.nav.dark:not(.scrolled) .nav-burger { border-color: rgba(255,255,255,0.3); }
.nav.dark:not(.scrolled) .nav-burger span { background: white; }
.nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-drawer {
  position: fixed; inset: 0; top: 0;
  background: rgba(10,31,61,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 90;
  display: flex; justify-content: flex-end;
  animation: fl-fade-in 0.3s ease-out;
}
.nav-drawer-inner {
  width: min(360px, 100%);
  background: var(--cream, #f6f4ef);
  height: 100vh;
  padding: 90px 32px 32px;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(10,31,61,0.2);
  animation: fl-drawer-in 0.45s var(--ease-out, ease-out);
}
@keyframes fl-drawer-in { from { transform: translateX(48px); opacity: 0; } }
/* Drawer links cascade in behind the panel slide */
.nav-drawer-link { animation: fl-panel-in 0.5s var(--ease-out, ease-out) backwards; }
.nav-drawer-link:nth-child(1) { animation-delay: 60ms; }
.nav-drawer-link:nth-child(2) { animation-delay: 100ms; }
.nav-drawer-link:nth-child(3) { animation-delay: 140ms; }
.nav-drawer-link:nth-child(4) { animation-delay: 180ms; }
.nav-drawer-link:nth-child(5) { animation-delay: 220ms; }
.nav-drawer-link:nth-child(6) { animation-delay: 260ms; }
.nav-drawer-link:nth-child(n+7) { animation-delay: 300ms; }
.nav-drawer-link {
  display: block;
  padding: 14px 0;
  font-size: 18px; letter-spacing: -0.01em;
  color: var(--navy, #0A1F3D);
  text-decoration: none;
  border-bottom: 1px solid rgba(10,31,61,0.08);
  transition: color 0.15s, padding-left 0.15s;
}
.nav-drawer-link:hover { color: #C75A2A; padding-left: 6px; }
.nav-drawer-link.active { color: #C75A2A; font-weight: 600; }
.nav-drawer-cta { margin-top: 24px; align-self: flex-start; }

@media (max-width: 1100px) {
  .nav-burger { display: inline-flex; }
  .cta-pill-desktop { display: none; }
  .nav-right { gap: 12px; }
}
@media (min-width: 1101px) {
  .nav-drawer { display: none !important; }
}

/* Home → all-news CTA */
.home-newscta { padding: 0 0 80px; background: var(--cream, #f6f4ef); text-align: center; }
.home-newscta .container { display: flex; justify-content: center; }

/* ============================================================
   NETWORK MAP — interactive
   ============================================================ */
.netmap { padding: 80px 0 120px; background: var(--cream, #f6f4ef); }
.netmap-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 36px; }
.netmap-head h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.02em; margin: 12px 0 0; color: var(--navy, #0A1F3D); }
.netmap-lede { justify-self: end; max-width: 52ch; font-size: 17px; line-height: 1.6; color: rgba(10,31,61,0.7); }
@media (max-width: 900px) {
  .netmap-head { grid-template-columns: 1fr; gap: 24px; }
  .netmap-lede { justify-self: start; }
}

.netmap-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; margin-bottom: 24px;
  background: white;
  border: 1px solid rgba(10,31,61,0.08);
  border-radius: 4px;
}
.netmap-legend { display: flex; gap: 28px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(10,31,61,0.65); }
.netmap-legend span { display: inline-flex; align-items: center; gap: 8px; }
.netmap-legend .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-hq { background: #C75A2A; box-shadow: 0 0 0 3px rgba(199,90,42,0.18); }
.dot-branch { background: #1F3A5A; }
.dot-agent { background: #1F3A5A; opacity: 0.5; border: 1.5px solid #1F3A5A; box-sizing: border-box; }

.netmap-viewtoggle { display: inline-flex; border: 1px solid rgba(10,31,61,0.15); border-radius: 3px; overflow: hidden; }
.netmap-viewtoggle button { padding: 6px 14px; background: transparent; border: none; font-size: 11px; letter-spacing: 0.16em; color: rgba(10,31,61,0.55); cursor: pointer; font-family: 'Geist Mono', 'JetBrains Mono', monospace; }
.netmap-viewtoggle button.on { background: var(--navy, #0A1F3D); color: white; }

.netmap-stage { position: relative; background: #f4f6f9; border: 1px solid rgba(10,31,61,0.08); border-radius: 4px; overflow: hidden; min-height: 480px; }
.netmap-svg { display: block; width: 100%; height: auto; }

/* SVG marker styles */
.nm-pulse { fill: rgba(31,58,90,0.15); }
.nm-pulse-hq { fill: rgba(199,90,42,0.22); animation: nmPulseHQ 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.nm-pulse-branch { fill: rgba(31,58,90,0.18); animation: nmPulse 2.8s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.nm-pulse-agent { fill: rgba(31,58,90,0.10); animation: nmPulse 3s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes nmPulse { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes nmPulseHQ { 0% { transform: scale(0.5); opacity: 0.95; } 100% { transform: scale(1.9); opacity: 0; } }
.nm-dot { stroke: white; stroke-width: 1.5; }
.nm-dot-hq { fill: #C75A2A; }
.nm-dot-branch { fill: #1F3A5A; }
.nm-dot-agent { fill: white; stroke: #1F3A5A; stroke-width: 2; }
.nm-dot.is-active { stroke: #C75A2A; stroke-width: 2.5; }
.nm-label { fill: rgba(10,31,61,0.7); }
.nm-label-hq { fill: #C75A2A; font-weight: 600; }

/* Side panel */
.netmap-panel {
  position: absolute; top: 16px; right: 16px; width: 340px; max-width: calc(100% - 32px);
  background: white; border: 1px solid rgba(10,31,61,0.12);
  border-radius: 4px; padding: 22px;
  box-shadow: 0 10px 40px rgba(10,31,61,0.12);
  font-size: 14px; color: rgba(10,31,61,0.85);
}
.netmap-panel-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid rgba(10,31,61,0.08); margin-bottom: 14px; }
.netmap-panel-tier { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #C75A2A; margin-bottom: 4px; }
.netmap-panel h3 { margin: 0; font-size: 22px; line-height: 1.15; color: var(--navy, #0A1F3D); }
.netmap-panel-note { font-size: 12px; color: rgba(10,31,61,0.55); margin-top: 6px; font-style: italic; }
.netmap-panel-close { background: transparent; border: 1px solid rgba(10,31,61,0.15); width: 28px; height: 28px; border-radius: 3px; cursor: pointer; font-size: 18px; line-height: 1; color: rgba(10,31,61,0.6); flex-shrink: 0; }
.netmap-panel-close:hover { background: rgba(10,31,61,0.05); }
.netmap-panel-row { padding: 10px 0; border-bottom: 1px solid rgba(10,31,61,0.06); }
.netmap-panel-row:last-child { border-bottom: 0; }
.netmap-panel-row .lab { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(10,31,61,0.5); margin-bottom: 6px; }
.netmap-panel-val a { color: var(--navy, #0A1F3D); text-decoration: underline; text-decoration-color: rgba(10,31,61,0.25); }
.netmap-panel-val a:hover { text-decoration-color: #C75A2A; }
.netmap-services { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.netmap-services li { font-size: 12px; padding: 4px 10px; background: rgba(31,58,90,0.06); border-radius: 2px; color: var(--navy, #0A1F3D); }

@media (max-width: 720px) {
  .netmap-panel { position: static; width: 100%; max-width: 100%; margin-top: 16px; }
}

/* List fallback */
.netmap-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.netmap-listitem { background: white; border: 1px solid rgba(10,31,61,0.1); border-radius: 4px; padding: 22px; }
.netmap-listitem-hq { border-color: rgba(199,90,42,0.4); border-width: 2px; }
.li-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.li-tier { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(10,31,61,0.55); }
.li-tier-hq { color: #C75A2A; }
.li-code { font-size: 11px; letter-spacing: 0.18em; color: rgba(10,31,61,0.4); }
.netmap-listitem h3 { margin: 0 0 4px; font-size: 18px; color: var(--navy, #0A1F3D); }
.li-note { font-size: 12px; color: rgba(10,31,61,0.5); font-style: italic; margin-bottom: 10px; }
.li-row { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 8px 0; font-size: 13px; border-top: 1px solid rgba(10,31,61,0.06); }
.li-row .lab { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(10,31,61,0.5); padding-top: 2px; }
.li-row a { color: var(--navy, #0A1F3D); text-decoration: underline; text-decoration-color: rgba(10,31,61,0.25); }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-section { padding: 60px 0 120px; }
.projects-filter, .insights-filter { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.projects-filter .filter-label, .insights-filter .filter-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(10,31,61,0.5); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
  background: white; border: 1px solid rgba(10,31,61,0.15); border-radius: 999px;
  padding: 7px 14px; font-size: 12px; cursor: pointer;
  color: rgba(10,31,61,0.75); font-family: inherit;
}
.filter-pill:hover { border-color: rgba(10,31,61,0.4); }
.filter-pill.on { background: var(--navy, #0A1F3D); color: white; border-color: var(--navy, #0A1F3D); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1080px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .projects-grid { grid-template-columns: 1fr; } }

.project-card {
  background: white; border: 1px solid rgba(10,31,61,0.1); border-radius: 4px;
  cursor: pointer; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column; overflow: hidden;
}
.project-card:hover { border-color: rgba(199,90,42,0.5); box-shadow: 0 6px 24px rgba(10,31,61,0.08); }
.project-card.is-template { background: repeating-linear-gradient(135deg, white 0 8px, #f7f8fa 8px 16px); }
.project-thumb { position: relative; aspect-ratio: 2/1; background: #eef1f5; overflow: hidden; }
.project-thumb svg { width: 100%; height: 100%; display: block; }
.project-thumb-label { position: absolute; top: 12px; left: 12px; font-size: 10px; letter-spacing: 0.18em; color: rgba(10,31,61,0.55); }

.project-body { padding: 22px; }
.project-meta { display: flex; gap: 8px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(10,31,61,0.5); margin-bottom: 10px; }
.project-card h3 { font-size: 20px; line-height: 1.25; color: var(--navy, #0A1F3D); margin: 0 0 16px; letter-spacing: -0.01em; }

.project-spec { display: grid; gap: 10px; margin: 0 0 16px; }
.project-spec > div { display: grid; grid-template-columns: 80px 1fr; gap: 10px; align-items: baseline; }
.project-spec dt { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(10,31,61,0.5); }
.project-spec dd { margin: 0; font-size: 14px; color: rgba(10,31,61,0.85); line-height: 1.4; }

.project-expand { font-size: 11px; letter-spacing: 0.14em; color: #C75A2A; padding-top: 12px; border-top: 1px solid rgba(10,31,61,0.08); }
.project-detail { padding: 20px 22px 24px; border-top: 1px solid rgba(10,31,61,0.08); background: #fbfbf8; }
.project-detail .pd-row { padding: 10px 0; }
.project-detail .pd-row + .pd-row { border-top: 1px solid rgba(10,31,61,0.05); }
.project-detail .lab { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(10,31,61,0.5); margin-bottom: 6px; }
.project-detail p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(10,31,61,0.85); }

/* ============================================================
   INSIGHTS
   ============================================================ */
.insights-section { padding: 60px 0 120px; }
.insights-newsline {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 22px; padding: 10px 16px;
  background: rgba(10,31,61,0.04); border-radius: 3px;
  font-size: 13px; color: rgba(10,31,61,0.7);
}
.insights-newsline a { color: #C75A2A; text-decoration: none; font-weight: 600; }
.insights-newsline a:hover { text-decoration: underline; }

.insight-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: white; border: 1px solid rgba(10,31,61,0.1); border-radius: 4px;
  cursor: pointer; overflow: hidden; margin-bottom: 56px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.insight-featured:hover { border-color: rgba(199,90,42,0.5); box-shadow: 0 8px 30px rgba(10,31,61,0.1); }
.if-thumb { position: relative; aspect-ratio: 5/3; min-height: 260px; }
.if-thumb svg { width: 100%; height: 100%; display: block; }
.if-thumb-label { position: absolute; top: 16px; left: 16px; font-size: 10px; letter-spacing: 0.2em; color: rgba(207,230,245,0.85); }
.if-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.if-meta { display: flex; gap: 10px; font-size: 11px; letter-spacing: 0.14em; color: rgba(10,31,61,0.55); margin-bottom: 14px; }
.if-meta .if-cat { color: #C75A2A; font-weight: 600; }
.insight-featured h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.015em; color: var(--navy, #0A1F3D); margin: 0 0 14px; }
.if-body p { font-size: 16px; line-height: 1.55; color: rgba(10,31,61,0.75); margin: 0 0 18px; }
.if-author { font-size: 12px; letter-spacing: 0.12em; color: rgba(10,31,61,0.5); }
@media (max-width: 900px) { .insight-featured { grid-template-columns: 1fr; } .if-body { padding: 28px 22px; } }

.insights-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.insights-search input {
  background: white; border: 1px solid rgba(10,31,61,0.15); border-radius: 999px;
  padding: 9px 16px; font-size: 13px; min-width: 220px; font-family: inherit;
  color: var(--navy, #0A1F3D);
}
.insights-search input:focus { outline: none; border-color: #C75A2A; }

.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1080px) { .insights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .insights-grid { grid-template-columns: 1fr; } }
.insights-empty { padding: 60px; text-align: center; color: rgba(10,31,61,0.5); font-size: 12px; letter-spacing: 0.16em; }

/* Newsroom unified feed */
.filter-pill .pill-count { display: inline-block; margin-left: 8px; font-size: 10px; opacity: 0.6; padding: 1px 6px; background: rgba(10,31,61,0.08); border-radius: 999px; }
.filter-pill.on .pill-count { background: rgba(255,255,255,0.18); opacity: 0.9; }
.nr-card .ic-thumb-label { display: flex; align-items: center; gap: 8px; }
.nr-kind { font-size: 9px; letter-spacing: 0.2em; padding: 3px 7px; border-radius: 2px; }
.nr-kind-news { background: rgba(31,58,90,0.85); color: white; }
.nr-kind-insight { background: rgba(199,90,42,0.95); color: white; }
.nr-kind-project { background: rgba(31,58,90,0.85); color: white; border: 1px solid rgba(255,255,255,0.5); }
.nr-card.nr-news .ic-thumb-label, .nr-card.nr-project .ic-thumb-label { color: rgba(10,31,61,0.6); }
.nr-card.nr-insight .ic-thumb-label { color: rgba(255,255,255,0.85); }
.nr-live { position: absolute; top: 12px; right: 12px; font-size: 10px; letter-spacing: 0.18em; color: #C75A2A; background: white; padding: 3px 7px; border-radius: 2px; }
.nr-readmore { color: #C75A2A; }
.nr-expanded { -webkit-line-clamp: unset !important; display: block !important; overflow: visible !important; }

/* Newsroom — simple article list */
.nr-list { max-width: 820px; margin: 0 auto; }
.nr-item { border-top: 1px solid rgba(10,31,61,0.12); padding: 32px 0; cursor: pointer; }
.nr-item:first-child { border-top: 0; padding-top: 8px; }
.nr-eyebrow-row { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(10,31,61,0.45); margin-bottom: 12px; }
.nr-eyebrow-row .nr-tag { color: #C75A2A; }
.nr-item h2 { font-size: 27px; line-height: 1.22; letter-spacing: -0.015em; color: var(--navy, #0A1F3D); margin: 0 0 12px; }
.nr-standfirst { font-size: 17px; line-height: 1.6; color: rgba(10,31,61,0.72); margin: 0 0 14px; max-width: 70ch; }
.nr-article-body { margin: 4px 0 18px; max-width: 70ch; }
.nr-article-body p { font-size: 16px; line-height: 1.72; color: rgba(10,31,61,0.82); margin: 0 0 16px; }
.nr-article-body p:last-child { margin-bottom: 0; }
.nr-cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #C75A2A; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.nr-cta:hover { border-bottom-color: #C75A2A; }
.news-card .img { overflow: hidden; }
.news-card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nr-img { aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; margin-bottom: 18px; background: #eef1f5; }
.nr-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nr-toggle { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(10,31,61,0.5); }
.nr-item:hover .nr-toggle, .nr-open .nr-toggle { color: #C75A2A; }
@media (max-width: 720px) {
  .nr-item h2 { font-size: 22px; }
  .nr-standfirst { font-size: 16px; }
}

.case-detail { padding: 16px 0 32px; }
.case-row { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid rgba(10,31,61,0.08); font-size: 16px; line-height: 1.55; color: rgba(10,31,61,0.85); }
.case-row .lab { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(10,31,61,0.5); padding-top: 4px; }
.case-row-out { background: rgba(199,90,42,0.06); margin: 8px -16px 0; padding: 18px 16px; border-radius: 4px; border-top: 0; }
.case-row-out .lab { color: #C75A2A; }
@media (max-width: 600px) { .case-row { grid-template-columns: 1fr; gap: 6px; } }

.insight-card {
  background: white; border: 1px solid rgba(10,31,61,0.1); border-radius: 4px;
  cursor: pointer; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s;
}
.insight-card:hover { border-color: rgba(199,90,42,0.5); box-shadow: 0 6px 24px rgba(10,31,61,0.08); }
.ic-thumb { position: relative; aspect-ratio: 2/1; }
.ic-thumb svg { width: 100%; height: 100%; display: block; }
.ic-thumb-label { position: absolute; top: 12px; left: 12px; font-size: 10px; letter-spacing: 0.18em; color: rgba(10,31,61,0.55); }
.ic-body { padding: 20px 22px 22px; }
.ic-cat { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #C75A2A; margin-bottom: 8px; }
.insight-card h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; color: var(--navy, #0A1F3D); margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.insight-card p { font-size: 14px; line-height: 1.5; color: rgba(10,31,61,0.7); margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ic-meta { display: flex; gap: 8px; font-size: 11px; letter-spacing: 0.14em; color: rgba(10,31,61,0.5); }
.insight-card-small .ic-body { padding: 18px; }
.insight-card-small h3 { font-size: 16px; }

/* Insight article (post page) */
.page-hero-tight { padding: 110px 0 30px; }
.insight-article { padding: 20px 0 100px; background: white; }
.ia-inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.ia-cat { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #C75A2A; margin-bottom: 14px; }
.ia-inner h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy, #0A1F3D); margin: 0 0 16px; }
.ia-excerpt { font-size: 18px; line-height: 1.55; color: rgba(10,31,61,0.75); margin: 0 0 22px; }
.ia-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; letter-spacing: 0.14em; color: rgba(10,31,61,0.55); padding-bottom: 18px; border-bottom: 1px solid rgba(10,31,61,0.1); }
.ia-share { display: flex; align-items: center; gap: 12px; padding: 14px 0 28px; }
.ia-share span { font-size: 11px; letter-spacing: 0.16em; color: rgba(10,31,61,0.5); }
.ia-share a, .ia-share button {
  width: 30px; height: 30px; border: 1px solid rgba(10,31,61,0.15); border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; color: rgba(10,31,61,0.7); background: white; cursor: pointer; text-decoration: none;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
}
.ia-share button { width: auto; padding: 0 12px; }
.ia-share a:hover, .ia-share button:hover { border-color: #C75A2A; color: #C75A2A; }

.ia-body { padding: 16px 0 32px; font-size: 17px; line-height: 1.7; color: rgba(10,31,61,0.85); }
.ia-body p { margin: 0 0 1.2em; }
.ia-body h2 { font-size: 26px; margin: 1.6em 0 0.6em; color: var(--navy, #0A1F3D); }
.ia-body h3 { font-size: 20px; margin: 1.4em 0 0.5em; color: var(--navy, #0A1F3D); }

.ia-seo { margin-top: 32px; padding: 18px; background: #f7f8fa; border-left: 3px solid #C75A2A; font-size: 11px; line-height: 1.7; color: rgba(10,31,61,0.6); }
.ia-seo .lab { display: inline-block; width: 110px; color: rgba(10,31,61,0.4); letter-spacing: 0.14em; }

.ia-related { margin-top: 64px; padding-top: 36px; border-top: 1px solid rgba(10,31,61,0.1); }
.ia-related h4 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(10,31,61,0.55); margin: 0 0 18px; font-family: 'Geist Mono', 'JetBrains Mono', monospace; font-weight: 500; }
.ia-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 720px) { .ia-related-grid { grid-template-columns: 1fr; } }


/* ============================================================
   Services FAQ block — visible Q&A; mirrors FAQPage JSON-LD.
   ============================================================ */
.svc-faq { margin-top: 96px; padding-top: 64px; border-top: 1px solid rgba(0,0,0,0.08); }
.faq-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.faq-item summary { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; cursor: pointer; padding: 24px 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary dt { font-size: 20px; font-weight: 500; line-height: 1.3; color: #0a1f3d; margin: 0; flex: 1; }
.faq-item .faq-mark { font-family: 'Geist Mono', 'JetBrains Mono', monospace; font-size: 22px; font-weight: 400; color: #0a1f3d; transition: transform 0.35s var(--ease-io, ease); flex: 0 0 auto; }
.faq-item[open] .faq-mark { transform: rotate(45deg); }
.faq-item dd { margin: 0 64px 24px 0; padding: 0; font-size: 16px; line-height: 1.6; color: rgba(10,31,61,0.72); }
.faq-item[open] dd { animation: fl-panel-in 0.45s var(--ease-out, ease-out); }
@media (max-width: 720px) {
  .svc-faq { margin-top: 64px; padding-top: 48px; }
  .faq-item summary dt { font-size: 17px; }
  .faq-item dd { margin-right: 36px; }
}

/* ============================================================
   Insight author byline — E-E-A-T on news/insights detail pages.
   ============================================================ */
.if-author-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border: 1px solid rgba(0,0,0,0.08); border-radius: 4px; background: #fafaf7; margin-top: 32px; }
.if-author-card .avatar { width: 56px; height: 56px; border-radius: 50%; background: #0a1f3d; color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Geist Mono', 'JetBrains Mono', monospace; font-size: 14px; flex: 0 0 auto; overflow: hidden; }
.if-author-card .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.if-author-card .body { flex: 1; min-width: 0; }
.if-author-card .name { font-size: 15px; font-weight: 600; color: #0a1f3d; margin: 0 0 2px; }
.if-author-card .role { font-family: 'Geist Mono', 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(10,31,61,0.6); margin: 0 0 8px; }
.if-author-card .bio { font-size: 14px; line-height: 1.5; color: rgba(10,31,61,0.8); margin: 0 0 8px; }
.if-author-card .profile-link { font-family: 'Geist Mono', 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #0a1f3d; text-decoration: underline; }


/* Compact byline used in news/insight cards */
.if-byline { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(10,31,61,0.7); margin: 12px 0 8px; }
.if-byline .avatar-sm { width: 22px; height: 22px; border-radius: 50%; background: #0a1f3d; color: #fff; font-size: 9px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden; }
.if-byline .avatar-sm img { width: 100%; height: 100%; object-fit: cover; display: block; }
.if-byline a { color: #0a1f3d; font-weight: 500; text-decoration: none; }
.if-byline a:hover { text-decoration: underline; }

/* Screen-reader only — used to make read-more links descriptive */
.sr-link-target { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


/* ============================================================
   Homepage Certifications & Memberships strip
   Two pedestals: ISO 9001 (LRQA/UKAS) + IATA/FIATA/AEO/EU Customs
   ============================================================ */
.certs-strip .certs-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
  margin-top: 56px;
  align-items: stretch;
}
.cert-block {
  margin: 0;
  background: var(--paper, #fff);
  border: 1px solid var(--line, #E3E8EF);
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, transform .45s var(--ease-out, ease), box-shadow .45s var(--ease-out, ease);
}
.cert-block:hover {
  border-color: var(--steel, #2C5F8D);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -22px rgba(10,31,61,.35);
}
.cert-frame {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    repeating-linear-gradient(135deg, rgba(127,179,213,.06) 0 1px, transparent 1px 14px) padding-box;
  min-height: 220px;
}
.cert-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}
.cert-block:first-child .cert-frame img { max-width: 360px; }
.cert-block:last-child .cert-frame img { max-width: 520px; }
.cert-block figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 24px;
  border-top: 1px solid var(--line, #E3E8EF);
  background: var(--bg, #F6F8FB);
}
.cert-label {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink, #0B1726);
}
.cert-caption {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel, #2C5F8D);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .certs-strip .certs-row { grid-template-columns: 1fr; gap: 18px; }
  .cert-frame { padding: 40px 28px; min-height: 180px; }
  .cert-block:first-child .cert-frame img,
  .cert-block:last-child .cert-frame img { max-width: 100%; }
  .cert-block figcaption { flex-direction: column; gap: 4px; align-items: flex-start; padding: 16px 18px; }
}


/* ============================================================
   Google-style testimonial cards (homepage "In their words")
   ============================================================ */
.testimonials-google { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important; }
.testimonials-google .testi { gap: 18px; padding: 32px 28px 28px; }
.testi-head { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--steel, #2C5F8D), var(--navy, #0A1F3D));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Instrument Serif', 'Noto Serif Display', serif;
  font-size: 18px;
  letter-spacing: -0.01em;
  flex: 0 0 auto;
}
.testimonials-google .testi-author { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.testimonials-google .testi-author strong { font-size: 14.5px; font-weight: 500; color: var(--ink, #0B1726); }
.testi-source {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted, #6B7B90);
}
.testi-source .g-mark {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ink, #0B1726);
}
.testi-source .g-mark svg { display: block; }
.testi-new {
  font-family: 'Geist Mono', 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #16a34a;
  border: 1px solid #16a34a;
  padding: 3px 7px;
  border-radius: 2px;
  flex: 0 0 auto;
}
.testimonials-google .testi blockquote {
  font-size: 19px; line-height: 1.4;
}
.testi-rating { display: inline-flex; align-items: center; gap: 8px; }
.testi-rating-num { font-size: 11px; letter-spacing: 0.14em; color: var(--ink, #0B1726); font-weight: 500; }
.testi-stars { display: inline-flex; gap: 1px; }
.testi-stars svg { display: block; }
@media (max-width: 720px) {
  .testimonials-google .testi blockquote { font-size: 17px; }
}


/* ============================================================
   Ethics / Quality Policy — homepage document section
   ============================================================ */
.policy-section { background: var(--bg, #F6F8FB); }
.policy-doc {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  margin-top: 56px;
  background: var(--paper, #fff);
  border: 1px solid var(--line, #E3E8EF);
}
.policy-aside {
  padding: 40px 32px;
  border-right: 1px solid var(--line, #E3E8EF);
  background: linear-gradient(180deg, #fff 0%, var(--bg, #F6F8FB) 100%);
}
.policy-meta { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.policy-meta-row { display: flex; flex-direction: column; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line, #E3E8EF); }
.policy-meta-row:last-child { border-bottom: none; }
.policy-meta-row .mono {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel, #2C5F8D);
}
.policy-meta-row span:last-child {
  font-family: 'Instrument Serif', 'Noto Serif Display', serif;
  font-size: 20px; line-height: 1.2;
  color: var(--ink, #0B1726);
  letter-spacing: -0.005em;
}
.policy-body { padding: 48px 56px; display: flex; flex-direction: column; gap: 36px; }
.policy-objectives .section-eyebrow { margin-bottom: 18px; }
.policy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  border-top: 1px solid var(--line, #E3E8EF);
  padding-top: 20px;
}
.policy-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2, #2A3B52);
}
.policy-num {
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--steel, #2C5F8D);
  font-weight: 500;
}
.policy-note {
  font-size: 13px;
  color: var(--muted, #6B7B90);
  font-style: italic;
  border-left: 2px solid var(--steel, #2C5F8D);
  padding-left: 14px;
  margin: 4px 0 0;
}
.policy-prose { display: flex; flex-direction: column; gap: 16px; }
.policy-prose p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2, #2A3B52);
  text-wrap: pretty;
}
.policy-closing {
  font-family: 'Instrument Serif', 'Noto Serif Display', serif;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink, #0B1726);
  letter-spacing: -0.01em;
  font-style: italic;
  padding-top: 28px;
  border-top: 1px solid var(--line, #E3E8EF);
  margin: 0;
}

@media (max-width: 900px) {
  .policy-doc { grid-template-columns: 1fr; }
  .policy-aside { border-right: none; border-bottom: 1px solid var(--line, #E3E8EF); padding: 28px; }
  .policy-meta { position: static; flex-direction: row; flex-wrap: wrap; gap: 18px; }
  .policy-meta-row { flex: 1 1 140px; padding-bottom: 0; border-bottom: none; }
  .policy-body { padding: 32px 28px; gap: 28px; }
  .policy-list { grid-template-columns: 1fr; gap: 12px; }
}


/* Policy tabs */
.policy-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 40px;
}
.policy-tab {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--paper, #fff);
  border: 1px solid var(--line, #E3E8EF);
  text-align: left;
  cursor: pointer;
  transition: border-color .25s ease, transform .35s var(--ease-out, ease), background .25s ease, color .25s ease;
  font: inherit;
  color: inherit;
}
.policy-tab:hover { border-color: var(--steel, #2C5F8D); }
.policy-tab.is-active {
  border-color: var(--ink, #0B1726);
  background: var(--ink, #0B1726);
  color: #fff;
}
.policy-tab-num {
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.6;
}
.policy-tab.is-active .policy-tab-num { opacity: 0.7; }
.policy-tab-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.policy-tab-label {
  font-family: 'Instrument Serif', 'Noto Serif Display', serif;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.policy-tab-meta {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
}
.policy-tab.is-active .policy-tab-meta { opacity: 0.7; }
.policy-tab-arrow {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg, #F6F8FB);
  color: var(--ink, #0B1726);
  transition: transform .35s var(--ease-out, ease), background .25s ease;
}
.policy-tab.is-active .policy-tab-arrow { background: #fff; }
.policy-tab:hover .policy-tab-arrow { transform: translateX(4px); }
/* Policy document swaps with a soft rise (remounts via React key) */
.policy-doc { animation: fl-panel-in 0.55s var(--ease-out, ease-out); }

/* Policy sections (anti-corruption) */
.policy-sections { display: flex; flex-direction: column; gap: 32px; }
.policy-sec { display: flex; flex-direction: column; gap: 12px; }
.policy-sec-head {
  display: flex;
  gap: 16px;
  align-items: baseline;
  border-top: 1px solid var(--line, #E3E8EF);
  padding-top: 18px;
}
.policy-sec-title {
  margin: 0;
  font-family: 'Instrument Serif', 'Noto Serif Display', serif;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink, #0B1726);
  font-weight: 400;
}
.policy-sec-body { display: flex; flex-direction: column; gap: 12px; }
.policy-sec-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-2, #2A3B52);
  text-wrap: pretty;
}

@media (max-width: 700px) {
  .policy-tabs { grid-template-columns: 1fr; }
}
