/* =========================================================
   Skyscape Consultants — Stylesheet
   ========================================================= */

:root {
  --navy-900: #071528;
  --navy-800: #0b1f3a;
  --navy-700: #12305a;
  --navy-600: #1b4278;
  --sky-500: #2f8fe0;
  --sky-400: #4fa8f0;
  --sky-300: #7cc4ff;
  --sky-100: #e3f1fc;
  --gold: #d9a441;
  --ink: #0f1a2b;
  --ink-2: #33415a;
  --ink-3: #66748c;
  --line: #dfe5ee;
  --surface: #ffffff;
  --surface-2: #f4f7fb;
  --surface-3: #e9eef5;
  --success: #1f9d61;
  --danger: #d64545;

  --font-head: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(7, 21, 40, .06), 0 2px 8px rgba(7, 21, 40, .05);
  --shadow-md: 0 8px 28px rgba(7, 21, 40, .12);
  --shadow-lg: 0 24px 60px rgba(7, 21, 40, .22);

  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
html, body { overflow-x: hidden; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy-800); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 1000; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  position: relative;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sky-500); color: #fff; box-shadow: 0 8px 20px rgba(47, 143, 224, .35); }
.btn-primary:hover { background: var(--sky-400); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn[disabled] { opacity: .7; pointer-events: none; }
.btn-spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(11, 31, 58, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(7, 21, 40, .97); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-logo { height: 46px; width: auto; }
.footer-brand .brand-logo { height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand-sub { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sky-300); margin-top: 4px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px;
  color: rgba(255, 255, 255, .85); font-weight: 500; font-size: .95rem; transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
.chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-cta { margin-left: 10px; }

/* Dropdowns (pick lists) */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 320px;
  background: var(--surface); color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-wide { min-width: 640px; }
.dropdown-head { padding: 12px 14px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dropdown-title { font-family: var(--font-head); font-weight: 700; margin: 0 0 2px; color: var(--navy-800); }
.dropdown-desc { margin: 0; font-size: .85rem; color: var(--ink-3); }
.dropdown-all { display: inline-block; margin-top: 8px; font-size: .85rem; font-weight: 600; color: var(--sky-500); }
.dropdown-list a {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 10px; transition: background .15s;
}
.dropdown-list a:hover, .dropdown-list a:focus-visible { background: var(--surface-2); outline: none; }
.dropdown-list a strong { font-weight: 600; color: var(--navy-800); font-size: .95rem; }
.dropdown-list a span { font-size: .82rem; color: var(--ink-3); }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown-grid a { flex-direction: row; align-items: center; gap: 12px; }
.dropdown-grid .dd-icon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 8px; background: var(--sky-100); color: var(--sky-500); display: grid; place-items: center; }
.dropdown-grid .dd-icon svg { width: 18px; height: 18px; }
.dropdown-grid .dd-text { display: flex; flex-direction: column; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-800); color: #fff; overflow: hidden; padding-top: 80px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero-glow-a { width: 520px; height: 520px; background: #1f6fd1; top: -160px; right: -80px; animation: drift 14s ease-in-out infinite alternate; }
.hero-glow-b { width: 380px; height: 380px; background: #0c3d78; bottom: -120px; left: 10%; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-40px, 30px); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-bottom: 64px; }
.eyebrow { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--sky-500); margin-bottom: 14px; }
.eyebrow-light { color: var(--sky-300); }
.hero-title { color: #fff; margin-bottom: 20px; }
.hero-title .accent { color: var(--sky-300); background: linear-gradient(90deg, var(--sky-300), #b9e1ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { font-size: 1.15rem; color: rgba(255, 255, 255, .8); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges li { font-size: .75rem; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.75); }

/* Hero panel (decorative dashboard) */
.hero-panel { display: grid; gap: 16px; }
.panel-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg); }
.panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .85rem; color: rgba(255,255,255,.8); }
.panel-dot { width: 8px; height: 8px; border-radius: 50%; background: #45d483; box-shadow: 0 0 0 4px rgba(69,212,131,.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(69,212,131,.2); } 50% { box-shadow: 0 0 0 8px rgba(69,212,131,.05); } }
.panel-tag { margin-left: auto; font-size: .7rem; padding: 3px 8px; border-radius: 999px; background: rgba(79,168,240,.2); color: var(--sky-300); }
.heatmap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 360px; }
.heatmap span { aspect-ratio: 1; border-radius: 6px; background: var(--c); opacity: 0; animation: cellIn .5s var(--ease) forwards; animation-delay: var(--d); transition: transform .3s; }
.heatmap span:hover { transform: scale(1.08); }
@keyframes cellIn { to { opacity: 1; } }
.panel-legend { display: flex; gap: 14px; margin-top: 14px; font-size: .72rem; color: rgba(255,255,255,.65); flex-wrap: wrap; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-low { background: #2f8fe0; } .lg-med { background: #4fb5a8; } .lg-high { background: #e0a83a; } .lg-crit { background: #e05d5d; }
.panel-mini { padding: 16px 18px; }
.mini-label { font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.meter { height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--sky-500), var(--sky-300)); animation: fill 1.4s var(--ease) .4s forwards; }
@keyframes fill { to { width: var(--w); } }
.mini-value { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; margin: 10px 0 0; }
.mini-value small { font-weight: 500; font-size: .8rem; color: rgba(255,255,255,.6); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.12); padding: 36px 0 44px; position: relative; }
.stats li { padding: 0 24px; border-left: 1px solid rgba(255,255,255,.12); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stat-value { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: #fff; line-height: 1; }
.stat-value small { font-size: 1.4rem; color: var(--sky-300); }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.65); margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-muted { background: var(--surface-2); }
.section-dark { background: var(--navy-800); color: rgba(255,255,255,.82); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head-sm { margin-bottom: 28px; }
.section-head-sm h3 { font-size: 1.5rem; }
.section-head-sm p { color: var(--ink-3); }
.section-lead { font-size: 1.1rem; color: var(--ink-2); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col-reverse > :first-child { order: 0; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--navy-800); color: var(--sky-300); display: grid; place-items: center; margin-bottom: 20px; }
.pillar-icon svg { width: 26px; height: 26px; }
.pillar p { color: var(--ink-2); margin: 0; }

.value-list li { padding: 12px 0 12px 22px; position: relative; border-top: 1px solid rgba(255,255,255,.1); }
.value-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--sky-400); }
.value-list strong { color: #fff; }

/* Approach */
.approach { display: grid; grid-template-columns: 340px 1fr; gap: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.approach-steps { background: var(--surface-2); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.step-btn { display: flex; align-items: center; gap: 16px; text-align: left; padding: 16px 18px; border-radius: 12px; transition: background .2s, color .2s; width: 100%; }
.step-btn .step-num { font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--sky-500); width: 28px; }
.step-btn .step-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.step-btn:hover { background: var(--surface-3); }
.step-btn[aria-selected="true"] { background: var(--navy-800); color: #fff; }
.step-btn[aria-selected="true"] .step-num { color: var(--sky-300); }
.approach-detail { padding: 40px 44px 40px 12px; min-height: 260px; }
.approach-detail .detail-num { font-family: var(--font-head); font-weight: 800; font-size: 4rem; line-height: 1; color: var(--sky-100); margin-bottom: 8px; }
.approach-detail h3 { font-size: 1.6rem; }
.approach-detail p { color: var(--ink-2); font-size: 1.05rem; max-width: 560px; }
.approach-detail .detail-progress { display: flex; gap: 6px; margin-top: 28px; }
.approach-detail .detail-progress span { height: 4px; flex: 1; border-radius: 2px; background: var(--surface-3); }
.approach-detail .detail-progress span.on { background: var(--sky-500); }
.fade-in { animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Services */
.service-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .88rem; font-weight: 500; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--sky-500); color: var(--sky-500); }
.chip[aria-selected="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 760px; }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .3s, border-color .3s;
}
.service-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--sky-500), var(--sky-300)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card:hover::after, .service-card.is-highlight::after { transform: scaleX(1); }
.service-card.is-highlight { border-color: var(--sky-400); box-shadow: 0 0 0 4px rgba(79,168,240,.18); }
.service-card[hidden] { display: none; }
.service-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--sky-100); color: var(--sky-500); display: grid; place-items: center; }
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { margin: 0; font-size: 1.15rem; }
.service-tagline { color: var(--navy-600); font-weight: 500; font-size: .92rem; margin: 0; }
.service-summary { color: var(--ink-2); font-size: .93rem; margin: 0; flex: 1; }
.service-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sky-500); font-size: .9rem; padding: 0; align-self: flex-start; }
.service-more svg { width: 14px; height: 14px; transition: transform .2s; }
.service-more:hover svg { transform: translateX(3px); }

