/* =========================================================
   Aftab Associates — brand theme
   Colours taken from the Aftab logo and the original site's
   milestone tiles: maroon, navy, royal blue and stone.
   ========================================================= */
:root {
  --maroon: #750012;      /* original milestone tiles */
  --maroon-2: #91231B;    /* logo triangle */
  --maroon-dk: #5A000E;
  --navy: #083354;        /* original milestone tiles */
  --navy-dk: #05223A;
  --blue: #134F8D;        /* original navigation bar */
  --teal: #206985;        /* logo inner stroke */
  --stone: #C1B6A3;       /* logo outer strokes */
  --stone-lt: #EEEAE2;
  --paper: #F8F6F2;
  --white: #FFFFFF;
  --ink: #0E1B2B;
  --text: #4A5566;
  --muted: #7C8696;
  --line: #E3DED4;
  --line-dk: rgba(255, 255, 255, 0.14);

  --display: "Lexend", "Century Gothic", "Avenir Next", sans-serif;
  --sans: "Albert Sans", "Helvetica Neue", Arial, sans-serif;

  --r: 6px;
  --shadow: 0 12px 32px rgba(8, 51, 84, 0.10);
  --shadow-lg: 0 28px 64px rgba(8, 51, 84, 0.18);
  --container: 1220px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--white); overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--navy); letter-spacing: -0.025em; }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); }
h3 { font-size: 1.45rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; color: var(--text); }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--maroon-2); outline-offset: 3px; }
.accent { color: var(--maroon); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 32px; } }

.section { padding: 84px 0; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.section--stone { background: var(--stone-lt); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #C6D3E0; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: #A9BBCD; }

/* Eyebrow carries the logo's A mark */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-family: var(--display); font-size: .88rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--maroon);
}
.eyebrow::before { content: ""; width: 32px; height: 3px; border-radius: 2px; background: currentColor; }
.section-head.center .eyebrow::after { content: ""; width: 32px; height: 3px; border-radius: 2px; background: currentColor; }
.eyebrow img { height: 14px; width: auto; }
.section--navy .eyebrow, .page-hero .eyebrow { color: var(--stone); }
.section-head { max-width: 900px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split-head { max-width: none; display: grid; gap: 20px; align-items: end; }
@media (min-width: 960px) { .section-head.split-head { grid-template-columns: 1.3fr .8fr; gap: 64px; } .section-head.split-head p { margin: 0; } }
.lead { font-size: 1.18rem; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: var(--r);
  font-family: var(--display); font-weight: 500; font-size: .95rem; letter-spacing: -.005em;
  border: 1.5px solid transparent; cursor: pointer; transition: all .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--maroon { background: var(--maroon); color: var(--white); }
.btn--maroon:hover { background: var(--maroon-2); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--blue); }
.btn--line { border-color: var(--navy); color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--maroon); }
.btn--white:hover { background: var(--stone-lt); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 500; color: var(--maroon); font-size: .95rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar { background: var(--navy-dk); color: #9FB2C6; font-size: .82rem; display: none; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar a:hover { color: var(--white); }
.topbar__info { display: flex; gap: 28px; }
.topbar__info span, .topbar__info a { display: inline-flex; gap: 8px; align-items: center; }
.topbar svg { width: 14px; height: 14px; color: var(--stone); }
.topbar__social { display: flex; gap: 18px; }
@media (min-width: 960px) { .topbar { display: block; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 8px 24px rgba(8,51,84,.08); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }
@media (min-width: 640px) { .brand img { height: 48px; } }
.brand__text { display: none; font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--navy); letter-spacing: .04em; }
.brand.no-logo img { display: none; }
.brand.no-logo .brand__text { display: block; }

.nav { display: none; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 30px 14px; white-space: nowrap;
  font-family: var(--display); font-size: .88rem; font-weight: 400; color: var(--navy); letter-spacing: .01em;
}
.nav > ul > li > a svg { width: 12px; height: 12px; flex: none; }
.nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 2px; background: var(--maroon); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav > ul > li > a:hover::after, .nav > ul > li > a.active::after { transform: scaleX(1); }
.nav > ul > li > a.active { color: var(--maroon); }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--white); border-top: 3px solid var(--maroon);
  box-shadow: var(--shadow-lg); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s var(--ease);
}
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 11px 22px; font-size: .92rem; color: var(--ink); transition: all .2s; }
.dropdown a:hover { background: var(--paper); color: var(--maroon); padding-left: 26px; }
.header__cta { display: none; }

