/* ============================================================
   edXelerateAI — Design System
   ============================================================ */

:root {
  --red: #e11d2e;
  --red-dark: #a8121f;
  --red-soft: #ff4257;
  --red-glow: rgba(225, 29, 46, 0.35);

  --ink: #07090f;
  --ink-2: #0d1119;
  --ink-3: #141a26;
  --ink-4: #1d2534;

  --slate: #626c7f;
  --slate-2: #8b94a5;
  --mist: #f5f6f9;
  --mist-2: #eceef4;
  --white: #ffffff;

  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(7, 9, 15, 0.09);

  --r: 20px;
  --r-sm: 12px;
  --r-lg: 28px;

  --shadow: 0 24px 60px -24px rgba(7, 9, 15, 0.3);
  --shadow-lg: 0 40px 90px -30px rgba(7, 9, 15, 0.45);
  --shadow-red: 0 18px 44px -14px var(--red-glow);

  --maxw: 1220px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Sora', var(--font);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
sup { font-size: 0.5em; vertical-align: super; letter-spacing: 0.04em; }

.wrap { width: 90%; max-width: var(--maxw); margin: 0 auto; }
.wrap-narrow { width: 90%; max-width: 900px; margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.14; font-weight: 700; letter-spacing: -0.025em; }

.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.dark { background: var(--ink); color: rgba(255,255,255,0.78); }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.tint { background: var(--mist); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--red); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--red-soft); }
.eyebrow sup { letter-spacing: 0; margin-left: -3px; font-size: 0.62em; }
.subnav sup { letter-spacing: 0; margin-left: -2px; }

/* ---------- Section heading ---------- */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 20px; }
.sec-head p { color: var(--slate); font-size: 1.12rem; }
.dark .sec-head p { color: rgba(255,255,255,0.62); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 999px; font-weight: 650; font-size: 0.98rem;
  cursor: pointer; border: 1px solid transparent; transition: all .3s cubic-bezier(.2,.7,.3,1);
  font-family: var(--font);
}
.btn-red { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-3px); box-shadow: 0 24px 50px -14px var(--red-glow); }
.btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--red); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(5px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 5%; transition: all .4s cubic-bezier(.2,.7,.3,1);
}
.nav.scrolled {
  background: rgba(7, 9, 15, 0.88);
  backdrop-filter: saturate(180%) blur(18px);
  padding: 12px 5%;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .mark {
  font-family: var(--display); font-weight: 800; font-size: 1.62rem;
  color: var(--red); letter-spacing: -0.035em;
}
.brand .mark u { text-decoration: underline; text-underline-offset: 2px; color: var(--red); }
.brand .tag {
  font-size: 0.6rem; letter-spacing: 0.16em; color: var(--red);
  font-weight: 700; font-style: italic; text-transform: uppercase; margin-top: 5px;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8); font-weight: 600; font-size: 0.95rem;
  padding: 10px 18px; border-radius: 999px; transition: all .25s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.09); }
