:root {
  --navy: #0D1B4B;
  --navy-2: #16265F;
  --navy-tint: #F4F6FB;
  --orange: #F5821F;
  --cyan: #00AEEF;
  --slate: #48506B;
  --line: #E2E6F0;
  --white: #FFFFFF;
  --bg: var(--white);
  --text: var(--navy);
  --text-body: var(--slate);
  --surface: var(--navy-tint);
  --card-bg: #FFFFFF;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* The site is always shown in its light palette, regardless of the
   visitor's device/system dark-mode setting — there is no light/dark
   toggle in this site, and letting the phone's OS-level dark mode flip
   --bg for the whole page was what caused the navy ribbon color to
   visually "spread" across every page on mobile. The dark-palette
   values are kept below under :root[data-theme="dark"] as a hook for a
   possible future manual toggle; nothing currently sets that attribute. */
:root[data-theme="dark"] {
  --bg: #0A1030;
  --text: #EDF0FA;
  --text-body: #B6BEDA;
  --surface: #101B45;
  --card-bg: #131F52;
  --line: #263166;
}
html {
  scroll-behavior: smooth; scroll-padding-top: calc(78px + env(safe-area-inset-top, 0px));
  /* Prevents mobile browsers from auto-boosting text size differently per
     page based on content width — without this, identical nav CSS can
     render at different sizes across pages with different body content. */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Keeps the vertical scrollbar's width reserved on every page, whether or
     not that page's content is actually tall enough to need one. Without
     this, a page just tall enough to trigger a scrollbar has ~15px less
     usable width than a shorter page — enough to tip an 8-item nav row
     from one line to two on some pages but not others, which reads as the
     menu font "growing" even though the declared size never changes. */
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
header, .nav-links, .nav-links a { -webkit-text-size-adjust: 100% !important; text-size-adjust: 100% !important; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; color: var(--text); margin: 0; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 28px); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  /* Deliberately NOT theme-linked: the logo is a fixed-color raster image
     (navy + orange), so the header stays a fixed light bar in both light
     and dark mode. On a dark-mode phone, a theme-linked navy header made a
     navy-colored logo nearly invisible against it. */
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 28px); max-width: 1120px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.site-logo-img { height: 48px; width: auto; }

.nav-links { display: flex; flex-wrap: wrap; row-gap: 10px; gap: 16px; align-items: center; }
.nav-links a { font-size: 20.7px; font-weight: 500; color: var(--slate); transition: color .15s ease; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-cta {
  background: var(--navy); color: #fff !important; padding: 11px 22px; border-radius: 3px;
  font-size: 20.7px; font-weight: 600; transition: background .15s ease;
}
.nav-cta:hover { background: var(--orange); color: #fff !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; background: #FFFFFF;
    flex-direction: column; align-items: flex-start; padding: 18px clamp(20px, 5vw, 28px) 24px;
    border-bottom: 1px solid var(--line); display: none; gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-cta { align-self: flex-start; }
}

/* Page header (inner pages) */
.page-header { background: var(--navy); padding: clamp(48px, 8vw, 72px) 0 clamp(36px, 6vw, 52px); }
.page-header .eyebrow-line span { color: var(--cyan); }
.page-header h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); max-width: 780px; }
.page-header p { color: #B6BEDA; margin-top: 14px; max-width: 640px; font-size: 17px; }

.eyebrow-line { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.eyebrow-line .dash { width: 38px; height: 3px; background: var(--orange); flex: none; }
.eyebrow-line span { font-size: 21px; font-weight: 600; color: var(--orange); letter-spacing: .01em; }

/* Hero (home only) */
.hero { padding: clamp(56px, 9vw, 96px) 0 clamp(44px, 6vw, 68px); position: relative; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; line-height: 1.14; max-width: 800px; }
.hero p.lede { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); max-width: 660px; color: var(--text-body); }
.hero-ctas { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.btn-primary {
  background: var(--orange); color: #fff; padding: 14px 28px; border-radius: 3px;
  font-weight: 600; font-size: 16px; transition: background .15s ease, transform .15s ease;
  display: inline-block; border: 0; cursor: pointer;
}
.btn-primary:hover { background: #dd6f0f; transform: translateY(-1px); }
.btn-secondary {
  border: 1.5px solid var(--line); color: var(--text); padding: 13px 27px; border-radius: 3px;
  font-weight: 600; font-size: 16px; transition: border-color .15s ease, color .15s ease;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--navy); color: var(--orange); }
.btn-ghost {
  color: var(--text); font-weight: 600; font-size: 14.5px; border-bottom: 2px solid var(--orange); padding-bottom: 2px;
  display: inline-block;
}

.stats-strip {
  margin-top: clamp(48px, 7vw, 72px); padding-top: 36px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px;
}
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: clamp(30px, 4vw, 40px); font-weight: 700; color: var(--text); }
.stat-label { font-size: 15px; color: var(--text-body); margin-top: 6px; }

section { padding: clamp(56px, 8vw, 84px) 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 48px); }
.section-head .eyebrow-line span { color: var(--cyan); }
.section-head h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; }
.section-head p { margin-top: 14px; font-size: 17.5px; }

