/* ==========================================================================
   EXTEND Resourcing Design System
   Palette derived from the brand mark: navy blue + slate grey-green + red.
   No framework, no build. Pure custom CSS.
   ========================================================================== */

:root {
  /* Brand */
  --ink:      #121a2e;
  --navy:     #1e2a56;
  --navy-2:   #2a3a72;
  --navy-3:   #35468a;
  --slate:    #4b5a5a;
  --slate-2:  #64736f;
  --red:      #b62d33;
  --red-2:    #d4444a;
  --teal:     #2f9c94;
  --teal-2:   #3fb6ad;

  /* Neutrals */
  --paper:    #ffffff;
  --mist:     #f4f6fb;
  --mist-2:   #eaeff6;
  --line:     #e3e8f1;
  --line-2:   #d3dae6;
  --text:     #1e2536;
  --muted:    #5b6578;
  --muted-2:  #8a93a6;

  /* Type */
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Radius */
  --r-sm: 9px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(18,26,46,.06), 0 2px 8px rgba(18,26,46,.05);
  --sh-2: 0 6px 20px rgba(18,26,46,.08), 0 2px 6px rgba(18,26,46,.05);
  --sh-3: 0 20px 50px rgba(18,26,46,.14), 0 8px 20px rgba(18,26,46,.08);
  --sh-navy: 0 16px 40px rgba(30,42,86,.28);

  /* Layout */
  --container: 1180px;
  --gutter: 24px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem); }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
p  { color: var(--muted); }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; opacity: .8; }
.eyebrow.on-dark { color: var(--teal-2); }
.lead { font-size: 1.18rem; color: var(--muted); line-height: 1.7; }
.text-red { color: var(--red); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 820px; }
.section { padding-block: clamp(64px, 5vw, 112px); }
.section-sm { padding-block: clamp(48px, 4vw, 76px); }
.bg-mist { background: var(--mist); }
.bg-mist-grad { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.bg-ink { background: var(--ink); color: #cfd6e6; }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; font-size: 1.12rem; }

.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: .85em 1.5em; border-radius: var(--r-pill);
  border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--sh-navy); }
.btn-primary:hover { transform: translateY(-2px); background: var(--navy-2); box-shadow: 0 22px 46px rgba(30,42,86,.34); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 14px 34px rgba(182,45,51,.3); }
.btn-red:hover { transform: translateY(-2px); background: var(--red-2); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--navy); background: #fff; transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.btn-outline-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-lg { padding: 1.02em 1.9em; font-size: 1.05rem; }
.arrow-link { display: inline-flex; align-items: center; gap: .45em; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: .98rem; }
.arrow-link svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }
.arrow-link.on-dark { color: var(--teal-2); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 20px rgba(18,26,46,.06); background: rgba(255,255,255,.9); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 128px; gap: 20px; transition: height .32s var(--ease); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 96px; width: auto; transition: height .32s var(--ease); }
/* Shrink on scroll (WordPress-style) */
.site-header.scrolled .nav { height: 84px; }
.site-header.scrolled .brand img { height: 58px; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35em;
  font-family: var(--font-display); font-weight: 500; font-size: .875rem; color: var(--text);
  padding: .55em .72em; border-radius: var(--r-sm); transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--navy); background: var(--mist-2); }
.nav-link .chev { width: 14px; height: 14px; opacity: .6; transition: transform .25s var(--ease); }
.has-drop:hover .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Dropdown */
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-3); padding: 10px; opacity: 0; visibility: hidden; transition: all .22s var(--ease);
}
.drop.wide { min-width: 520px; }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.drop a { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); transition: background .18s; align-items: flex-start; }
.drop a:hover { background: var(--mist); }
.drop .di-ico { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; background: var(--mist-2); color: var(--navy); }
.drop .di-ico svg { width: 18px; height: 18px; }
.drop .di-t { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.3; }
.drop .di-d { font-size: .8rem; color: var(--muted-2); line-height: 1.35; }