.menu-toggle { width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white); border-radius: var(--r); display: grid; place-items: center; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: all .25s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav { position: fixed; inset: 84px 0 0 0; background: var(--white); z-index: 49; padding: 12px var(--gutter) 40px; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); }
.menu-open .mobile-nav { transform: none; }
.menu-open { overflow: hidden; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav > ul > li > a, .mobile-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--display); font-weight: 500; color: var(--navy); cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 14px; height: 14px; transition: transform .2s; }
.mobile-nav details[open] summary svg { transform: rotate(180deg); }
.mobile-nav details ul { padding: 0 0 12px 12px; }
.mobile-nav details a { display: block; padding: 8px 0; color: var(--text); }
.mobile-nav .btn { margin-top: 24px; width: 100%; justify-content: center; }
@media (min-width: 1100px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none; }
}

/* ---------- Home hero: the crowd + the milestone tiles ---------- */
.hero { position: relative; overflow: hidden; background: var(--white); padding: 64px 0 88px; }
.hero__crowd {
  position: absolute; inset: 0; background: url("../img/crowd.jpg") center 30% / cover no-repeat; opacity: .26;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.94) 34%, rgba(255,255,255,.55) 62%, rgba(255,255,255,.2) 100%),
              linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 22%);
}
.hero .container { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero { padding: 96px 0 120px; } .hero .container { grid-template-columns: 1fr 1.02fr; gap: 64px; } }
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent { display: block; }
.hero .lead { max-width: 520px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.since {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px; padding: 8px 18px 8px 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 4px 14px rgba(8,51,84,.06);
  font-family: var(--display); font-size: .82rem; color: var(--navy); letter-spacing: .02em;
}
.since img { height: 22px; width: auto; }
.since b { font-weight: 600; color: var(--maroon); }

/* Tile mosaic (signature from the original site) */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 22px 24px; color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 128px;
  box-shadow: 0 14px 30px rgba(8,51,84,.16);
  opacity: 0; transform: translateY(18px); animation: tileIn .8s var(--ease) forwards;
}
.tile--m { background: var(--maroon); }
.tile--n { background: var(--navy); }
.tile--b { background: var(--blue); }
.tile::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border: 1px solid rgba(255,255,255,.12); transform: rotate(45deg); }
.tile b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 10px; }
.tile span { font-family: var(--display); font-size: .82rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; line-height: 1.45; color: rgba(255,255,255,.88); }
.tile--wide { grid-column: span 6; flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
.tile--wide b { margin: 0; }
.tile--wide span { max-width: 260px; text-align: right; }
.tile--hero { grid-column: span 6; min-height: 150px; }
.tile--hero b { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 600; text-transform: uppercase; letter-spacing: -0.005em; line-height: 1.2; }
.tile--third { grid-column: span 3; }
.tile--third span { font-size: clamp(.95rem, 1.5vw, 1.15rem); font-weight: 500; letter-spacing: .02em; color: var(--white); }
.tiles .tile:nth-child(1) { animation-delay: .15s; } .tiles .tile:nth-child(2) { animation-delay: .3s; }
.tiles .tile:nth-child(3) { animation-delay: .45s; } .tiles .tile:nth-child(4) { animation-delay: .6s; }
@keyframes tileIn { to { opacity: 1; transform: none; } }
@media (min-width: 640px) { .tile--third:nth-child(3) { grid-column: span 2; } .tile--third:nth-child(4) { grid-column: span 4; } }

/* ---------- Stat band ---------- */
.statband { background: var(--navy); color: var(--white); }
.statband .container { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 960px) { .statband .container { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 40px 20px 40px 0; border-bottom: 1px solid var(--line-dk); }
@media (min-width: 960px) { .stat { border-bottom: 0; border-right: 1px solid var(--line-dk); padding: 48px 32px; } .stat:first-child { padding-left: 0; } .stat:last-child { border-right: 0; } }
.stat strong { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; letter-spacing: -0.04em; }
.stat strong sup { font-size: .45em; color: var(--stone); vertical-align: top; position: relative; top: .25em; margin-left: 2px; }
.stat > span { display: block; margin-top: 10px; font-size: .92rem; color: #A9BBCD; }

/* ---------- Milestone mosaic ---------- */
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 960px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); } }
.mile {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 26px; color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; transition: transform .35s var(--ease), box-shadow .35s;
}
.mile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.mile, .mile--m { background: var(--maroon); }
.mile--n { background: var(--navy); }
.mile--full { grid-column: 1 / -1; background: var(--blue); min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 40px; flex-wrap: wrap; }
.mile--full h3 { margin-top: 0; }
.mile time { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -0.04em; }
.mile h3 { color: var(--white); font-size: 1.2rem; margin: 18px 0 6px; }
.mile p { color: rgba(255,255,255,.78); font-size: .92rem; margin: 0; }
.mile::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border: 1px solid rgba(255,255,255,.1); transform: rotate(45deg); }
@media (min-width: 960px) {
  .mile--big { grid-column: span 2; grid-row: span 2; justify-content: flex-end; }
  .mile--big time { font-size: clamp(4rem, 8vw, 7rem); }
  .mile--big h3 { font-size: 1.5rem; }
  .mile--big p { font-size: 1.02rem; max-width: 420px; }
  .mile--wide { grid-column: span 2; }
}
@media (max-width: 959px) { .mile--big { grid-column: span 2; } }
.mile--big { background: var(--maroon) !important; }
.mile__crowd { position: absolute; inset: 0; background: url("../img/crowd.jpg") center / cover; opacity: .12; mix-blend-mode: screen; }
.mile > * { position: relative; }

