/* TriCrest Solutions — shared styles
   Layout: light pages with a navy hero band; content in a 1160px column.
   Brand: navy, teal, gold from the logo. Display: Cormorant Garamond. Text: DM Sans. */
:root {
  --navy: #0D1F3C;
  --steel: #1E3A5F;
  --teal: #0A7E8C;
  --teal-deep: #086670;
  --gold: #C8A951;
  --gold-deep: #8E7226;
  --ink: #0D1F3C;
  --text: #3A4A5F;
  --muted: #667589;
  --line: #DCE4EC;
  --soft: #F3F6FA;
  --bright: #19B8CC;
  --gold-bright: #F2CD5E;
  --white: #FFFFFF;
  --radius: 6px;
  --gutter: clamp(20px, 5vw, 48px);
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --body: 'DM Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--teal-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.soft { background: var(--soft); }

h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.2vw, 52px); font-weight: 700; }
h3 { font-size: 28px; font-weight: 700; }
p { margin: 0; }
.lead { font-size: 18px; line-height: 1.75; color: var(--text); max-width: 62ch; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 42px; height: 40px; flex: none; }
.brand-name { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1; }
.brand-sub { display: block; font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-top: 3px; font-family: var(--body); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text); padding-block: 6px; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }
.nav-links a.btn { border-bottom: 0; color: var(--white); padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 12px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }

/* ── Buttons ── */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: var(--radius); border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--teal-deep); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D8BB67; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  color: var(--white);
  padding-block: clamp(72px, 11vw, 148px);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 20%, rgba(10,126,140,.35), transparent 55%);
}
.hero-mark { position: absolute; right: -40px; top: 50%; width: min(520px, 60vw); transform: translateY(-50%); opacity: .13; pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 { color: var(--white); font-size: clamp(44px, 7.4vw, 92px); font-weight: 700; max-width: 14ch; }
.hero p { margin-top: 26px; font-size: clamp(17px, 2vw, 21px); line-height: 1.65; color: #D5DEEA; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.page-head { background: var(--navy); color: var(--white); padding-block: clamp(52px, 7vw, 88px); position: relative; overflow: hidden; }
.page-head::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 90% 0%, rgba(10,126,140,.3), transparent 55%); }
.page-head .wrap { position: relative; }
.page-head h1 { color: var(--white); font-size: clamp(38px, 5.4vw, 64px); font-weight: 700; }
.page-head p { margin-top: 18px; color: #D5DEEA; font-size: 18px; max-width: 58ch; line-height: 1.7; }

/* ── Intro split ── */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }

/* ── Home service cards ── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.card:nth-child(2) { border-top-color: var(--gold); }
.card:nth-child(3) { border-top-color: var(--navy); }
.card h3 { font-size: 30px; }
.card p { flex: 0 0 auto; }
.card ul { flex: 1; }
.card > .more { margin-top: 8px; }
.card a { font-weight: 600; font-size: 15px; }

.cta-band { background: var(--navy); color: var(--white); text-align: center; padding-block: clamp(52px, 7vw, 88px); }
.cta-band h2 { color: var(--white); font-size: clamp(30px, 4vw, 46px); }
.cta-band p { margin: 14px auto 28px; color: #D5DEEA; max-width: 50ch; }

/* ── Service areas ── */
.area { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 80px); padding-block: 56px; border-top: 1px solid var(--line); }
.area:first-of-type { border-top: 0; padding-top: 0; }
.area h2 { font-size: clamp(32px, 3.6vw, 44px); }
.area .lead { margin-top: 16px; font-size: 17px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); position: relative; font-size: 16.5px; color: var(--ink); }
.checks li:first-child { border-top: 1px solid var(--line); }
.checks li::before { content: ''; position: absolute; left: 4px; top: 25px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 48px; counter-reset: step; }
.step { padding: 4px 28px 4px 0; border-top: 2px solid var(--navy); padding-top: 22px; margin-right: 28px; }
.step:last-child { margin-right: 0; }
.step-num { font-family: var(--display); font-size: 44px; font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 14px; display: block; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { font-size: 15.5px; }

/* ── Platforms ── */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.chip { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px; font-size: 15px; font-weight: 600; color: var(--ink); }

/* ── Sectors ── */
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 40px 40px 14px; }
.panel.b { border-top-color: var(--teal); }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 36px; }
.panel-head span { font-size: 14px; color: var(--muted); }
.row { padding: 22px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.row p { font-size: 15.5px; max-width: 46ch; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; border-block: 1px solid var(--line); }
.values > div { padding: 32px 32px 32px 0; }
.values > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.values strong { display: block; font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.1; margin-bottom: 10px; }

/* ── Government facts ── */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.facts > div { padding: 28px 30px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }

/* ── Team ── */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 36px; display: flex; gap: 24px; align-items: center; }
.monogram { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 28px; font-weight: 700; }
.person h2 { font-size: 30px; }
.person .role { margin-top: 4px; font-weight: 600; color: var(--gold-deep); font-size: 15px; }
.person a { display: block; margin-top: 10px; font-size: 15px; overflow-wrap: anywhere; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.details { list-style: none; margin: 32px 0 0; padding: 0; }
.details li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.details li:first-child { border-top: 1px solid var(--line); }
.details span { display: block; font-size: 13px; color: var(--muted); }
.details a, .details strong { font-size: 17px; font-weight: 600; color: var(--ink); }
form { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--white); border: 1px solid #BFCBD8; border-radius: var(--radius); padding: 12px 14px; width: 100%; }
textarea { min-height: 140px; resize: vertical; }
.form-status { min-height: 24px; font-size: 15px; font-weight: 600; }
.form-status.ok { color: #0F6B45; }
.form-status.err { color: #B3261E; }
form .btn { justify-self: start; }

/* ── Footer ── */
.site-footer { background: var(--navy); color: #C3CFDD; padding-block: 56px 36px; }
.foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.14); }
.foot .brand-name { color: var(--white); }
.foot .brand-sub { color: #9FB0C4; }
.foot p { margin-top: 16px; font-family: var(--display); font-size: 22px; color: var(--white); max-width: 26ch; line-height: 1.25; }
.foot nav { display: flex; flex-wrap: wrap; gap: 14px 32px; align-content: start; justify-content: flex-end; }
.foot nav a { color: #C3CFDD; text-decoration: none; font-size: 15px; }
.foot nav a:hover { color: var(--white); text-decoration: underline; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 14px; color: #9FB0C4; }
.legal a { color: #C3CFDD; }

/* ── Clickable cards (whole card is the link) ── */
.card, .tile { position: relative; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover, .tile:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(13,31,60,.12); }
.card a, .tile a { text-decoration: none; }
.card a::after, .tile a::after { content: ''; position: absolute; inset: 0; }
.card a:focus-visible::after, .tile a:focus-visible::after { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: var(--radius); }
.more { font-weight: 600; font-size: 15px; color: var(--teal-deep); }
.card:hover .more, .tile:hover .more { color: var(--ink); }
.card ul { list-style: none; margin: 4px 0 0; padding: 0; font-size: 15px; color: var(--ink); }
.card li { padding: 6px 0 6px 18px; position: relative; }
.card li::before { content: ''; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Two big tiles (home: who we serve) */
.cards.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.tile { background: var(--navy); color: #D5DEEA; border-radius: var(--radius); padding: 40px 38px; display: flex; flex-direction: column; gap: 14px; border-top: 3px solid var(--gold); }
.tile.b { border-top-color: var(--teal); background: var(--steel); }
.tile h3 { color: var(--white); font-size: 34px; }
.tile .more { color: var(--gold); }
.tile:hover .more { color: var(--white); }
.tile .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tile .tags span { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 5px 14px; font-size: 14px; color: var(--white); }

.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head .lead { margin-top: 14px; }

/* Breadcrumb */
.crumbs { font-size: 14px; margin-bottom: 18px; color: #9FB0C4; }
.crumbs a { color: #D5DEEA; }

/* Service detail pages */
.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.caps { list-style: none; margin: 32px 0 0; padding: 0; }
.caps li { padding: 22px 0 22px 0; border-top: 1px solid var(--line); }
.caps li:last-child { border-bottom: 1px solid var(--line); }
.caps strong { display: block; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.aside { background: var(--soft); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 30px 30px 26px; position: sticky; top: 100px; }
.aside h3 { font-size: 26px; margin-bottom: 12px; }
.aside ul { list-style: none; margin: 0 0 24px; padding: 0; }
.aside li { padding: 8px 0 8px 22px; position: relative; font-size: 15.5px; color: var(--ink); }
.aside li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.aside li:last-child { margin-bottom: 0; }

/* Expandable rows (industries, FAQs) */
.acc { border-bottom: 1px solid var(--line); }
.acc:last-child { border-bottom: 0; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17px; color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; color: var(--teal-deep); transition: background .2s, color .2s; }
.acc summary:hover { color: var(--teal-deep); }
.acc[open] summary::after { content: '\2212'; background: var(--navy); color: var(--white); border-color: var(--navy); }
.acc summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.acc .body { padding: 0 0 22px; }
.acc .body p { font-size: 15.5px; max-width: 54ch; }
.acc .body ul { list-style: none; margin: 12px 0 14px; padding: 0; font-size: 15.5px; }
.acc .body li { padding: 5px 0 5px 20px; position: relative; color: var(--ink); }
.acc .body li::before { content: ''; position: absolute; left: 2px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.acc .body a { font-weight: 600; font-size: 15px; }
.faq { max-width: 820px; margin-top: 32px; border-top: 1px solid var(--line); }
.faq .acc { border-bottom: 1px solid var(--line); }
.faq .acc .body p { max-width: 70ch; }

.band { background: var(--navy); color: #D5DEEA; border-radius: var(--radius); padding: clamp(32px, 5vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 40px); }
.band p { margin-top: 10px; max-width: 52ch; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 0; }
  .nav-links li:last-child { border-bottom: 0; padding-top: 16px; }
  .nav-links a.btn { text-align: center; }
  .split, .area, .contact-grid, .foot { grid-template-columns: 1fr; }
  .cards, .cards.two-up, .tiles, .detail { grid-template-columns: 1fr; }
  .aside { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .step:nth-child(2n) { margin-right: 0; }
  .panels, .team { grid-template-columns: 1fr; }
  .values, .facts { grid-template-columns: 1fr; }
  .values > div, .values > div + div { padding: 26px 0; border-left: 0; }
  .values > div + div { border-top: 1px solid var(--line); }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .foot nav { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .step { margin-right: 0; }
  .two { grid-template-columns: 1fr; }
  .panel { padding: 28px 22px 8px; }
  .person { padding: 28px 22px; flex-direction: column; align-items: flex-start; }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ═════════ LIVELY LAYER ═════════ */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); }
.on-dark .eyebrow, .hero .eyebrow, .page-head .eyebrow { color: var(--gold-bright); }

/* scroll progress + header shadow */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: linear-gradient(90deg, var(--bright), var(--gold-bright)); }
.site-header { transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(13,31,60,.10); }

/* mega menu */
.has-menu { position: relative; }
.has-menu > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.mega { position: absolute; left: -40px; top: 100%; width: 540px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 24px 50px rgba(13,31,60,.18); padding: 12px; display: grid; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.nav-links .mega a { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 14px 16px; border: 0; border-radius: var(--radius); }
.nav-links .mega a:hover { background: var(--soft); }
.mega .ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 10px; background: var(--navy); color: var(--gold-bright); display: flex; align-items: center; justify-content: center; }
.mega .ico svg { width: 22px; height: 22px; }
.mega b { font-size: 15.5px; color: var(--ink); }
.mega small { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* hero */
.hero { padding-block: clamp(84px, 12vw, 168px) clamp(110px, 13vw, 190px); background: linear-gradient(125deg, #081529 0%, var(--navy) 35%, #14396A 75%, #0B5E75 100%); background-size: 140% 140%; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { background-position: 100% 60%; } }
.hero::before { background: radial-gradient(ellipse at 80% 25%, rgba(25,184,204,.38), transparent 55%), radial-gradient(ellipse at 10% 100%, rgba(242,205,94,.12), transparent 50%); }
.hero-art, .ph-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-art { opacity: .9; }
.ph-art { opacity: .55; }
.net line { stroke: rgba(255,255,255,.16); stroke-width: 1; animation: pulse 6s ease-in-out infinite; }
.net circle { fill: var(--gold-bright); animation: float 9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.net circle.t { fill: var(--bright); }
.net circle.w { fill: #fff; }
@keyframes float { 50% { transform: translateY(-14px) scale(1.35); } }
@keyframes pulse { 50% { stroke: rgba(255,255,255,.34); } }
.hero h1 { font-size: clamp(46px, 7vw, 96px); max-width: 15ch; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--gold-bright); }
.rotator { margin-top: 30px; font-size: clamp(20px, 2.6vw, 30px); font-family: var(--display); font-weight: 600; color: var(--white); min-height: 1.4em; }
.rotator span { color: var(--bright); display: inline-block; border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: opacity .35s, transform .35s; }
.rotator span.out { opacity: 0; transform: translateY(8px); }
.scroll-cue { position: absolute; left: 50%; bottom: 36px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; transform: translateX(-50%); display: none; }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-bright); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 961px) { .scroll-cue { display: block; } }
.btn-gold { background: var(--gold-bright); }
.btn-gold:hover { background: #FFDD7A; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242,205,94,.35); }
.btn { transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }

/* pillars (lifted over hero) */
.pillars { position: relative; z-index: 2; margin-top: -84px; padding-bottom: 24px; }
.pillars .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--white); border-radius: 10px; box-shadow: 0 30px 70px rgba(13,31,60,.22); overflow: hidden; }
.pillar { padding: 40px 36px; display: flex; gap: 22px; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar .pi { flex: none; width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy), var(--steel)); color: var(--gold-bright); transition: transform .3s; }
.pillar:hover .pi { transform: rotate(-6deg) scale(1.08); }
.pillar .pi svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 28px; margin-bottom: 6px; }
.pillar p { font-size: 15.5px; }

/* stats */
.stats { background: var(--navy); color: var(--white); padding-block: 56px; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { text-align: left; border-left: 2px solid var(--gold); padding-left: 22px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(54px, 6vw, 84px); line-height: 1; color: var(--white); }
.stat span { display: block; margin-top: 8px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #A9BBD0; }

/* interactive services */
.dark-sec { background: linear-gradient(160deg, #0A1830, var(--navy) 50%, #11335C); color: #D5DEEA; position: relative; overflow: hidden; }
.dark-sec::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 90% 10%, rgba(25,184,204,.22), transparent 50%); }
.dark-sec .wrap { position: relative; }
.dark-sec h2, .dark-sec h3 { color: var(--white); }
.dark-sec .lead { color: #C3CFDD; }
.tabs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); margin-top: 56px; align-items: stretch; }
.tablist { display: grid; gap: 14px; align-content: start; }
.tab { text-align: left; font: inherit; cursor: pointer; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-left: 4px solid transparent; color: #D5DEEA; border-radius: var(--radius); padding: 24px 26px; display: flex; align-items: center; gap: 20px; transition: background .25s, border-color .25s, transform .25s; }
.tab:hover { background: rgba(255,255,255,.10); transform: translateX(4px); }
.tab[aria-selected="true"] { background: rgba(255,255,255,.14); border-left-color: var(--gold-bright); }
.tab .n { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--bright); line-height: 1; min-width: 40px; }
.tab[aria-selected="true"] .n { color: var(--gold-bright); }
.tab strong { font-family: var(--display); font-size: 27px; line-height: 1.1; color: var(--white); }
.tabpanel { background: var(--white); color: var(--text); border-radius: 10px; padding: clamp(28px, 4vw, 52px); box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.js .tabpanel[hidden] { display: none; }
.tabpanel h3 { color: var(--ink); font-size: clamp(32px, 3.4vw, 44px); }
.tabpanel p.lead { margin-top: 14px; font-size: 17px; }
.tabpanel .checks { margin: 24px 0 28px; }
.tabpanel .checks li { padding-block: 13px; }
.tabpanel .checks li::before { top: 21px; }
.tabpanel.show { animation: pop .45s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* sector tiles with art */
.tile { min-height: 300px; overflow: hidden; background: linear-gradient(140deg, var(--navy), #17407A); }
.tile.b { background: linear-gradient(140deg, #0B4E66, #0A7E8C); }
.tile::before { content: ''; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(255,255,255,.07); transition: transform .5s; }
.tile::after { content: ''; position: absolute; right: 40px; bottom: 40px; width: 90px; height: 90px; border-radius: 50%; border: 18px solid rgba(242,205,94,.14); transition: transform .5s; }
.tile:hover::before { transform: scale(1.2); }
.tile:hover::after { transform: translate(-10px,-10px) scale(1.15); }
.tile > * { position: relative; z-index: 1; }
.tile a::after { z-index: 2; }
.tile .more, .tile .tags { margin-top: auto; }
.tile .tags { margin-top: 8px; }
.tile p { color: #D5DEEA; font-size: 17px; }

/* animated process line */
.steps .step { border-top-color: var(--line); position: relative; }
.steps .step::before { content: ''; position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: linear-gradient(90deg, var(--teal), var(--gold)); transition: width 1s ease .2s; }
.steps .step.in::before, html:not(.js) .steps .step::before { width: calc(100% + 28px); }
.step-num { background: linear-gradient(135deg, var(--teal), var(--bright)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 56px; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); padding-block: 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-size: 30px; font-weight: 700; color: #8CA0B6; white-space: nowrap; transition: color .2s; }
.marquee span:hover { color: var(--teal-deep); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* bands, cards, ctas */
.cta-band { background: linear-gradient(125deg, #081529, var(--navy) 40%, #0B5E75); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; border: 60px solid rgba(255,255,255,.05); }
.cta-band .wrap { position: relative; }
.cta-band h2 { font-size: clamp(36px, 5vw, 62px); }
.band { background: linear-gradient(125deg, var(--navy), #14396A); }
.card { border-top-width: 4px; }
.panel, .person { transition: transform .2s, box-shadow .2s; }
.panel:hover, .person:hover { box-shadow: 0 16px 36px rgba(13,31,60,.10); }
.page-head { background: linear-gradient(125deg, #081529, var(--navy) 45%, #12508A); padding-block: clamp(64px, 8vw, 112px); }
.page-head h1 { font-size: clamp(42px, 6.4vw, 80px); }
.sec-head h2, .section > .wrap > h2 { font-size: clamp(38px, 5vw, 62px); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .mega { display: none; }
  .has-menu > a::after { display: none; }
  .pillars .grid { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .tabs { grid-template-columns: 1fr; }
  .hero h1 { max-width: 12ch; }
  .steps .step.in::before, html:not(.js) .steps .step::before { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero, .net circle, .net line, .marquee-track, .scroll-cue::after { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

.tabpanel p.lead { color: var(--text); }
.dark-sec .tabpanel h3 { color: var(--ink); }

.two-bands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.two-bands .band { flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 280px; }
.two-bands .band h3 { color: var(--white); font-size: 36px; margin-bottom: 10px; }
.band.teal { background: linear-gradient(125deg, #0B4E66, #0A7E8C); }
@media (max-width: 960px) { .two-bands { grid-template-columns: 1fr; } }

.mini { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; flex: 0 0 auto; }
.row.link { display: block; position: relative; text-decoration: none; padding-right: 40px; transition: padding .2s; }
.row.link .go { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--teal-deep); transition: transform .2s; }
.row.link:hover strong { color: var(--teal-deep); }
.row.link:hover .go { transform: translate(6px, -50%); }
.row.link p { color: var(--text); }
.panel-head .more { font-size: 14px; }
.person a + a { margin-top: 4px; }
.card[id] { scroll-margin-top: 100px; }

.mega.narrow { width: 430px; left: auto; right: -70px; }

/* ── content-first additions ── */
.card.static:hover { transform: none; box-shadow: none; }
.card.static { border-top-color: var(--teal); }
.card.static:nth-child(2) { border-top-color: var(--gold); }
.card.static:nth-child(3) { border-top-color: var(--navy); }
.inline-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 15.5px; }
.inline-links span { font-weight: 600; color: var(--ink); }
.inline-links a { font-weight: 600; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 90ch; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.flow-item { padding: 36px 34px; position: relative; }
.flow-item + .flow-item { border-left: 1px solid var(--line); }
.flow-item::after { content: ''; position: absolute; right: -9px; top: 50px; width: 16px; height: 16px; background: var(--white); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); z-index: 1; }
.flow-item:last-child::after { display: none; }
.flow-n { font-family: var(--display); font-size: 44px; font-weight: 700; color: var(--teal); line-height: 1; display: block; margin-bottom: 12px; }
.flow-item h3 { font-size: 32px; }
.flow-s { margin: 4px 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; margin-top: 40px; }
.group h3 { font-size: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.group .chips { margin-top: 16px; }
.mini-h { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 36px 0 8px; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: 7px 0 7px 22px; position: relative; font-size: 15.5px; color: var(--ink); }
.plain li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.tabpanel .mini { margin-bottom: 4px; }
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; }
  .flow-item + .flow-item { border-left: 0; border-top: 1px solid var(--line); }
  .flow-item::after { display: none; }
  .groups { grid-template-columns: 1fr; }
}
.steps .step:last-child.in::before, html:not(.js) .steps .step:last-child::before { width: 100%; }

.exp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.exp-item { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 30px 32px; }
.exp-item:nth-child(even) { border-left-color: var(--teal); }
.exp-kicker { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.exp-item h3 { font-size: 28px; margin-bottom: 8px; }
.exp-item p:last-child { font-size: 15.5px; }
@media (max-width: 960px) { .exp { grid-template-columns: 1fr; } }

.agencies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.agency { background: linear-gradient(140deg, var(--navy), #17407A); color: #D5DEEA; border-radius: var(--radius); padding: 32px 32px 30px; border-top: 3px solid var(--gold); }
.agency:nth-child(2) { background: linear-gradient(140deg, #14396A, #0B5E75); }
.agency:nth-child(3) { background: linear-gradient(140deg, #0B4E66, #0A7E8C); }
.agency-abbr { display: block; font-family: var(--display); font-size: 58px; font-weight: 700; line-height: 1; color: var(--gold-bright); margin-bottom: 12px; }
.agency h3 { color: var(--white); font-size: 24px; margin-bottom: 6px; }
.agency p { font-size: 15px; }
.sub-h { margin: 56px 0 0; font-size: 32px; }
.exp.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
@media (max-width: 960px) { .agencies, .exp.three { grid-template-columns: 1fr; } }