.nav-links a.active { color: #fff; background: var(--red); }
.nav-cta { background: #fff; color: var(--ink) !important; font-weight: 700; }
.nav-cta:hover { background: var(--red) !important; color: #fff !important; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: 0; padding: 6px; }
.burger span { width: 26px; height: 2px; background: #fff; transition: .3s; border-radius: 2px; }

/* ---------- Mesh backdrop ---------- */
.mesh { position: relative; overflow: hidden; }
.mesh::before {
  content: ""; position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 50% at 78% 18%, rgba(225,29,46,0.30), transparent 62%),
    radial-gradient(42% 55% at 12% 78%, rgba(225,29,46,0.14), transparent 65%),
    radial-gradient(50% 60% at 50% 110%, rgba(120,20,40,0.20), transparent 70%);
}
.mesh > * { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(105deg, rgba(7,9,15,0.96) 0%, rgba(7,9,15,0.86) 42%, rgba(7,9,15,0.5) 100%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background:
    radial-gradient(46% 62% at 82% 22%, rgba(225,29,46,0.32), transparent 62%),
    radial-gradient(40% 50% at 8% 88%, rgba(225,29,46,0.12), transparent 66%);
}
.hero-inner { position: relative; z-index: 4; padding: 150px 0 120px; }
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 800;
  max-width: 17ch; margin-bottom: 26px; letter-spacing: -0.035em;
}
.hero h1 .accent { color: var(--red-soft); display: inline-block; }
.hero .lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 52ch;
  color: rgba(255,255,255,0.72); margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero bottom strip */
.hero-strip {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 5;
  border-top: 1px solid var(--line);
  background: rgba(7,9,15,0.55); backdrop-filter: blur(12px);
}
.hero-strip .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 20px 0; flex-wrap: wrap;
}
.hero-strip .label {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red-soft); font-weight: 700;
}
.hero-strip .regions { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-strip .regions span { color: rgba(255,255,255,0.72); font-weight: 600; font-size: 0.9rem; }

.hero-dots { position: absolute; bottom: 100px; right: 5%; z-index: 6; display: flex; gap: 8px; }
.hero-dots button { width: 30px; height: 3px; border: 0; border-radius: 999px; background: rgba(255,255,255,0.28); cursor: pointer; transition: .35s; padding: 0; }
.hero-dots button.active { background: var(--red); width: 48px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 190px 0 100px; color: #fff; overflow: hidden; background: var(--ink); }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(7,9,15,0.95), rgba(7,9,15,0.62)); }
.page-hero-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(44% 70% at 80% 28%, rgba(225,29,46,0.32), transparent 62%);
}
.page-hero .inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
.page-hero .sub { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 54ch; margin-top: 18px; }
.page-hero .crumbs { color: rgba(255,255,255,0.5); font-weight: 600; margin-top: 20px; font-size: 0.9rem; }
.page-hero .crumbs a:hover { color: var(--red-soft); }

/* ---------- Statement ---------- */
.statement { text-align: center; }
.statement .big {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.34;
  max-width: 24ch; margin: 0 auto; color: #fff; letter-spacing: -0.025em;
}
.statement .big em { color: var(--red-soft); font-style: normal; }
.statement .sig { margin-top: 30px; color: rgba(255,255,255,0.5); font-size: 0.95rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: 30px 90px; justify-content: center; margin-inline: auto;
}
.stat { text-align: center; }
.stat .num { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--red); line-height: 1; }
.stat .label { font-size: 0.82rem; color: var(--slate); font-weight: 650; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 12px; }
.dark .stat .label { color: rgba(255,255,255,0.55); }

/* ---------- Division cards (the 5 brands) ---------- */
.divisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.division {
  position: relative; padding: 40px 34px 36px; border-radius: var(--r);
  background: var(--ink-2); border: 1px solid var(--line);
  overflow: hidden; transition: all .4s cubic-bezier(.2,.7,.3,1);
  display: flex; flex-direction: column;
}
.division::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; pointer-events: none;
  background: radial-gradient(80% 70% at 50% 0%, rgba(225,29,46,0.18), transparent 70%);
}
.division:hover { transform: translateY(-8px); border-color: rgba(225,29,46,0.5); box-shadow: var(--shadow-lg); }
.division:hover::after { opacity: 1; }
.division .idx {
  font-family: var(--display); font-size: 0.78rem; font-weight: 700;
  color: var(--red); letter-spacing: 0.18em; margin-bottom: 22px;
}
.division h3 { font-size: 1.32rem; color: #fff; margin-bottom: 6px; }
.division .kicker {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red-soft); font-weight: 700; margin-bottom: 16px;
}
.division p { color: rgba(255,255,255,0.66); font-size: 0.97rem; flex: 1; }
.division .more {
  margin-top: 22px; font-weight: 650; font-size: 0.9rem; color: #fff;
  display: inline-flex; align-items: center; gap: 8px;
}
.division .more span { transition: transform .3s ease; color: var(--red-soft); }
.division:hover .more span { transform: translateX(5px); }
.division.wide { grid-column: span 1; }