/* ---------- Services list ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc { display: grid; gap: 14px; padding: 36px 0; border-bottom: 1px solid var(--line); position: relative; }
@media (min-width: 960px) { .svc { grid-template-columns: 60px 1.25fr 1.2fr 60px; gap: 32px; align-items: center; padding: 40px 0; } }
.svc__num { font-family: var(--display); font-size: 1rem; font-weight: 500; color: var(--maroon); }
.svc h3 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.25rem); display: flex; align-items: center; gap: 16px; }
.svc h3 .icon { margin: 0; }
.svc p { margin: 0; }
.svc__go { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--navy); transition: all .3s var(--ease); justify-self: start; }
.svc__go svg { width: 20px; height: 20px; }
.svc:hover .svc__go { background: var(--maroon); border-color: var(--maroon); color: var(--white); transform: rotate(-45deg); }
.svc::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--maroon); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.svc:hover::before { transform: scaleX(1); }

.icon { width: 54px; height: 54px; border-radius: var(--r); display: grid; place-items: center; background: rgba(117,0,18,.07); color: var(--maroon); margin-bottom: 22px; flex: none; }
.icon svg { width: 26px; height: 26px; }
.icon--navy { background: var(--navy); color: var(--white); }

/* ---------- Quote band ---------- */
.quote { position: relative; overflow: hidden; background: var(--navy-dk); color: var(--white); padding: 110px 0; text-align: center; }
.quote__crowd { position: absolute; inset: 0; background: url("../img/crowd.jpg") center / cover; opacity: .16; mix-blend-mode: screen; }
.quote::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(5,34,58,.2), rgba(5,34,58,.92) 75%); }
.quote .container { position: relative; z-index: 1; }
.quote img.mark { height: 44px; width: auto; margin: 0 auto 28px; background: var(--white); padding: 8px 10px; border-radius: var(--r); }
.quote blockquote { margin: 0 auto; max-width: 1000px; font-family: var(--display); font-weight: 300; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.3; letter-spacing: -0.02em; }
.quote blockquote strong { font-weight: 600; color: #F2C9CF; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-family: var(--display); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-4, .grid-3, .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-5 { grid-template-columns: repeat(5, 1fr); } }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; transition: all .3s var(--ease); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { flex: 1; margin-bottom: 0; }
.card--top { border-top: 3px solid var(--maroon); }
.card--top:nth-child(even) { border-top-color: var(--navy); }

.sector { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); font-family: var(--display); font-weight: 500; color: var(--navy); font-size: .98rem; transition: all .25s var(--ease); }
.sector .icon { width: 42px; height: 42px; margin: 0; }
.sector .icon svg { width: 21px; height: 21px; }
.sector:hover { border-color: var(--maroon); color: var(--maroon); transform: translateY(-3px); box-shadow: var(--shadow); }
.sector:hover .icon { background: var(--maroon); color: var(--white); }
.sector-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.sector-card p { font-size: .94rem; }