/* Mobile */
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #d5dcec; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 15% 12%, rgba(47,156,148,.22), transparent 60%),
    radial-gradient(55% 60% at 88% 20%, rgba(53,70,138,.55), transparent 62%),
    radial-gradient(70% 70% at 70% 100%, rgba(182,45,51,.16), transparent 60%),
    linear-gradient(150deg, #16203c 0%, #121a2e 55%, #0f1626 100%);
}
.hero::after { /* hex texture */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg width='56' height='96' viewBox='0 0 56 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16z' fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3Cpath d='M28 64l28 16v32L28 128 0 112V80z' fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 96px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-inner { padding-block: clamp(72px, 8vw, 128px); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 .grad { background: linear-gradient(100deg, #7fe3d9, #6aa0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 1.5rem; font-size: 1.22rem; color: #b9c3d8; max-width: 54ch; line-height: 1.65; }
.hero-cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; color: #8f9bb4; font-size: .9rem; }
.hero-trust b { color: #fff; font-family: var(--font-display); }

/* Hero split visual */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-visual { position: relative; }
.hex-card { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); backdrop-filter: blur(6px); padding: 26px; box-shadow: var(--sh-3); }
.hex-card + .hex-card { margin-top: 16px; }
.float-stat { position: absolute; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--sh-3); padding: 14px 18px; }
.float-stat .n { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--navy); }
.float-stat .l { font-size: .78rem; color: var(--muted); }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 1.4rem + 2vw, 3rem); color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.stat .n .u { color: var(--teal); }
.stat .l { margin-top: .5rem; font-size: .92rem; color: var(--muted); }
.bg-ink .stat .n { color: #fff; } .bg-ink .stat .n .u { color: var(--teal-2); } .bg-ink .stat .l { color: #9aa5bd; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .98rem; }
.card .arrow-link { margin-top: auto; padding-top: 1.1rem; }

.ico-hex { width: 54px; height: 60px; flex-shrink: 0; display: grid; place-items: center; color: #fff; margin-bottom: 20px;
  background: linear-gradient(150deg, var(--navy-2), var(--navy));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.ico-hex svg { width: 26px; height: 26px; }
.ico-hex.teal { background: linear-gradient(150deg, var(--teal-2), var(--teal)); }
.ico-hex.red  { background: linear-gradient(150deg, var(--red-2), var(--red)); }
.ico-hex.slate{ background: linear-gradient(150deg, var(--slate-2), var(--slate)); }

/* Link card (service/industry tiles) */
.tile {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  display: flex; flex-direction: column; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: transparent; }
.tile:hover .ico-hex { transform: scale(1.05) rotate(-2deg); }
.tile .ico-hex { transition: transform .3s var(--ease); }
.tile h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.tile p { font-size: .95rem; flex: 1; }
.tile .arrow-link { margin-top: 1.1rem; }

/* Feature list */
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat .fico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--mist-2); color: var(--navy); }
.feat .fico svg { width: 22px; height: 22px; }
.feat h4 { margin-bottom: .25rem; }
.feat p { font-size: .95rem; }

/* Checklist */
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 1rem; }
.check-list li svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--teal); margin-top: 1px; }
.check-list.on-dark li { color: #cbd3e4; }

/* ---------- Split / media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.narrow-media { grid-template-columns: 1.1fr .9fr; }
.media-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); aspect-ratio: 4/3; background: linear-gradient(150deg, var(--navy), var(--ink)); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-badge { position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.94); backdrop-filter: blur(4px); border-radius: var(--r); padding: 12px 16px; box-shadow: var(--sh-2); }

/* Decorative gradient panel (used where no photo) */
.gpanel { position: relative; border-radius: var(--r-xl); aspect-ratio: 4/3; overflow: hidden; box-shadow: var(--sh-3); display: grid; place-items: center;
  background: radial-gradient(70% 70% at 30% 20%, rgba(63,182,173,.5), transparent 60%), linear-gradient(150deg, var(--navy-3), var(--navy) 55%, var(--ink)); }
.gpanel .gp-hex { width: 44%; opacity: .9; filter: drop-shadow(0 20px 40px rgba(0,0,0,.3)); }
.gpanel::after { content: ""; position: absolute; inset: 0; opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%23ffffff' fill-opacity='0.25'/%3E%3C/svg%3E"); }

/* ---------- Crafted branded visuals (replace placeholder boxes) ---------- */
.viz { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); padding: 22px;
  background: radial-gradient(78% 78% at 62% 26%, rgba(53,70,138,.5), transparent 60%), linear-gradient(150deg,#1b2440,#111a2e 62%,#0e1524); }
.viz-net { width: 100%; height: auto; display: block; }
.viz-node { fill: url(#vnode); stroke: rgba(255,255,255,.42); stroke-width: 1.5; }
.viz-hub  { fill: url(#vhub); stroke: rgba(255,255,255,.6); stroke-width: 2; }
.net-line { stroke: rgba(120,205,198,.5); stroke-width: 1.6; stroke-dasharray: 5 7; animation: netflow 2.6s linear infinite; }
@keyframes netflow { to { stroke-dashoffset: -24; } }
.net-dot { fill: #7fe3d9; }
.viz-cap { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 11px; max-width: 76%;
  background: rgba(255,255,255,.96); border-radius: var(--r); padding: 10px 15px; box-shadow: var(--sh-2); }
.viz-cap .fico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--navy); color: #fff; flex-shrink: 0; }
.viz-cap .fico svg { width: 18px; height: 18px; }
.viz-cap .t { font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--ink); line-height: 1.25; }

.viz-cards { display: flex; flex-direction: column; gap: 14px; justify-content: center; padding: 26px; }
.viz-cards .pc-row { display: flex; gap: 15px; align-items: flex-start; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 16px 18px; }
.viz-cards .pc-ico { width: 44px; height: 48px; flex-shrink: 0; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--teal-2), var(--navy)); clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }
.viz-cards .pc-ico svg { width: 22px; height: 22px; }
.viz-cards h4 { color: #fff; font-size: 1rem; margin-bottom: .15rem; }
.viz-cards p { color: #aab4cc; font-size: .9rem; margin: 0; }
.viz-stat { align-self: flex-start; background: #fff; border-radius: var(--r); padding: 11px 16px; box-shadow: var(--sh-2); }
.viz-stat .n { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--navy); line-height: 1; }
.viz-stat .l { font-size: .78rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .net-line { animation: none; } .net-dot { display: none; } }

/* Article lead image */
.article-lead { margin: 0 0 2.2rem; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--sh-2); }
.article-lead img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Team ---------- */
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.team-photo { aspect-ratio: 1/1; background: linear-gradient(150deg, var(--slate-2), var(--slate)); display: grid; place-items: center; color: #fff; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .initials { font-family: var(--font-display); font-weight: 700; font-size: 3rem; opacity: .9; }
.team-body { padding: 22px 24px 26px; }
.team-body .role { color: var(--teal); font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.team-body h3 { margin: .35rem 0 .6rem; }
.team-body p { font-size: .95rem; }

/* ---------- Quote / testimonial ---------- */
.quote-band { position: relative; overflow: hidden; }
.quote { max-width: 900px; margin-inline: auto; text-align: center; }
.quote .mark { font-family: var(--font-display); font-size: 5rem; line-height: .6; color: var(--teal-2); opacity: .5; }
.quote blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); line-height: 1.4; color: #fff; letter-spacing: -.02em; }
.quote cite { display: block; margin-top: 1.5rem; font-style: normal; color: #9fb0cd; font-size: .98rem; }
.quote cite b { color: #fff; font-family: var(--font-display); display: block; }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.step .num { width: 52px; height: 58px; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  background: linear-gradient(150deg, var(--navy-2), var(--navy)); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.step h4 { margin-bottom: .3rem; }
.step p { font-size: .96rem; }

/* ---------- Model comparison ---------- */
.model-row { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.model-row:last-child { border-bottom: 1px solid var(--line); }
.model-tag { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--navy); }
.model-tag .k { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .3rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 0; }
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin-inline: auto; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #b9c3d8; margin-top: 1rem; font-size: 1.15rem; }
.cta-inner .hero-cta { justify-content: center; margin-top: 2rem; }
.cta-band::before { content:""; position:absolute; inset:0; z-index:0;
  background: radial-gradient(50% 80% at 20% 10%, rgba(47,156,148,.3), transparent 60%), radial-gradient(50% 90% at 90% 90%, rgba(182,45,51,.22), transparent 60%), linear-gradient(140deg, var(--navy) 0%, var(--ink) 70%); }

/* ---------- Breadcrumb / page hero ---------- */
.page-hero { position: relative; background: var(--ink); color: #cdd5e6; overflow: hidden; isolation: isolate; }
.page-hero::before { content:""; position:absolute; inset:0; z-index:-1;
  background: radial-gradient(55% 60% at 12% 0%, rgba(47,156,148,.2), transparent 60%), radial-gradient(60% 80% at 92% 30%, rgba(53,70,138,.5), transparent 62%), linear-gradient(150deg, #16203c, #111a2e); }
.page-hero-inner { padding-block: clamp(56px, 6vw, 92px); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5em; align-items: center; font-size: .86rem; color: #8f9bb4; margin-bottom: 1.4rem; font-family: var(--font-display); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: #b9c3d8; margin-top: 1.2rem; max-width: 60ch; }
.page-hero .eyebrow { color: var(--teal-2); margin-bottom: 1rem; }

/* ---------- Pills / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: .5em; font-size: .88rem; font-family: var(--font-display); font-weight: 500;
  padding: .5em 1em; border-radius: var(--r-pill); background: var(--mist-2); color: var(--navy); border: 1px solid transparent; }
.chip svg { width: 15px; height: 15px; color: var(--teal); }
.chips.on-dark .chip { background: rgba(255,255,255,.07); color: #dbe2f0; border-color: rgba(255,255,255,.1); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px,5vw,64px); align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: .9rem; color: var(--text); margin-bottom: .5rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1px solid var(--line-2); border-radius: var(--r); padding: .8em 1em; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(42,58,114,.12); }
.field textarea { resize: vertical; min-height: 130px; }
.contact-info { display: grid; gap: 8px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row .fico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.info-row .fico svg { width: 22px; height: 22px; }
.info-row .k { font-size: .82rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-display); }
.info-row .v { font-size: 1.05rem; color: var(--text); font-weight: 500; }
.form-note { font-size: .84rem; color: var(--muted-2); margin-top: 6px; }
.form-ok { display:none; background: #edf9f4; border:1px solid #b7e6d4; color:#12684f; padding: 14px 18px; border-radius: var(--r); margin-bottom: 16px; font-size:.95rem; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article p { font-size: 1.1rem; color: var(--text); margin-bottom: 1.4rem; line-height: 1.8; }
.article h2 { margin: 2.4rem 0 1rem; }
.article h3 { margin: 1.8rem 0 .8rem; }
.article ul { display: grid; gap: .7rem; margin: 0 0 1.6rem; }
.article ul li { position: relative; padding-left: 1.6em; color: var(--text); font-size: 1.08rem; }
.article ul li::before { content:""; position:absolute; left:0; top:.62em; width:8px; height:8px; background: var(--teal); border-radius: 2px; transform: rotate(45deg); }
.article blockquote { border-left: 3px solid var(--teal); padding-left: 1.4rem; margin: 1.8rem 0; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); font-weight: 600; line-height: 1.4; }
.post-meta { display:flex; gap:14px; align-items:center; color: var(--muted-2); font-size:.9rem; font-family: var(--font-display); }
.post-tag { display:inline-block; font-family: var(--font-display); font-weight:600; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color: var(--teal); }

/* Insight cards */
.post-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; display:flex; flex-direction:column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); height:100%; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.post-card .thumb { aspect-ratio: 16/9; background: #1a2340 center/cover no-repeat; position:relative; }
.post-card .thumb::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(18,26,46,.05), rgba(18,26,46,.32)); }
.post-card .pc-body { padding: 22px 24px 26px; display:flex; flex-direction:column; flex:1; }
.post-card h3 { font-size: 1.12rem; margin:.5rem 0 .6rem; }
.post-card p { font-size:.95rem; flex:1; }
.post-card .arrow-link { margin-top: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9aa5bd; padding-top: 72px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { height: 96px; width: auto; max-width: 100%; margin: -6px 0 20px -6px; }
.footer-brand p { color: #8b95ad; font-size: .95rem; max-width: 34ch; }
.footer-brand .socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-brand .socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #cbd3e4; transition: background .2s, transform .2s; }
.footer-brand .socials a:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.footer-brand .socials svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: #9aa5bd; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 24px 0; font-size: .86rem; color: #7b8497; }
.footer-bottom .fb-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animation (only when JS is active, so no-JS shows content) ---------- */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Utilities ---------- */
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.center{text-align:center}.mx-auto{margin-inline:auto}
.divider { height:1px; background: var(--line); border:0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 860px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .split, .split.narrow-media, .contact-grid { grid-template-columns: 1fr; }
  .split .media-frame, .split .gpanel { order: -1; }
  .model-row { grid-template-columns: 1fr; gap: 12px; }

  /* Mobile: keep the header a constant compact height so the drawer aligns */
  .nav, .site-header.scrolled .nav { height: 72px; }
  .brand img, .site-header.scrolled .brand img { height: 46px; }

  /* Mobile nav */
  .nav-toggle { display: inline-flex; }
  .nav-menu, .nav-actions .btn-ghost { display: none; }
  .nav-menu {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 16px var(--gutter) 28px; border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-3); max-height: calc(100vh - 72px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease);
  }
  body.nav-open .nav-menu { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: .85em 1em; font-size: 1.05rem; justify-content: space-between; }
  .drop, .drop.wide { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 4px 0 8px 12px; }
  .drop-grid { grid-template-columns: 1fr; }
  .drop a { padding: 8px 10px; }
  .drop .di-d { display: none; }
  .has-drop .chev { display: none; }
}
@media (max-width: 560px) {
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .hero-cta .btn, .cta-inner .btn { width: 100%; }
}
