/* ==========================================================================
   R K A A & Associates — Chartered Accountants
   Design system + page styles. Plain CSS, no build step.
   ========================================================================== */

:root {
  /* Brand palette (sampled from the logo) */
  --navy: #154964;
  --navy-dark: #0E3247;
  --navy-deep: #0A2536;
  --navy-soft: #EAF1F6;
  --navy-tint: #F4F8FB;
  --orange: #F27B2B;
  --orange-soft: #FDEFE4;
  --green: #58B84A;
  --green-soft: #E9F6E6;

  --ink: #17232C;
  --text: #2E3E4A;
  --muted: #5F7180;
  --line: #DFE7ED;
  --bg: #FFFFFF;
  --bg-alt: #F6F9FB;

  --font-head: "Plus Jakarta Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 50, 71, .06), 0 2px 8px rgba(14, 50, 71, .06);
  --shadow-md: 0 8px 24px rgba(14, 50, 71, .10);
  --shadow-lg: 0 24px 60px rgba(14, 50, 71, .16);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  --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(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.015em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid rgba(242, 123, 43, .55); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy-deep); color: #C9D8E3; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }

/* Section headers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section--navy .section-head p { color: #A9BCCB; }
.section--navy .eyebrow { color: #FFA466; }
.section--navy .eyebrow::before { background: #FFA466; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(242, 123, 43, .30); }
.btn--primary:hover { background: #E06B1D; color: #fff; box-shadow: 0 12px 26px rgba(242, 123, 43, .38); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(21, 73, 100, .25); }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #B8CAD8; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.topbar li { display: inline-flex; align-items: center; gap: 8px; }
.topbar a { color: #E4EDF3; }
.topbar a:hover { color: #FFA466; }
.topbar svg { width: 14px; height: 14px; color: #FFA466; }
.topbar .frn { font-family: var(--font-head); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: #8FA9BC; }
@media (max-width: 720px) { .topbar .frn, .topbar .hide-sm { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
  padding: 10px 14px; border-radius: 10px; position: relative;
}
.nav a:not(.btn) { transition: color .2s, background .2s; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform .25s var(--ease);
}
.nav a:not(.btn):hover, .nav a:not(.btn):focus-visible { color: var(--navy); background: var(--navy-soft); }
.nav a:not(.btn):hover::after, .nav a:not(.btn):focus-visible::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--navy); }
.nav .btn { margin-left: 10px; padding: 11px 20px; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 20px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav a.is-active { background: var(--navy-soft); }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(21, 73, 100, .10), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(242, 123, 43, .10), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F8FB 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(21, 73, 100, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 73, 100, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero .container {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 24px;
}
.hero__badge span.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--navy); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; z-index: -1;
  background: linear-gradient(90deg, rgba(242, 123, 43, .35), rgba(88, 184, 74, .35));
  border-radius: 4px;
}
.hero p.lead { max-width: 560px; margin-bottom: 30px; font-size: 1.15rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-size: .88rem; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--green); }

.hero__media { position: relative; }
.hero__media .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 2; background: var(--navy-soft);
}
.hero__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  opacity: .9;
}
.hero__card {
  position: absolute; left: -28px; bottom: 28px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 16px 18px; display: flex; align-items: center; gap: 14px; max-width: 280px;
}
.hero__card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; flex: none; }
.hero__card .ico svg { width: 22px; height: 22px; }
.hero__card strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
.hero__card small { color: var(--muted); font-size: .8rem; line-height: 1.4; display: block; }
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__badge { white-space: normal; }
  .hero__media { margin-top: 16px; }
  .hero__card { left: 12px; bottom: 12px; }
  .hero__media::before { inset: 16px -12px -12px 16px; }
}

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; }
.stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 36px;
}
.stat { padding: 10px 24px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; color: #fff; }
.stat__num sup { font-size: .5em; color: #FFA466; vertical-align: top; margin-left: 2px; }
.stat__label { margin-top: 8px; font-size: .9rem; color: #B8CAD8; letter-spacing: .02em; }
@media (max-width: 720px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .stat:nth-child(3) { border-left: 0; }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid > *, .split > *, .hero .container > *, .contact-grid > *, .location > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Service list (compact) */

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media .tag {
  position: absolute; right: -16px; bottom: 28px; background: var(--navy); color: #fff;
  padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-md); font-family: var(--font-head);
}
.split__media .tag strong { display: block; color: #FFA466; font-size: 1.6rem; line-height: 1; margin-bottom: 4px; }
.split__media .tag small { font-size: .78rem; color: #C9D8E3; }
.split .section-head { margin-bottom: 20px; }
.checks { display: grid; gap: 12px; margin: 22px 0 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--green); margin-top: 2px; }
.checks strong { display: block; }
.checks span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__media .tag { right: 12px; bottom: 12px; padding: 10px 14px; } .split__media .tag strong { font-size: 1.3rem; } }