/* Why visual */
.why-visual { display: grid; place-items: center; }
.orbit { position: relative; width: min(100%, 420px); aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--line); }
.orbit::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 1px dashed var(--line); }
.orbit-core { position: absolute; inset: 35%; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.2; box-shadow: var(--shadow-lg); }
.orbit-node { position: absolute; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .82rem; font-weight: 600; color: var(--navy-700); transform: translate(-50%, -50%); animation: float 5s ease-in-out infinite; }
.n1 { left: 50%; top: 0; } .n2 { left: 96%; top: 28%; animation-delay: -1s; } .n3 { left: 96%; top: 72%; animation-delay: -2s; }
.n4 { left: 50%; top: 100%; animation-delay: -3s; } .n5 { left: 4%; top: 72%; animation-delay: -4s; } .n6 { left: 4%; top: 28%; animation-delay: -5s; }
@keyframes float { 0%, 100% { margin-top: 0; } 50% { margin-top: -6px; } }

.check-list { margin: 0 0 32px; }
.check-list li { padding: 12px 0 12px 36px; position: relative; border-top: 1px solid var(--line); color: var(--ink-2); }
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 22px; height: 22px; border-radius: 50%; background: var(--sky-100); }
.check-list li::after { content: ""; position: absolute; left: 7px; top: 21px; width: 8px; height: 4px; border-left: 2px solid var(--sky-500); border-bottom: 2px solid var(--sky-500); transform: rotate(-45deg); }
.check-list strong { color: var(--ink); }