/* Hub cards (home page: Services / Advisors / Tools) */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.hub-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 4px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.hub-icon { width: 36px; height: 36px; color: var(--navy); }
:root[data-theme="dark"] .hub-icon { color: var(--cyan); }
.hub-card h3 { font-size: 19px; }
.hub-card p { font-size: 15px; margin: 0; flex: 1; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr); gap: clamp(32px, 6vw, 64px); align-items: start; }
.about-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 4px; padding: 32px; }
.about-card h3 { font-size: 20px; margin-bottom: 6px; }
.about-card .role { color: var(--orange); font-weight: 600; font-size: 14.5px; margin-bottom: 18px; }
.credential-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 10px; }
.credential-list li { font-size: 14.5px; color: var(--text-body); display: flex; align-items: center; gap: 8px; }
.cred-icon { width: 15px; height: 15px; color: var(--cyan); flex: none; }
.about-body p { margin: 0 0 18px; font-size: 17px; }
.about-body p:last-child { margin-bottom: 0; }
.advisory-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.advisory-tags span { font-size: 13px; font-weight: 600; border: 1px solid var(--line); padding: 6px 12px; border-radius: 3px; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.tag-icon { width: 13px; height: 13px; color: var(--orange); flex: none; }
:root[data-theme="dark"] .advisory-tags span { color: var(--text); }

@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.svc-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 4px; padding: 30px 26px; border-left: 3px solid transparent; transition: border-color .15s ease; }
.svc-card:hover { border-left-color: var(--orange); }
.svc-icon { width: 34px; height: 34px; color: var(--navy); margin-bottom: 18px; }
:root[data-theme="dark"] .svc-icon { color: var(--cyan); }
.svc-card h3 { font-size: 18px; margin-bottom: 12px; }
.svc-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.svc-card li { font-size: 14.5px; color: var(--text-body); padding-left: 14px; position: relative; }
.svc-card li::before { content: "—"; position: absolute; left: 0; color: var(--line); }

/* Sectors */
.sector-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.sector-item { text-align: left; padding-top: 20px; border-top: 2px solid var(--orange); }
.sector-item h4 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.sector-item p { font-size: 14.5px; margin: 0; color: var(--text-body); }

/* Why Future IT Advisory */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; margin-top: 8px; }
.why-item .why-num { font-family: 'Space Grotesk'; font-size: 14px; color: var(--orange); font-weight: 700; letter-spacing: .04em; }
.why-item h3 { font-size: 19px; margin: 10px 0 10px; }
.why-item p { font-size: 15.5px; margin: 0; }