/* ---------- Split ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split--reverse > :first-child { order: 2; } }
.checklist li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--maroon); margin-top: 2px; }
.checklist b { display: block; font-family: var(--display); color: var(--navy); font-weight: 500; }
.checklist span { color: var(--text); font-size: .95rem; }

.feature-panel { position: relative; overflow: hidden; background: var(--maroon); border-radius: var(--r); padding: 48px 40px; color: var(--white); }
.feature-panel .crowd { position: absolute; inset: 0; background: url("../img/crowd.jpg") center / cover; opacity: .12; mix-blend-mode: screen; }
.feature-panel > *:not(.crowd) { position: relative; }
.feature-panel blockquote { margin: 0; font-family: var(--display); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.35; }
.feature-panel cite { display: block; margin-top: 24px; font-style: normal; color: #F2C9CF; font-family: var(--display); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.partners { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.partners span { padding: 7px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r); font-size: .84rem; }

/* ---------- Clients ---------- */
.client-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.client { flex: 0 1 calc(50% - 7px); display: grid; place-items: center; height: 124px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: all .25s var(--ease); }
.client img { max-height: 72px; max-width: 85%; width: auto; height: auto; object-fit: contain; }
.client:hover { border-color: var(--stone); box-shadow: var(--shadow); transform: translateY(-3px); }
@media (min-width: 640px) { .client { flex-basis: calc(25% - 11px); } }
@media (min-width: 1080px) { .client { flex-basis: calc(16.666% - 12px); height: 132px; } }

.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 72px; width: max-content; animation: scroll 55s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track { gap: 16px; padding: 10px 0; }
.marquee__track .logo { display: grid; place-items: center; width: 188px; height: 112px; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .3s, border-color .3s; }
.marquee__track .logo img { max-height: 70px; max-width: 100%; width: auto; height: auto; }
.marquee__track .logo:hover { border-color: var(--stone); box-shadow: var(--shadow); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Memberships ---------- */
.member-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 960px) { .member-row { grid-template-columns: repeat(4, 1fr); } }
.member-row div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 18px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px; }
.member-row img { height: 70px; width: auto; max-width: 100%; object-fit: contain; }
.member-row span { font-size: .82rem; line-height: 1.4; color: var(--text); }
.member { display: flex; flex-direction: row; gap: 22px; align-items: center; }
.member__mark { flex: none; width: 128px; height: 88px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; padding: 10px; }
.member__mark img { max-width: 104px; max-height: 66px; width: auto; height: auto; }
.member h3 { font-size: 1.25rem; margin-bottom: 4px; }
.member p { margin: 0; font-size: .93rem; }