/* Industries */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--navy-800); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.industry:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.industry .ind-icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; background: var(--navy-800); color: var(--sky-300); display: grid; place-items: center; }
.industry svg { width: 20px; height: 20px; }

/* Directory */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-700), var(--sky-500)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; }
.person h3 { font-size: 1.05rem; margin-bottom: 4px; }
.person-role { font-size: .82rem; color: var(--sky-500); font-weight: 600; margin-bottom: 12px; }
.person-bio { font-size: .9rem; color: var(--ink-2); margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: .72rem; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }

.subsection { margin-top: 72px; }
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.practice { border-left: 3px solid var(--sky-500); padding: 6px 0 6px 18px; }
.practice h4 { font-size: 1rem; margin-bottom: 6px; }
.practice p { font-size: .9rem; color: var(--ink-2); margin: 0; }

.under-construction { display: flex; align-items: center; gap: 16px; padding: 24px 28px; border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--surface-2); }
.under-construction svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--gold); }
.under-construction strong { display: block; font-family: var(--font-head); color: var(--navy-800); }
.under-construction span { font-size: .9rem; color: var(--ink-3); }

.offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.office { background: var(--surface-2); border-radius: var(--radius); padding: 24px; }
.office h4 { margin-bottom: 2px; }
.office .office-region { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sky-500); font-weight: 600; margin-bottom: 12px; }
.office p { font-size: .9rem; color: var(--ink-2); margin: 0 0 6px; }
.office a { color: var(--navy-700); font-weight: 500; }

