@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Barlow+Condensed:wght@600;700;800&family=Barlow+Semi+Condensed:wght@500;600&display=swap');

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — Volanti Displays */
  --navy:        #1B365D;
  --navy-mid:    #22426e;
  --navy-light:  #2a5080;
  --steel:       #4a6080;
  --sky:         #e8f0f8;

  /* Sector colours */
  --res:         #2a6099;
  --res-light:   #daeaf7;
  --res-dark:    #18395c;
  --com:         #27734a;
  --com-light:   #d3ecdf;
  --com-dark:    #144228;
  --ins:         #176464;
  --ins-light:   #c9e9e9;
  --ins-dark:    #0d3d3d;
  --ind:         #852929;
  --ind-light:   #f0d3d3;
  --ind-dark:    #481212;
  --hci:         #63541f;
  --hci-light:   #ecddc0;
  --hci-dark:    #3a300a;
  --mu:          #553776;
  --mu-light:    #e5d9f5;
  --mu-dark:     #2c1945;

  /* UI */
  --bg:          #f5f7fa;
  --bg-card:     #ffffff;
  --border:      #dde3ea;
  --text:        #1a1f26;
  --text-mid:    #4a5568;
  --text-light:  #718096;
  --radius-sm:   5px;
  --radius:      8px;
  --radius-lg:   12px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow:      0 2px 10px rgba(0,0,0,.10);
  --shadow-lg:   0 6px 24px rgba(0,0,0,.12);
  --transition:  0.16s ease;
}

html { font-size: 15px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
.site-nav {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid #dde3ea;
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: stretch;
  height: 52px;
  gap: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 24px;
  border-right: 1px solid rgba(27,54,93,.15);
  margin-right: 8px;
  flex-shrink: 0;
}

.nav-logo {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(27,54,93,.60);
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  letter-spacing: .01em;
  white-space: nowrap;
}
.nav-link:hover  { color: var(--navy); }
.nav-link.active { color: var(--navy); border-bottom-color: var(--navy); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
}

.btn-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-nav-ghost {
  background: rgba(27,54,93,.07);
  border: 1px solid rgba(27,54,93,.22);
  color: rgba(27,54,93,.75);
}
.btn-nav-ghost:hover { background: var(--navy); color: #fff; }
.btn-nav svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ─────────────────────────────────────────
   PAGE HEADERS
───────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 36px 28px 30px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,.018) 40px,
    rgba(255,255,255,.018) 41px
  );
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.18;
  margin-bottom: 8px;
}
.page-hero p {
  font-size: 13px;
  color: rgba(255,255,255,.58);
  max-width: 780px;
  line-height: 1.55;
}
.breadcrumb {
  font-size: 11px;
  color: rgba(255,255,255,.40);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: rgba(255,255,255,.85); }
.breadcrumb span { margin: 0 6px; }

/* ─────────────────────────────────────────
   ASSUMPTION BANNER
───────────────────────────────────────── */
.banner {
  max-width: 1280px;
  margin: 18px auto 0;
  padding: 0 28px;
}
.banner-inner {
  background: var(--bg-card);
  border-left: 4px solid var(--navy-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 11px 16px;
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.65;
  box-shadow: var(--shadow-sm);
}
.banner-inner strong { color: var(--navy); font-weight: 700; }
.banner-inner a { color: var(--navy-mid); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.banner-inner a:hover { color: var(--navy); }

/* ─────────────────────────────────────────
   LEGEND BAR
───────────────────────────────────────── */
.legend-bar {
  max-width: 1280px;
  margin: 14px auto 0;
  padding: 0 28px;
}
.legend-inner {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.legend-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  margin-right: 2px;
}
.pill {
  padding: 3px 11px;
  border-radius: 20px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}
.legend-sep { width: 1px; height: 18px; background: var(--border); margin: 0 2px; }
.tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tag-permit { background: var(--navy-mid); color: #fff; }
.tag-lead   { background: var(--ind);      color: #fff; }
.tag-precx  { background: var(--com);      color: #fff; }

/* ─────────────────────────────────────────
   SECTION LABEL
───────────────────────────────────────── */
.section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: var(--text-light);
  margin-bottom: 8px;
}

/* ─────────────────────────────────────────
   CARDS (used on landing page)
───────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-light); }
.btn-outline {
  background: transparent;
  color: var(--navy-mid);
  border: 2px solid var(--navy-mid);
}
.btn-outline:hover { background: var(--navy-mid); color: #fff; }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ─────────────────────────────────────────
   SITE FOOTER
───────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.40);
  font-size: 11px;
  padding: 22px 28px;
  margin-top: auto;
  line-height: 1.7;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-inner strong { color: rgba(255,255,255,.65); }
.footer-right {
  text-align: right;
  white-space: nowrap;
}

/* ─────────────────────────────────────────
   TOOLTIP
───────────────────────────────────────── */
.has-tooltip { position: relative; }
.tooltip {
  display: none;
  position: absolute;
  z-index: 500;
  background: var(--navy);
  color: rgba(255,255,255,.90);
  font-size: 11.5px;
  line-height: 1.55;
  padding: 10px 13px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 240px;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid var(--navy);
}
.has-tooltip:hover .tooltip { display: block; }

/* ─────────────────────────────────────────
   RESPONSIVE HELPERS
───────────────────────────────────────── */
.page-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 28px 40px;
  flex: 1;
}

@media (max-width: 768px) {
  .nav-logo { height: 24px; }
  .nav-inner { padding: 0 14px; }
  .page-hero { padding: 24px 16px 20px; }
  .page-hero h1 { font-size: 20px; }
  .banner, .legend-bar { padding: 0 14px; }
  .page-content { padding: 16px 14px 32px; }
  .site-footer { padding: 16px 14px; }
  .footer-right { display: none; }
  .btn-nav span { display: none; }
}