/* ---------- Process ---------- */
.process { display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .process { grid-template-columns: repeat(5, 1fr); } }
.step { padding: 28px 22px; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid var(--line-dk); counter-increment: step; transition: background .3s; }
.step:hover { background: var(--maroon); border-color: var(--maroon); }
.step::before { content: "0" counter(step); display: block; font-family: var(--display); font-weight: 600; font-size: 2rem; color: var(--stone); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 1.3rem; }
.step p { font-size: .92rem; margin: 0; }

/* ---------- Service detail ---------- */
.service-block { padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service-block:last-child { border-bottom: 0; }
.service-block .split { align-items: start; }
.service-block__head { display: flex; gap: 20px; align-items: center; margin-bottom: 22px; }
.service-block__head .icon { margin: 0; }
.service-block__head small { display: block; font-family: var(--display); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--maroon); }
.service-block h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags span { font-size: .84rem; padding: 6px 12px; border-radius: var(--r); background: var(--stone-lt); color: var(--navy); }
.usecase { background: var(--paper); border-left: 3px solid var(--maroon); border-radius: 0 var(--r) var(--r) 0; padding: 30px; }
.usecase h4 { font-family: var(--display); font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 96px 0 88px; }
.page-hero__crowd { position: absolute; inset: 0; background: url("../img/crowd.jpg") center 30% / cover; opacity: .16; mix-blend-mode: screen; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 30%, rgba(8,51,84,.55)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.6rem, 5.8vw, 4.5rem); max-width: 980px; }
.page-hero p { color: #B6C6D6; max-width: 640px; font-size: 1.12rem; margin: 0; }
.page-hero__bar { display: flex; gap: 6px; margin-top: 36px; }
.page-hero__bar i { display: block; height: 6px; width: 56px; border-radius: 2px; background: var(--maroon-2); }
.page-hero__bar i:nth-child(2) { background: var(--stone); width: 28px; }
.page-hero__bar i:nth-child(3) { background: var(--teal); width: 14px; }
.crumbs { display: flex; gap: 8px; font-size: .86rem; color: #93A9BF; margin-bottom: 22px; }
.crumbs a:hover { color: var(--white); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--r); background: var(--maroon); padding: 56px 32px; display: grid; gap: 28px; align-items: center; }
.cta__crowd { position: absolute; inset: 0; background: url("../img/crowd.jpg") center 35% / cover; opacity: .14; mix-blend-mode: screen; }
.cta > *:not(.cta__crowd) { position: relative; }
.cta h2 { color: var(--white); margin: 0 0 12px; font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.cta p { color: #F1D3D7; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .cta { grid-template-columns: 1.4fr 1fr; padding: 72px 64px; } .cta__actions { justify-content: flex-end; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.contact-card { display: flex; gap: 18px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; }
.contact-card .icon { margin: 0; width: 48px; height: 48px; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-family: var(--display); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-card p, .contact-card a { margin: 0; font-size: 1.05rem; color: var(--navy); font-weight: 500; }
.contact-card a:hover { color: var(--maroon); }
.form { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--maroon); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form { padding: 44px; } }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--display); font-size: .85rem; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--maroon-2); }
.field .err { display: none; color: var(--maroon-2); font-size: .82rem; margin-top: 6px; }
.field.invalid .err { display: block; }
.form-note { font-size: .86rem; color: var(--muted); margin: 12px 0 0; }
.form-success { display: none; padding: 16px; border-radius: var(--r); background: #EEF6EF; color: #1E6B34; margin-top: 16px; }
.form-success.show { display: block; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.5) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--stone-lt); color: var(--text); padding: 80px 0 0; font-size: .95rem; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--maroon) 0 50%, var(--navy) 50% 85%, var(--blue) 85%); }
.footer__grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; } }
.footer__logo { height: 46px; width: auto; margin-bottom: 18px; mix-blend-mode: multiply; }
.footer h4 { font-family: var(--display); font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); margin-bottom: 20px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--maroon); }
.footer p { max-width: 360px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: var(--r); background: var(--navy); color: var(--white); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--maroon); color: var(--white); }
.socials svg { width: 16px; height: 16px; }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact svg { flex: none; width: 16px; height: 16px; color: var(--maroon); margin-top: 4px; }
.footer__bottom { background: var(--navy-dk); color: #93A9BF; font-size: .86rem; }
.footer__bottom .container { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

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

.mb-0 { margin-bottom: 0; } .mt-40 { margin-top: 40px; } .text-center { text-align: center; }

/* ---------- Clients by industry ---------- */
.dropdown--cols { min-width: 440px; display: grid; grid-template-columns: 1fr 1fr; }
.sector-filter { position: sticky; top: 84px; z-index: 20; background: rgba(248,246,242,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.pills { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer;
  font-family: var(--display); font-size: .86rem; font-weight: 400; transition: all .2s;
}
.pill span { font-size: .74rem; padding: 2px 7px; border-radius: 3px; background: var(--stone-lt); color: var(--text); }
.pill:hover { border-color: var(--navy); }
.pill.is-active { background: var(--maroon); border-color: var(--maroon); color: var(--white); }
.pill.is-active span { background: rgba(255,255,255,.2); color: var(--white); }
.sector-list { display: grid; gap: 64px; }
.sector-block { scroll-margin-top: 170px; }
.sector-block[hidden] { display: none; }
.sector-block__head { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 2px solid var(--navy); }
.sector-block:nth-child(even) .sector-block__head { border-bottom-color: var(--maroon); }
.sector-block__head .icon { margin: 0; }
.sector-block:nth-child(even) .sector-block__head .icon { background: var(--maroon); color: var(--white); }
.sector-block:nth-child(odd) .sector-block__head .icon { background: var(--navy); color: var(--white); }
.sector-block__head > div { flex: 1; }
.sector-block__head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 2px; }
.sector-block__head p { margin: 0; font-size: .95rem; }
.sector-block__count { font-family: var(--display); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--stone); text-align: right; letter-spacing: -0.03em; }
.sector-block__count small { display: block; font-size: .7rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
@media (max-width: 639px) { .sector-block__count { display: none; } }
.client-wall--left { justify-content: flex-start; }
@media (min-width: 1100px) { .pills { flex-wrap: wrap; overflow: visible; } }

/* ---------- Chairman / leadership ---------- */
.leader { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .leader { grid-template-columns: 420px 1fr; gap: 96px; } .leader--compact { grid-template-columns: 340px 1fr; gap: 80px; } }
.leader__photo { position: relative; max-width: 420px; margin: 0 24px 24px 0; }
.leader__photo img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.leader__tile { position: absolute; border-radius: var(--r); }
.leader__tile--m { right: -24px; bottom: -24px; width: 62%; height: 62%; background: var(--maroon); }
.leader__tile--n { left: -16px; top: -16px; width: 34%; height: 34%; background: var(--navy); }
.leader__badge {
  position: absolute; z-index: 2; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); padding: 10px 16px 10px 12px; border-radius: var(--r); box-shadow: var(--shadow);
  font-family: var(--display); font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
}
.leader__badge img { height: 18px; width: auto; }
.leader__name { margin-bottom: 8px; font-size: clamp(2.6rem, 5vw, 4.2rem); }
.leader__role { font-family: var(--display); font-size: .9rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); margin-bottom: 24px; }
.leader__facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.leader__facts div { flex: 1 1 120px; padding: 20px 20px 0 0; }
.leader__facts b { display: block; font-family: var(--display); font-weight: 600; font-size: 2rem; line-height: 1; color: var(--navy); letter-spacing: -0.03em; }
.leader__facts span { font-size: .85rem; color: var(--muted); }
.leader--compact .leader__photo { max-width: 340px; }