/* ---------- Feature (why us) ---------- */
.feature { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background .2s, border-color .2s; }
.feature:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); }
.feature__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(242, 123, 43, .16); color: #FFA466; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { margin: 0; color: #A9BCCB; font-size: .95rem; }

/* ---------- Team ---------- */
.member {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-soft); position: relative; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); }
.member__body { padding: 22px 22px 24px; }
.member__role { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; font-family: var(--font-head); }
.member h3 { margin-bottom: 4px; font-size: 1.15rem; }
.member__quals { color: var(--muted); font-size: .88rem; line-height: 1.5; margin-bottom: 14px; }
.member__exp { font-size: .84rem; color: var(--navy); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.member__exp svg { width: 15px; height: 15px; }

/* Team profile (team page) */
.profile { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding: clamp(28px, 4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.profile + .profile { margin-top: 28px; }
.profile__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-soft); position: sticky; top: 110px; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.profile h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 4px; }
.profile__quals { color: var(--muted); margin-bottom: 18px; }
.profile__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.profile__meta span { display: inline-flex; align-items: center; gap: 8px; background: var(--navy-tint); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .84rem; color: var(--navy); font-weight: 600; }
.profile__meta svg { width: 15px; height: 15px; color: var(--orange); }
.profile h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin: 22px 0 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--navy-soft); color: var(--navy); font-weight: 600; font-size: .84rem; padding: 7px 13px; border-radius: 8px; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .profile__photo { position: static; max-width: 360px; } }