/* Contact */
.contact-meta li { display: flex; flex-direction: column; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact-meta li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.meta-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sky-300); margin-bottom: 4px; }
.contact-meta a { color: #fff; font-weight: 500; }

.contact-form { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field label span { color: var(--danger); }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-500); box-shadow: 0 0 0 4px rgba(47,143,224,.15); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--danger); }
.field-error { font-size: .78rem; color: var(--danger); display: none; }
.field.is-invalid .field-error { display: block; }
.field textarea { resize: vertical; min-height: 120px; }
.field-check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field-check input { margin-top: 4px; accent-color: var(--sky-500); width: 16px; height: 16px; }
.field-check label { font-weight: 400; font-size: .85rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-footer { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-status { margin: 0; font-size: .9rem; font-weight: 500; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

/* Footer */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { margin-top: 18px; font-size: .92rem; max-width: 300px; }
.footer-title { color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; font-size: .92rem; }
.site-footer li a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.footer-legal a:hover { color: #fff; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7,21,40,.7); backdrop-filter: blur(4px); animation: fadeIn .25s; }
.modal-dialog { position: relative; background: var(--surface); border-radius: var(--radius); max-width: 640px; width: 100%; max-height: 90vh; overflow: auto; padding: 40px; box-shadow: var(--shadow-lg); animation: modalIn .3s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; line-height: 1; display: grid; place-items: center; background: var(--surface-2); }
.modal-close:hover { background: var(--surface-3); }
.modal-body .service-icon { margin-bottom: 18px; }
.modal-body h3 { font-size: 1.6rem; }
.modal-body .service-tagline { font-size: 1.05rem; margin-bottom: 14px; }
.modal-body .service-summary { font-size: 1rem; margin-bottom: 22px; }
.modal-body h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); margin-bottom: 10px; }
.deliverables li { padding: 10px 0 10px 28px; position: relative; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
.deliverables li:last-child { border-bottom: 1px solid var(--line); }
.deliverables li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 10px; height: 10px; border-radius: 3px; background: var(--sky-500); }
.modal-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline { border: 1.5px solid var(--line); color: var(--navy-800); }
.btn-outline:hover { border-color: var(--navy-800); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; } .delay-2 { transition-delay: .24s; } .delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .team-grid, .industries-grid, .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .approach { grid-template-columns: 1fr; }
  .approach-steps { flex-direction: row; overflow-x: auto; gap: 8px; }
  .step-btn { width: auto; flex: 1 1 0; min-width: 140px; justify-content: center; padding: 14px 12px; }
  .approach-detail { padding: 32px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: flex; }
  /* backdrop-filter would make the header the containing block for the fixed drawer */
  .site-header { backdrop-filter: none; background: var(--navy-800); }
  .primary-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: var(--navy-900); padding: 16px 20px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
  }
  .primary-nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 12px; font-size: 1.05rem; border-radius: 10px; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; }
  .dropdown {
    position: static; min-width: 0; box-shadow: none; border: 0; background: rgba(255,255,255,.04); color: #fff;
    opacity: 1; visibility: visible; transform: none; display: none; margin: 4px 0 8px; padding: 6px;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .dropdown-head { display: none; }
  .dropdown-grid { grid-template-columns: 1fr; }
  .dropdown-list a strong { color: #fff; }
  .dropdown-list a span { color: rgba(255,255,255,.6); }
  .dropdown-list a:hover { background: rgba(255,255,255,.06); }
  .dropdown-grid .dd-icon { background: rgba(255,255,255,.1); color: var(--sky-300); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col-reverse > :first-child { order: 1; }
  .pillars { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .contact-form { padding: 26px; }
}

@media (max-width: 600px) {
  .step-btn { min-width: 0; flex-direction: column; gap: 4px; }
  .step-btn .step-num { width: auto; }
  .step-btn .step-title { font-size: .9rem; }
  .services-grid, .team-grid, .industries-grid, .practice-grid, .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats li { border-left: 0; padding-left: 0; }
  .hero { padding-top: 56px; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .approach-detail { padding: 24px; }
  .modal-dialog { padding: 28px 22px; }
}