/* light variant */
.division.light { background: #fff; border-color: var(--line-dark); }
.division.light h3 { color: var(--ink); }
.division.light p { color: var(--slate); }
.division.light .more { color: var(--ink); }

/* ---------- Chips (capability clouds) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 8px 16px; border-radius: 999px; font-size: 0.86rem; font-weight: 550;
  background: var(--mist); color: var(--ink-3); border: 1px solid var(--line-dark);
  transition: all .25s ease;
}
.chip:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-2px); }
.dark .chip { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.78); border-color: var(--line); }
.dark .chip:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- Detail service block ---------- */
.svc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  margin-bottom: 34px; background: #fff; scroll-margin-top: 110px;
}
.svc-media { position: relative; min-height: 420px; background: var(--ink); }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(7,9,15,0.15), rgba(225,29,46,0.28));
}
.svc-media .badge {
  position: absolute; left: 28px; top: 28px; z-index: 2;
  background: rgba(7,9,15,0.7); backdrop-filter: blur(10px);
  color: #fff; padding: 9px 18px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line-2);
}
.svc-body { padding: 54px; display: flex; flex-direction: column; justify-content: center; }
.svc:nth-child(even) .svc-media { order: 2; }
.svc-body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.svc-body .kicker {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 18px;
}
.svc-body p { color: var(--slate); margin-bottom: 18px; }
.svc-body .sub-label {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); font-weight: 700; margin: 8px 0 14px;
}
.fine { font-size: 0.84rem; color: var(--slate-2); }

/* check list */
.ticks { list-style: none; margin: 4px 0 18px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 11px; color: var(--ink-3); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--red); font-weight: 800;
}
.dark .ticks li { color: rgba(255,255,255,0.75); }

/* ---------- Capability grid (education consulting areas) ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cap {
  padding: 30px 26px; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line-dark);
  transition: all .3s ease; position: relative; overflow: hidden;
}
.cap::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .35s ease;
}
.cap:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.cap:hover::before { transform: scaleY(1); }
.cap .n { font-size: 0.72rem; font-weight: 700; color: var(--red); letter-spacing: 0.14em; margin-bottom: 10px; }
.cap h4 { font-size: 1.02rem; line-height: 1.35; }

/* ---------- Component grid (CBL) ---------- */
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.comp {
  padding: 34px 28px; border-radius: var(--r);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  transition: all .3s ease;
}
.comp:hover { background: rgba(225,29,46,0.1); border-color: rgba(225,29,46,0.45); transform: translateY(-5px); }
.comp .ico { font-size: 1.5rem; margin-bottom: 16px; display: block; }
.comp h4 { font-size: 1.05rem; color: #fff; margin-bottom: 8px; }
.comp p { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* ---------- Cards (generic) ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line-dark); border-radius: var(--r);
  padding: 40px 36px; transition: all .35s ease; position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleY(1); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(225,29,46,0.1); color: var(--red); margin-bottom: 24px; font-size: 1.4rem;
}
.card h3 { font-size: 1.28rem; margin-bottom: 12px; }
.card p { color: var(--slate); }

/* ---------- Sub navigation (services) ---------- */
.subnav {
  position: sticky; top: 66px; z-index: 90;
  background: rgba(255,255,255,0.9); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line-dark);
}
.subnav .inner { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.subnav .inner::-webkit-scrollbar { display: none; }
.subnav a {
  white-space: nowrap; padding: 9px 18px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 620; color: var(--slate); transition: all .25s ease;
}
.subnav a:hover { background: var(--mist); color: var(--ink); }
.subnav a.on { background: var(--red); color: #fff; }

/* ---------- Edge / bars ---------- */
.edge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 60px; }
.edge-item .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.edge-item h4 { font-size: 1.1rem; }
.edge-item .check { color: var(--red); font-weight: 800; }
.bar { height: 7px; background: rgba(255,255,255,0.09); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--red-soft)); border-radius: 999px; transition: width 1.5s cubic-bezier(.2,.8,.2,1); }