/* Advisors */
.advisor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.advisor-card {
  background: var(--card-bg); border: 1px solid var(--line); border-radius: 4px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.advisor-top { display: flex; align-items: center; gap: 16px; }
.advisor-card.is-featured { background: var(--surface); border-color: var(--orange); }
.advisor-role-badge {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: #fff; background: var(--orange); border-radius: 3px; padding: 2px 7px; vertical-align: middle;
}
.advisor-avatar {
  width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk';
  font-weight: 700; font-size: 21px; flex: none;
}
.advisor-name { font-size: 17px; font-weight: 700; color: var(--text); }
.advisor-role { font-size: 13.5px; color: var(--orange); font-weight: 600; margin-top: 2px; }
.advisor-bio { font-size: 14.5px; color: var(--text-body); margin: 0; }
.advisor-link {
  font-size: 13px; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
}
:root[data-theme="dark"] .advisor-link { color: var(--cyan); }
.advisor-link svg { width: 15px; height: 15px; }

/* Tools */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.tool-card {
  background: var(--card-bg); border: 1px solid var(--line); border-radius: 4px; padding: 34px;
  display: flex; flex-direction: column; gap: 16px;
}
.tool-icon {
  width: 48px; height: 48px; border-radius: 4px; background: var(--navy-tint); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
:root[data-theme="dark"] .tool-icon { color: var(--cyan); }
.tool-icon svg { width: 24px; height: 24px; }
.tool-card h3 { font-size: 19px; }
.tool-card p { font-size: 15px; margin: 0; flex: 1; }
.tool-note { font-size: 12.5px; color: var(--text-body); opacity: .8; }

/* Threat Catalog */
.catalog-toolbar { margin-bottom: 30px; }
.catalog-search {
  width: 100%; max-width: 420px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 3px;
  font-family: inherit; font-size: 15px; background: var(--card-bg); color: var(--text);
}
.catalog-search:focus { outline: none; border-color: var(--orange); }
.catalog-count { font-size: 13px; color: var(--text-body); margin-top: 10px; }
.threat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.threat-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.threat-toggle {
  width: 100%; background: none; border: 0; padding: 20px 22px; text-align: left; cursor: pointer;
  display: flex; align-items: flex-start; gap: 14px; font-family: inherit;
}
.threat-icon { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 2px; }
.threat-text { flex: 1; min-width: 0; }
.threat-category {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 8px;
}
.threat-toggle h3 { font-size: 16px; margin-bottom: 6px; }
.threat-golden { font-size: 13.5px; font-style: italic; color: var(--text-body); margin: 0; }
.threat-chevron {
  flex: none; width: 22px; height: 22px; border: 1.5px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--navy); line-height: 1;
  transition: transform .15s ease;
}
:root[data-theme="dark"] .threat-chevron { color: var(--text); }
.threat-toggle.is-open .threat-chevron, .workshop-toggle.is-open .threat-chevron { transform: rotate(45deg); }
.threat-body { padding: 0 22px 22px; display: flex; flex-direction: column; gap: 14px; }
.threat-body strong { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.threat-body p { font-size: 14px; margin: 0; color: var(--text-body); }
.no-results { font-size: 14.5px; color: var(--text-body); display: none; padding: 20px 0; }

/* Threat groups (collapsible categories) */
.threat-group { border: 1px solid var(--line); border-radius: 4px; margin-bottom: 14px; overflow: hidden; }
.group-toggle {
  width: 100%; background: var(--surface); border: 0; padding: 18px 22px; cursor: pointer; font-family: inherit; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.group-toggle .group-text { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.group-toggle h3 { font-size: 16.5px; }
.group-count { font-size: 12.5px; font-weight: 600; color: var(--orange); white-space: nowrap; }
.group-toggle.is-open .threat-chevron { transform: rotate(45deg); }
.group-body { padding: 18px; }
.group-body[hidden] { display: none; }
.group-body .threat-grid { gap: 12px; }

/* KPI strip (Workshops analytics) */
.kpi-card {
  display: flex; align-items: center; gap: 14px; background: var(--card-bg); border: 1px solid var(--line);
  border-radius: 4px; padding: 20px;
}
.kpi-icon { width: 30px; height: 30px; color: var(--orange); flex: none; }
:root[data-theme="dark"] .kpi-icon { color: var(--cyan); }
.kpi-card .stat-num { font-size: clamp(24px, 3vw, 30px); }
.kpi-card .stat-label { margin-top: 2px; font-size: 13px; }

/* Charts */
.chart-card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 4px; padding: 26px 28px; }
.chart-title { font-size: 15.5px; margin-bottom: 20px; }
.bar-h-chart { display: flex; flex-direction: column; gap: 12px; }

/* Workshops → Training Hours Over Time (year donut → quarter bars → month bars) */
.wa-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.wa-breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wa-crumb {
  font-size: 13px; font-weight: 600; color: var(--text-body); background: none; border: 0; padding: 4px 2px;
  cursor: pointer; font-family: inherit;
}
.wa-crumb:hover { color: var(--orange); }
.wa-crumb--current { color: var(--navy); cursor: default; }
:root[data-theme="dark"] .wa-crumb--current { color: var(--text); }
.wa-crumb--current:hover { color: var(--navy); }
:root[data-theme="dark"] .wa-crumb--current:hover { color: var(--text); }
.wa-crumb-sep { color: var(--line); font-size: 13px; }

/* Panels appear side-by-side, growing left-to-right as you drill down */
.wa-panels-row { display: flex; align-items: center; gap: clamp(28px, 5vw, 56px); flex-wrap: wrap; }
.wa-panel--donut { display: flex; align-items: center; gap: clamp(20px, 4vw, 36px); flex: none; }
.wa-panel--bars { flex: 1 1 220px; min-width: 200px; padding-left: clamp(20px, 4vw, 36px); border-left: 1px solid var(--line); }
@media (max-width: 680px) { .wa-panel--bars { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; } }

.wa-donut {
  width: 168px; height: 168px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.wa-donut-hole {
  width: 108px; height: 108px; border-radius: 50%; background: var(--card-bg); display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.wa-donut-hole .stat-num { font-size: 24px; }
.wa-donut-hole .stat-label { font-size: 11px; max-width: 80px; }
.wa-legend { display: flex; flex-direction: column; gap: 4px; }
.wa-legend-item {
  display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 7px 10px; border-radius: 3px;
  cursor: pointer; font-family: inherit; text-align: left; transition: background .15s ease;
}
.wa-legend-item:hover { background: var(--surface); }
.wa-legend-item.is-active { background: var(--surface); }
.wa-legend-item.is-active .wa-legend-label { color: var(--orange); }
.wa-swatch { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.wa-legend-label { font-size: 14.5px; font-weight: 600; color: var(--text); }

.wa-bar-chart { display: flex; align-items: flex-end; gap: 14px; height: 180px; padding-top: 8px; }
.wa-bar-col {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; flex: 1;
  max-width: 90px; background: none; border: 0; cursor: pointer; font-family: inherit; padding: 0;
}
.wa-bar-col--static { cursor: default; }
.wa-bar-col.is-active .wa-bar-value { color: var(--orange); }
.wa-bar-col.is-active .wa-bar-fill { filter: brightness(1.15); box-shadow: 0 0 0 2px var(--orange) inset; }
.wa-bar-value { font-size: 12px; font-weight: 600; color: var(--text-body); margin-bottom: 6px; line-height: 1; }
.wa-bar-track {
  /* Fixed pixel height, not flex-grow: a height:X% child needs its parent's
     height to be unambiguous, and a flex:1-sized parent doesn't reliably
     give every browser the same answer for that before the fill is painted
     — which is what let some months render "floating" above the baseline
     instead of grounded. 180px chart − ~18px value row − ~22px label row. */
  width: 100%; max-width: 46px; height: 140px; flex: none; background: var(--surface); border-radius: 4px 4px 0 0;
  display: flex; align-items: flex-end; overflow: hidden;
}
.wa-bar-fill { width: 100%; background: linear-gradient(180deg, var(--orange), var(--navy)); border-radius: 4px 4px 0 0; transition: height .35s ease; }

.wa-tooltip {
  position: fixed; z-index: 200; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 6px 11px; border-radius: 4px; pointer-events: none; box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  white-space: nowrap;
}
.wa-tooltip[hidden] { display: none; }
.wa-bar-col:hover .wa-bar-fill { filter: brightness(1.1); }
.wa-bar-label { font-size: 12.5px; font-weight: 600; color: var(--text); margin-top: 8px; line-height: 1; }
.bar-h-row { display: grid; grid-template-columns: minmax(140px, 260px) 1fr 52px; align-items: center; gap: 14px; }
.bar-h-label { font-size: 13.5px; color: var(--text-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-h-track { background: var(--surface); border-radius: 3px; height: 12px; overflow: hidden; }
.bar-h-fill { background: linear-gradient(90deg, var(--navy), var(--orange)); height: 100%; border-radius: 3px; transition: width .4s ease; }
.bar-h-value { font-size: 12.5px; font-weight: 600; color: var(--text); text-align: right; white-space: nowrap; }
.bar-v-chart {
  display: flex; align-items: flex-end; gap: 10px; height: 200px; overflow-x: auto; padding-bottom: 4px;
}
.bar-v-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; flex: 1 0 34px; min-width: 34px; }
.bar-v-value { font-size: 11px; font-weight: 600; color: var(--text-body); margin-bottom: 4px; }
.bar-v-track { width: 100%; max-width: 26px; flex: 1; background: var(--surface); border-radius: 3px 3px 0 0; display: flex; align-items: flex-end; overflow: hidden; }
.bar-v-fill { width: 100%; background: linear-gradient(180deg, var(--orange), var(--navy)); border-radius: 3px 3px 0 0; transition: height .4s ease; }
.bar-v-label { font-size: 10.5px; color: var(--text-body); margin-top: 6px; white-space: nowrap; transform: rotate(-40deg); transform-origin: top center; }

/* Workshops session log */
.workshop-domain { border: 1px solid var(--line); border-radius: 4px; margin-bottom: 14px; overflow: hidden; }
.workshop-toggle {
  width: 100%; background: var(--surface); border: 0; padding: 18px 24px; cursor: pointer; font-family: inherit; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.workshop-toggle h3 { font-size: 16px; }
.workshop-meta { display: flex; align-items: center; gap: 14px; }
.workshop-count { font-size: 12.5px; font-weight: 600; color: var(--orange); white-space: nowrap; }
.workshop-list { padding: 6px 24px 6px; }
.workshop-list[hidden] { display: none; }
.workshop-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.workshop-item:first-child { border-top: 0; }
.workshop-org { font-size: 14.5px; font-weight: 600; color: var(--text); flex: 1 1 260px; }
.workshop-hours {
  font-size: 12px; font-weight: 700; color: var(--navy); background: var(--surface); border-radius: 3px;
  padding: 3px 8px; white-space: nowrap;
}
:root[data-theme="dark"] .workshop-hours { color: var(--cyan); }
.workshop-date { font-size: 13px; color: var(--text-body); white-space: nowrap; }
.workshop-link { font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.workshop-link--unpublished { color: var(--text-body); font-weight: 500; font-style: italic; }
:root[data-theme="dark"] .workshop-link { color: var(--cyan); }
.workshop-link:hover { color: var(--orange); }


/* Contact */
.contact-box {
  background: var(--navy); border-radius: 6px; padding: clamp(32px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.contact-box h2 { color: #fff; font-size: clamp(24px, 3vw, 30px); max-width: 460px; }
.contact-box p { color: #B6BEDA; margin-top: 12px; max-width: 440px; font-size: 16.5px; }
.contact-right { text-align: right; }
.contact-email-row { display: inline-flex; align-items: center; gap: 10px; }
.contact-icon { width: 20px; height: 20px; color: var(--orange); flex: none; }
.contact-icon-sm { width: 14px; height: 14px; color: #8892C0; flex: none; vertical-align: -2px; margin-right: 2px; }
.contact-email {
  font-family: 'Space Grotesk'; font-size: clamp(19px, 2.4vw, 22px); font-weight: 600; color: #fff;
  border-bottom: 2px solid var(--orange); padding-bottom: 4px; word-break: break-word;
}
.contact-loc { color: #8892C0; font-size: 14px; margin-top: 14px; }
@media (max-width: 880px) {
  .contact-box { flex-direction: column; align-items: flex-start; }
  .contact-right { text-align: left; }
}

.advisor-avatar-img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line);
}

/* Update Logo & Data panel */
.footer-config-link {
  font-size: 13px; color: var(--text-body); background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; text-decoration: underline; text-underline-offset: 2px;
}
.footer-config-link:hover { color: var(--orange); }
.config-toggle { display: none; }
.config-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 100; width: min(360px, calc(100vw - 40px));
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--card-bg); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 12px 32px rgba(13,27,75,0.18); padding: 22px;
}
.config-panel[hidden] { display: none; }
.config-panel h4 { font-size: 15.5px; margin-bottom: 6px; }
.config-panel p { font-size: 12.5px; color: var(--text-body); margin: 0 0 16px; }
.config-panel label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.config-panel input[type="file"] { display: block; margin-top: 6px; font-size: 12px; width: 100%; }
.config-divider { border: 0; border-top: 1px solid var(--line); margin: 4px 0 16px; }
.config-panel-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.config-panel-actions .btn-primary, .config-panel-actions .btn-secondary { padding: 9px 16px; font-size: 13px; }
.config-status { font-size: 12px; margin-top: 12px; color: var(--cyan); min-height: 14px; }

footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-brand .site-logo-img {
  height: 34px;
  /* Same fixed-color-image problem as the header: give it a guaranteed-light
     backdrop so it stays legible when the page itself is in dark mode. */
  background: #FFFFFF; border-radius: 4px; padding: 4px 8px;
}
.footer-tag { font-size: 13px; color: var(--text-body); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--text-body); }
.footer-links a:hover { color: var(--orange); }


/* Web server only: hide the pre-built snapshot until the fresh Excel data has
   been applied (class is set/removed by the early script + site-data.js). */
main, .site-logo-img, .footer-tag { transition: opacity .25s ease; }
html.fia-loading main,
html.fia-loading .site-logo-img,
html.fia-loading .footer-tag { opacity: 0; }
html.fia-loading body::before {
  content: ""; position: fixed; top: 0; left: 0; height: 3px; width: 35%; background: var(--orange);
  z-index: 300; animation: fia-load 1.1s ease-in-out infinite;
}
@keyframes fia-load { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