/* ---------- Clients ---------- */
.client-group h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin-bottom: 16px; }
.client-group + .client-group { margin-top: 32px; }
.clients { display: flex; flex-wrap: wrap; gap: 10px; }
.clients li {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: #E4EDF3; font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  padding: 10px 16px; border-radius: 10px; transition: background .2s, border-color .2s;
}
.clients li:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding-block: 18px; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1rem; white-space: nowrap; opacity: .8; }
.marquee__track span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- Locations ---------- */
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.office:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.office__type { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); font-family: var(--font-head); }
.office__type.is-hq { color: #3E9A32; }
.office h3 { font-size: 1.15rem; margin: 0; }
.office p { color: var(--muted); margin: 0; font-size: .95rem; }
.office a.link { margin-top: auto; padding-top: 6px; font-weight: 700; font-family: var(--font-head); font-size: .88rem; display: inline-flex; gap: 6px; align-items: center; }
.office a.link svg { width: 16px; height: 16px; }

.location { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.location + .location { margin-top: 28px; }
.location__info { padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; }
.location__info h2 { font-size: 1.6rem; margin-bottom: 8px; }
.location__info address { font-style: normal; color: var(--muted); font-size: 1rem; line-height: 1.7; margin-bottom: 20px; }
.location__map { min-height: 340px; background: var(--navy-soft); }
.location__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; } .location__map { min-height: 280px; } }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; margin: 12px 0 0; padding: 0 30px 0 0; counter-reset: step; list-style: none; }
/* track: draws itself left to right and ends in an arrowhead */
.timeline::before {
  content: ""; position: absolute; left: 0; right: 14px; top: 21px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--navy), #2E6E8E 33%, var(--orange) 66%, var(--green));
  transform: scaleX(0); transform-origin: left center; transition: transform 1.5s var(--ease) .25s;
}
.timeline::after {
  content: ""; position: absolute; right: 0; top: 13.5px;
  border-left: 16px solid var(--green); border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  opacity: 0; transition: opacity .3s 1.6s;
}
.timeline.is-visible::before { transform: none; }
.timeline.is-visible::after { opacity: 1; }
.timeline li { --tone: var(--navy); position: relative; padding-top: 64px; counter-increment: step; opacity: 0; transform: translateX(-14px); transition: opacity .5s, transform .5s var(--ease); transition-delay: calc(var(--n) * .35s + .3s); }
.timeline li:nth-child(1) { --n: 0; }
.timeline li:nth-child(2) { --n: 1; --tone: #2E6E8E; }
.timeline li:nth-child(3) { --n: 2; --tone: var(--orange); }
.timeline li:nth-child(4) { --n: 3; --tone: #3E9A32; }
.timeline.is-visible li { opacity: 1; transform: none; }
/* numbered marker */
.timeline li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--tone); border: 3px solid var(--tone);
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; box-shadow: 0 0 0 6px var(--bg-alt);
}
.timeline h3 { font-size: 1.1rem; margin: 0 0 6px; }
.timeline p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 0; padding: 0 0 26px 62px; }
  .timeline::before { left: 20px; right: auto; top: 0; bottom: 14px; width: 3px; height: auto; background: linear-gradient(180deg, var(--navy), #2E6E8E 33%, var(--orange) 66%, var(--green)); transform: scaleY(0); transform-origin: center top; }
  .timeline::after { right: auto; left: 12.5px; top: auto; bottom: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 16px solid var(--green); border-bottom: 0; }
  .timeline li { padding: 8px 0 26px; transform: translateY(-10px); }
  .timeline li::before { left: -62px; top: 0; }
}
@media (prefers-reduced-motion: reduce) { .timeline::before { transform: none; transition: none; } .timeline::after { opacity: 1; transition: none; } .timeline li { opacity: 1; transform: none; transition: none; } }

/* ---------- Values ---------- */
.value { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; }
.value__n { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; }
.value h3 { font-size: 1.05rem; margin-bottom: 4px; }
.value p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Vision / Mission */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm__card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); color: #fff; position: relative; overflow: hidden; }
.vm__card--vision { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.vm__card--mission { background: linear-gradient(135deg, #3E9A32, #2C7A24); }
.vm__card h3 { color: #fff; font-size: 1.4rem; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.vm__card h3 svg { width: 26px; height: 26px; color: #FFD9BF; }
.vm__card--mission h3 svg { color: #D6F2CF; }
.vm__card p { font-size: 1.08rem; line-height: 1.7; margin: 0; color: rgba(255, 255, 255, .92); }
.vm__card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
@media (max-width: 760px) { .vm { grid-template-columns: 1fr; } }


/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure img { transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; grid-template-rows: auto; } .gallery figure:first-child { grid-row: auto; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(242, 123, 43, .22), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 70%, #1B5A7A);
  color: #C9D8E3; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 80% 50%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 50%, #000 10%, transparent 70%);
}
.page-hero .container { position: relative; padding-block: clamp(56px, 8vw, 96px); max-width: 860px; margin-inline: auto; }
.page-hero .eyebrow { color: #FFA466; } .page-hero .eyebrow::before { background: #FFA466; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { font-size: 1.12rem; max-width: 640px; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: .84rem; margin-bottom: 22px; color: #8FA9BC; }
.crumbs a { color: #C9D8E3; } .crumbs a:hover { color: #FFA466; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-item:first-of-type { border-top: 0; padding-top: 0; }
.contact-item .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; }
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item strong { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.contact-item a, .contact-item span { display: block; color: var(--text); }
.contact-item a:hover { color: var(--orange); }
.contact-item small { color: var(--muted); font-size: .84rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--navy-soft); }
.map-embed iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 10% 0%, rgba(242, 123, 43, .35), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(48px, 6vw, 72px); flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta p { color: #C9D8E3; margin: 0; max-width: 560px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #A9BCCB; font-size: .93rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(48px, 6vw, 72px) 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand .wordmark { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: .04em; display: block; margin-bottom: 4px; }
.footer__brand .sub { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #FFA466; font-weight: 700; margin-bottom: 18px; display: block; }
.footer__brand p { max-width: 380px; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: #C9D8E3; } .footer a:hover { color: #FFA466; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: #FFA466; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; font-size: .82rem; color: #7F98AB; }
.footer__bottom a { color: #A9BCCB; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__top { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; box-shadow: var(--shadow-md);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s, transform .25s, background .2s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--orange); }
.to-top svg { width: 20px; height: 20px; }

/* WhatsApp float */
.wa-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; padding: 10px 16px 10px 12px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .88rem; box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); color: #fff; }
.wa-float svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 12px; } }

/* 404 */
.notfound { text-align: center; padding-block: clamp(80px, 14vw, 160px); }
.notfound .big { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; color: var(--navy-soft); line-height: 1; }

/* ---------- Touch / small-screen polish ---------- */
a, button { -webkit-tap-highlight-color: transparent; }
.btn { max-width: 100%; }
iframe { max-width: 100%; }
@media (max-width: 600px) {
  .btn-row .btn { width: 100%; }
  .stat__num { font-size: 2.1rem; }
  .office, .value, .contact-card { padding: 22px 20px; }
  .profile { padding: 20px; }
  .profile__photo { max-width: 100%; aspect-ratio: 1 / 1; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}
@media (hover: none) {
  .member:hover, .office:hover { transform: none; }
}
@media (max-width: 600px) { .hero__card { display: none; } }

/* Responsive picture wrappers behave like the img they contain */
picture { display: block; height: 100%; }

/* ---------- Text-only home hero and about block ---------- */
.hero--center .container { display: block; text-align: center; max-width: 920px; padding-block: clamp(64px, 9vw, 120px); }
.hero--center::before { mask-image: radial-gradient(ellipse at 50% 40%, #000 15%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 15%, transparent 70%); }
.hero--center p.lead { margin-inline: auto; max-width: 700px; }
.hero--center .btn-row, .hero--center .hero__trust { justify-content: center; }
.about-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.about-text > * { min-width: 0; }
.about-text h2 { margin-bottom: 24px; }
.about-text .checks { margin-bottom: 0; }
@media (max-width: 900px) { .about-text { grid-template-columns: 1fr; } }

/* Two-image gallery */
.gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
.gallery--2 figure:first-child { grid-row: auto; }
.gallery--2 figure { aspect-ratio: 3 / 2; }
@media (max-width: 760px) { .gallery--2 { grid-template-columns: 1fr; } }

/* ---------- Office network hero (home) ---------- */
.net-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, #F2F7FB 100%); }
.net-hero .container { position: relative; padding-block: clamp(20px, 3vw, 36px); }
.net { position: relative; aspect-ratio: 1200 / 540; --w: clamp(120px, 13.5vw, 178px); --h: calc(var(--w) * .866); }
.net__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.net__m { display: none; }
.route { fill: none; stroke: var(--navy); stroke-opacity: .45; stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route__dot { fill: var(--orange); }
.net__region { position: absolute; font-family: var(--font-head); font-weight: 800; letter-spacing: .3em; text-transform: uppercase; font-size: clamp(.7rem, 1.2vw, .95rem); color: var(--navy); opacity: .28; pointer-events: none; }
.net__region--w { left: 3%; top: 30%; }
.net__region--e { right: 3%; top: 92%; }

.hex {
  position: absolute; z-index: 1; width: var(--w); height: var(--h);
  left: calc(var(--x) - var(--w) / 2); top: calc(var(--y) - var(--h) / 2);
  color: #fff; text-decoration: none;
  filter: drop-shadow(0 10px 18px rgba(14, 50, 71, .22));
  transition: transform .3s var(--ease), filter .3s var(--ease);
  animation: hex-in .6s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 100ms);
}
.hex.hex--hq { --w: clamp(144px, 16.5vw, 218px); --h: calc(var(--w) * .866); z-index: 2; }
.hex::before {
  content: ""; position: absolute; inset: calc(var(--w) * -.035);
  background: var(--orange); opacity: 0; transition: opacity .25s;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 173.2' preserveAspectRatio='none'%3E%3Cpath d='M42.0 13.9Q50.0 0.0 66.0 0.0L134.0 0.0Q150.0 0.0 158.0 13.9L192.0 72.7Q200.0 86.6 192.0 100.5L158.0 159.3Q150.0 173.2 134.0 173.2L66.0 173.2Q50.0 173.2 42.0 159.3L8.0 100.5Q0.0 86.6 8.0 72.7Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 173.2' preserveAspectRatio='none'%3E%3Cpath d='M42.0 13.9Q50.0 0.0 66.0 0.0L134.0 0.0Q150.0 0.0 158.0 13.9L192.0 72.7Q200.0 86.6 192.0 100.5L158.0 159.3Q150.0 173.2 134.0 173.2L66.0 173.2Q50.0 173.2 42.0 159.3L8.0 100.5Q0.0 86.6 8.0 72.7Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hex--hq::before { background: var(--navy); }
.hex__shape {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, #1E6287 0%, var(--navy) 45%, var(--navy-dark) 100%);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 173.2' preserveAspectRatio='none'%3E%3Cpath d='M42.0 13.9Q50.0 0.0 66.0 0.0L134.0 0.0Q150.0 0.0 158.0 13.9L192.0 72.7Q200.0 86.6 192.0 100.5L158.0 159.3Q150.0 173.2 134.0 173.2L66.0 173.2Q50.0 173.2 42.0 159.3L8.0 100.5Q0.0 86.6 8.0 72.7Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 173.2' preserveAspectRatio='none'%3E%3Cpath d='M42.0 13.9Q50.0 0.0 66.0 0.0L134.0 0.0Q150.0 0.0 158.0 13.9L192.0 72.7Q200.0 86.6 192.0 100.5L158.0 159.3Q150.0 173.2 134.0 173.2L66.0 173.2Q50.0 173.2 42.0 159.3L8.0 100.5Q0.0 86.6 8.0 72.7Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hex--b .hex__shape { background: linear-gradient(150deg, #2A7FA8 0%, #1B5A7A 50%, var(--navy) 100%); }
.hex--c .hex__shape { background: linear-gradient(150deg, #17506E 0%, var(--navy-dark) 55%, var(--navy-deep) 100%); }
.hex--hq .hex__shape { background: linear-gradient(150deg, #FF9A52 0%, var(--orange) 45%, #D9621A 100%); }
.hex__front { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 0 14%; text-align: center; }
.hex__ico { width: calc(var(--w) * .27); height: calc(var(--w) * .27); margin-bottom: 4px; opacity: .95; }
.hex strong { font-family: var(--font-head); font-weight: 700; font-size: calc(var(--w) * .096); line-height: 1.15; color: inherit; letter-spacing: -.01em; }
.hex small { font-size: calc(var(--w) * .056); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; opacity: .85; }
a.hex:hover, a.hex:focus-visible { transform: scale(1.06); z-index: 6; color: #fff; filter: drop-shadow(0 16px 26px rgba(14, 50, 71, .32)); outline: none; }
a.hex:hover::before, a.hex:focus-visible::before { opacity: 1; }
@keyframes hex-in { from { opacity: 0; transform: scale(.7); } to { opacity: 1; } }

.node__tip {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, 6px); width: 250px;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-top: 3px solid var(--orange);
  border-radius: 12px; padding: 12px 14px; font-size: .84rem; line-height: 1.45; text-align: left;
  box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease); z-index: 5;
}
.node__tip strong { display: block; font-size: .9rem; color: var(--ink); margin-bottom: 2px; letter-spacing: 0; }
.node__tip em { display: flex; align-items: center; gap: 5px; font-style: normal; font-family: var(--font-head); font-weight: 700; color: var(--orange); margin-top: 6px; font-size: .82rem; }
.node__tip em svg { width: 1.1em; height: 1.1em; }
/* Keeps the Pandaveswar card clear of the head office hexagon */
.node--left .node__tip { left: 10%; }
/* Lower offices open their address card upwards so it is never clipped */
.node--up .node__tip { top: auto; bottom: calc(100% + 10px); border-top: 1px solid var(--line); border-bottom: 3px solid var(--orange); }
@media (hover: hover) and (min-width: 901px) {
  .node:hover .node__tip, .node:focus-visible .node__tip { opacity: 1; transform: translate(-50%, 0); }
}
@media (max-width: 900px) {
  .net { aspect-ratio: 360 / 560; --w: clamp(108px, 31vw, 170px); max-width: 520px; margin-inline: auto; }
  .net__d { display: none; }
  .net__m { display: block; }
  .hex { left: calc(var(--mx) - var(--w) / 2); top: calc(var(--my) - var(--h) / 2); }
  .hex.hex--hq { --w: clamp(124px, 36vw, 196px); }
  .net__region--w { left: 4%; top: 93%; }
  .net__region--e { right: 4%; top: 2%; }
}
@media (prefers-reduced-motion: reduce) { .hex { animation: none; transition: none; } .route__dot { display: none; } }

/* ---------- Services page ---------- */
.svc--navy { --tone: #154964; --tint: #EAF1F6; }
.svc--orange { --tone: #F27B2B; --tint: #FDEFE4; }
.svc--green { --tone: #3E9A32; --tint: #E9F6E6; }
.svc--blue { --tone: #2A7FA8; --tint: #E6F2F8; }
.svc-num { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tone); margin-bottom: 10px; }
.svc-checks { margin: 18px 0 0; gap: 10px; }
.svc-checks li { font-size: .95rem; }
.svc-checks svg { width: 20px; height: 20px; color: var(--tone); }
.fig { display: block; width: 100%; height: auto; }

/* figure motion: plays once when the block scrolls into view */
.fig .f-bar { transform: scaleY(0); transform-origin: bottom; transform-box: fill-box; transition: transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + 150ms); }
.fig .f-pop { opacity: 0; transform: scale(.6); transform-origin: center; transform-box: fill-box; transition: opacity .4s, transform .5s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + 250ms); }
.fig g[style] > .f-pop { transition-delay: inherit; }
.fig .f-line, .fig .f-ring { stroke-dashoffset: 100; transition: stroke-dashoffset 1.3s var(--ease) .25s; }
.fig .f-area { opacity: 0; transition: opacity .8s .9s; }
.is-visible .fig .f-bar { transform: none; }
.is-visible .fig .f-pop { opacity: 1; transform: none; }
.is-visible .fig .f-line { stroke-dashoffset: 0; }
.is-visible .fig .f-ring { stroke-dashoffset: 24; }
.is-visible .fig .f-area { opacity: 1; }
.fig ellipse.f-line { stroke-dasharray: 2 3; stroke-dashoffset: 0; opacity: 0; transition: opacity .8s .3s; }
.is-visible .fig ellipse.f-line { opacity: .8; }
.fig .f-pulse { transform-origin: center; transform-box: fill-box; animation: f-pulse 2.4s ease-out infinite; }
@keyframes f-pulse { from { transform: scale(.6); opacity: .5; } to { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fig * { transition: none !important; animation: none !important; } .fig .f-bar, .fig .f-pop { transform: none; opacity: 1; } .fig .f-line { stroke-dashoffset: 0; } .fig .f-ring { stroke-dashoffset: 24; } .fig .f-area { opacity: 1; } }

/* Specialised services tiles */
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.more-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; gap: 6px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.more-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.more-tile__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-soft); color: var(--navy); margin-bottom: 10px; transition: background .25s, color .25s; }
.more-tile:hover .more-tile__ico { background: var(--orange); color: #fff; }
.more-tile__ico svg { width: 22px; height: 22px; }
.more-tile strong { font-family: var(--font-head); font-size: 1.02rem; color: var(--ink); line-height: 1.3; }
.more-tile small { color: var(--muted); font-size: .9rem; line-height: 1.5; }
@media (max-width: 1024px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .more-grid { grid-template-columns: 1fr; } }

/* Core service cards */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.svc-grid > * { min-width: 0; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; scroll-margin-top: 110px; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card__fig { background: linear-gradient(160deg, var(--tint), #fff 85%); padding: 22px 28px 10px; border-bottom: 1px solid var(--line); position: relative; }
.svc-card__fig::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--tone); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.svc-card:hover .svc-card__fig::after { transform: scaleX(1); }
.svc-card__fig .fig { max-width: 380px; margin-inline: auto; }
.svc-card__body { padding: 26px 30px 30px; }
.svc-card__body h3 { font-size: 1.35rem; margin-bottom: 8px; }
.svc-card__body p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } .svc-card__body { padding: 22px 22px 26px; } }

/* ---------- Home: tagline above the office network ---------- */
.top h1 { font-size: clamp(1.8rem, 3.3vw, 2.9rem); margin: 0 0 10px; }
.top p.lead { font-size: 1.05rem; margin: 0 0 12px; }
.top__trust { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .86rem; color: var(--muted); }
.top__trust li { display: inline-flex; align-items: center; gap: 7px; }
.top__trust svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.top .net { --w: clamp(108px, 11.4vw, 152px); }
.top .hex.hex--hq { --w: clamp(132px, 14vw, 186px); }
.top--a .container { padding-block: clamp(20px, 3.2vh, 34px) 14px; }
.top--a .top__text { text-align: center; max-width: 860px; margin-inline: auto; }
.top--a p.lead { max-width: 700px; margin-inline: auto; }
.top--a .top__trust { justify-content: center; }
.top--a .top__cta { display: flex; justify-content: center; margin: 2px 0 14px; }
.top--a .top__cta .btn { padding: 9px 18px; font-size: .86rem; gap: 8px; }
.top--a .top__cta .btn svg { width: 16px; height: 16px; }
.top--a .net { margin-top: 28px; }
@media (min-width: 901px) { .top--a .net { aspect-ratio: auto; height: clamp(280px, calc(100vh - 444px), 440px); margin-top: 30px; } }
/* phones: tighter network so more of it shows under the headline */
@media (max-width: 900px) { .top .net { aspect-ratio: 360 / 520; --w: clamp(104px, 30vw, 160px); } .top .hex.hex--hq { --w: clamp(120px, 35vw, 186px); } .top--a .container { padding-top: 26px; } }
/* keep the state label clear of the Kolkata hexagon on shorter screens */
@media (min-width: 901px) { .top--a .net__region--e { right: auto; left: 36%; top: 88%; } }
.svc-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--tone); }
.svc-card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.svc-card:hover .more svg { transform: translateX(4px); }

/* Office address cards: let them extend past the section on desktop, and place each in clear space */
.node__tip { width: clamp(200px, 19vw, 250px); }
.node--side .node__tip { top: 30%; left: auto; right: calc(100% + 10px); transform: translate(6px, -50%); border-top: 1px solid var(--line); border-right: 3px solid var(--orange); }
@media (min-width: 901px) { .net-hero { overflow: visible; z-index: 2; } }
@media (hover: hover) and (min-width: 901px) { .node--side:hover .node__tip, .node--side:focus-visible .node__tip { transform: translate(0, -50%); } }
@media (max-width: 900px) { .node__tip { display: none; } }