/* ---------- Regions strip ---------- */
.regions-row {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.region {
  padding: 14px 30px; border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--display); font-weight: 650; font-size: 1rem; color: #fff;
  background: rgba(255,255,255,0.03); transition: all .3s ease;
}
.region:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { border-radius: var(--r); overflow: hidden; position: relative; background: var(--ink); box-shadow: var(--shadow); }
.member-img { aspect-ratio: 3/4; overflow: hidden; }
.member-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.member:hover .member-img img { transform: scale(1.07); }
.member-info {
  position: absolute; inset: auto 0 0 0; padding: 22px 20px;
  background: linear-gradient(to top, rgba(7,9,15,0.96) 34%, transparent); color: #fff;
}
.member-info h3 { font-size: 1.02rem; margin-bottom: 3px; line-height: 1.25; }
.member-info .loc { color: var(--red-soft); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.member-bio {
  position: absolute; inset: 0; background: rgba(168,18,31,0.96); color: #fff;
  padding: 26px 24px; display: flex; align-items: center; font-size: 0.83rem; line-height: 1.58;
  opacity: 0; transform: translateY(10px); transition: all .38s ease; overflow-y: auto;
}
.member:hover .member-bio { opacity: 1; transform: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); margin-bottom: 16px; max-width: 24ch; margin-inline: auto; }
.cta-band .eyebrow { color: rgba(255,255,255,0.85); }
.cta-phones { display: inline-flex; flex-wrap: wrap; gap: 12px 34px; justify-content: center; font-weight: 700; font-size: 1.12rem; margin-bottom: 32px; }
.cta-phones a { border-bottom: 2px solid rgba(255,255,255,0.45); padding-bottom: 2px; transition: border-color .25s; }
.cta-phones a:hover { border-color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 70px; }
.contact-card { border: 1px solid var(--line-dark); border-radius: var(--r); padding: 34px; transition: all .3s ease; }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: transparent; }
.contact-card .ico { width: 50px; height: 50px; border-radius: 14px; background: rgba(225,29,46,0.1); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 20px; }
.contact-card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.contact-card p { color: var(--slate); }

.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line-dark); border-radius: var(--r); padding: 42px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 640; font-size: 0.86rem; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-dark); border-radius: var(--r-sm);
  font-family: inherit; font-size: 0.97rem; background: var(--mist); transition: all .25s ease; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(225,29,46,0.1); }
.form-error { color: var(--red); font-size: 0.8rem; margin-top: 6px; display: none; }
.form-success { color: #10874a; font-weight: 640; display: none; margin-top: 12px; }
.contact-aside h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
.contact-aside > p { color: var(--slate); margin-bottom: 28px; }
.map-frame { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 330px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.62); padding: 80px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 54px; border-bottom: 1px solid var(--line); }
.footer .brand .mark { font-size: 1.72rem; }
.footer-col h4 { color: #fff; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.6); margin-bottom: 11px; transition: color .22s; font-size: 0.94rem; }
.footer-col a:hover { color: var(--red-soft); }
.footer-about p { color: rgba(255,255,255,0.58); margin: 20px 0 0; max-width: 34ch; font-size: 0.94rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 10px; font-size: 0.86rem; }
.footer-bottom a { color: var(--red-soft); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s cubic-bezier(.2,.7,.3,1), transform .85s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .divisions { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc:nth-child(even) { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc-media { order: 0; }
  .svc-media { min-height: 280px; }
  .svc-body { padding: 38px 30px; }
  .form-wrap, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, auto); gap: 34px 50px; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: 80%; max-width: 320px;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    background: var(--ink-2); padding: 40px; transform: translateX(100%);
    transition: transform .38s cubic-bezier(.2,.7,.3,1); border-left: 1px solid var(--line);
  }
  .nav-links.open { transform: none; box-shadow: -30px 0 70px rgba(0,0,0,.55); }
  .nav-links a { width: 100%; font-size: 1.08rem; }
  .burger { display: flex; z-index: 210; }
  .divisions, .cards, .cards.three, .cap-grid, .comp-grid, .edge-grid, .team-grid, .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 30px; }
  .member-bio { position: static; opacity: 1; transform: none; background: var(--ink-2); }
  .member-info { position: static; background: var(--ink); }
  .footer-top { grid-template-columns: 1fr; }
  .hero-strip { position: static; }
  .hero-dots { bottom: 30px; }
  .subnav { top: 60px; }
}
