/* ============================================================
   Core5 Systems & Services — shared design system
   Brand colours are sampled from the Core5 logo (navy + gold).
   Homepage-only styles live in css/home.css.
   ============================================================ */

:root {
  /* Brand */
  --c-navy: #0a1f4d;
  --c-navy-deep: #071433;
  --c-navy-2: #123069;
  --c-night: #050e26;          /* tonal step below navy-deep, for the darkest surfaces */
  --c-gold: #c9932a;
  --c-gold-dark: #a5761c;
  --c-gold-light: #f0b020;
  --c-signal: #0F4BB9;         /* existing interactive blue, used for focus only */

  /* Neutrals */
  --c-ink: #14203f;
  --c-slate: #57607a;
  --c-mist: #f5f6fa;
  --c-mist-2: #eceef7;
  --c-line: #e3e6f0;
  --c-white: #ffffff;
  --c-amber: #f0b020;

  /* On-dark text */
  --c-on-dark: #c7cfe3;
  --c-on-dark-dim: #8c96b5;
  --c-line-dark: rgba(255,255,255,0.09);

  --grad-hero: linear-gradient(160deg, #071433 0%, #0a1f4d 55%, #123069 100%);
  --grad-brand: linear-gradient(120deg, #0a1f4d 0%, #123069 100%);
  --grad-gold: linear-gradient(120deg, #c9932a 0%, #f0b020 100%);

  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --container: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(7,20,51,0.06), 0 2px 8px rgba(7,20,51,0.04);
  --shadow-md: 0 12px 32px -8px rgba(7,20,51,0.16);
  --shadow-lg: 0 32px 64px -16px rgba(7,20,51,0.28);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --header-h: 84px;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--c-navy); letter-spacing: -0.02em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
::selection { background: var(--c-gold-light); color: var(--c-navy-deep); }

:focus-visible { outline: 2px solid var(--c-signal); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--c-navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Utility ---------- */
.mono { font-family: var(--font-mono); letter-spacing: 0.04em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-gold-dark);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--c-gold-light); }

.section { padding: 128px 0; position: relative; }
.section-tight { padding: 80px 0; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 52px); margin-bottom: 20px; letter-spacing: -0.03em; }
.section-head p { color: var(--c-slate); font-size: 18px; line-height: 1.7; }
.bg-mist { background: var(--c-mist); }
.bg-navy { background: var(--c-navy); color: var(--c-on-dark); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.text-center { text-align: center; }
.text-slate { color: var(--c-slate); }
.stack-16 > * + * { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 28px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--c-navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(10,31,77,0.6); }
.btn-primary:hover { background: var(--c-navy-deep); transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(10,31,77,0.7); }
.btn-gold { background: var(--c-gold-light); color: var(--c-navy-deep); }
.btn-gold:hover { background: #f5be3c; transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(240,176,32,0.55); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.28); color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.btn-ghost { background: transparent; border: 1px solid var(--c-line); color: var(--c-navy); }
.btn-ghost:hover { border-color: var(--c-navy); }
.btn-dark { background: var(--c-navy); color: #fff; }
.btn-dark:hover { background: var(--c-navy-deep); transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid transparent;
  transition: height .35s var(--ease-out), border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(255,255,255,0.95); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
}
.site-header.is-scrolled { height: 70px; border-bottom-color: var(--c-line); box-shadow: 0 8px 30px -18px rgba(7,20,51,0.25); }
.site-header > .container { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px; }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 54px; width: auto; transition: height .35s var(--ease-out); }
.site-header.is-scrolled .brand img { height: 46px; }

.nav-desktop { display: flex; align-items: center; gap: 2px; }
.nav-desktop > li { position: relative; }
.nav-desktop > li > a {
  position: relative;
  display: flex; align-items: center; gap: 6px;
  padding: 10px 12px;
  font-weight: 500; font-size: 15px;
  color: var(--c-navy);
  white-space: nowrap;
  transition: color .2s ease;
}
.nav-desktop > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px;
  background: var(--c-gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav-desktop > li > a:hover::after,
.nav-desktop > li > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-desktop > li > a:hover,
.nav-desktop > li > a:focus,
.nav-desktop > li > a:active,
.nav-desktop > li:hover > a,
.nav-desktop > li > a[aria-current="page"] {
  color: var(--c-gold-dark);
}
.nav-desktop > li > a svg { width: 14px; height: 14px; transition: transform .3s var(--ease-out), color .2s ease; }
.nav-desktop > li:hover > a svg,
.nav-desktop > li:focus-within > a svg,
.nav-desktop > li > a:hover svg,
.nav-desktop > li > a:active svg {
  transform: rotate(180deg);
  color: var(--c-gold-dark);
}
.mobile-nav > ul > li > a:hover,
.mobile-nav > ul > li > a:active,
.mobile-nav > ul > li > a[aria-current="page"] {
  color: var(--c-gold-light);
}

/* ============================================================
   MEGA MENU DROPDOWN (Services & Products Showcase)
   ============================================================ */
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 860px;
  background: #eef3f7;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 20px;
  box-shadow: 0 24px 55px -12px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.04);
  padding: 24px 26px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .25s ease, transform .35s var(--ease-out), visibility .25s;
  box-sizing: border-box;
  z-index: 100;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.nav-desktop > li:hover .dropdown,
.nav-desktop > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Mega menu 3-column layout */
.mega-menu-grid {
  display: grid;
  grid-template-columns: 225px 235px 1fr;
  gap: 24px;
  align-items: stretch;
}

.mega-col {
  display: flex;
  flex-direction: column;
}

.mega-heading {
  font-size: 13.5px;
  font-weight: 600;
  color: #627d98;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  padding-left: 8px;
}

.mega-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-item {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}

.mega-item:hover {
  background: rgba(217, 226, 236, 0.7);
  transform: translateX(2px);
}

.mega-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #102a43;
  margin-bottom: 2px;
  line-height: 1.3;
  transition: color .15s ease;
}

.mega-item:hover .mega-title {
  color: #0284c7;
}

.mega-desc {
  font-size: 12px;
  font-weight: 400;
  color: #627d98;
  line-height: 1.4;
}

/* Flagship Product Card (Right Column) */
.mega-featured {
  background: #081a2e;
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px -6px rgba(9, 27, 46, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.mega-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -6px rgba(9, 27, 46, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.mf-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: #63b3ed;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  text-transform: none;
}

.mf-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.mf-desc {
  font-size: 12.5px;
  font-weight: 400;
  color: #9fb3c8;
  line-height: 1.45;
  margin: 0 0 18px 0;
}

.mf-preview {
  margin-top: auto;
  margin-bottom: 18px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.mf-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease-out);
}

.mega-featured:hover .mf-preview img {
  transform: scale(1.05);
}

.mf-diagram { display: none; }

.mf-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: color .2s ease, gap .25s ease;
  margin-top: auto;
}

.mf-cta svg {
  width: 15px;
  height: 15px;
  transition: transform .25s ease;
}

.mega-featured:hover .mf-cta,
.mf-cta:hover {
  color: #63b3ed;
  gap: 11px;
}

.mega-featured:hover .mf-cta svg,
.mf-cta:hover svg {
  transform: translateX(3px);
}

/* Fallback support for older pages */
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown-grid a { display: grid; grid-template-columns: 38px 1fr; gap: 2px 14px; align-items: start; padding: 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--c-navy); transition: background-color .2s ease; }
.dropdown-grid a:hover { background: var(--c-mist); }
.dropdown-grid .d-ico { grid-row: span 2; width: 38px; height: 38px; border-radius: 9px; background: var(--c-navy); color: var(--c-gold-light); display: flex; align-items: center; justify-content: center; }
.dropdown-grid .d-ico svg { width: 18px; height: 18px; }
.dropdown-grid small { font-weight: 400; color: var(--c-slate); font-size: 12.5px; line-height: 1.45; }
.dropdown-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 14px 14px 10px; border-top: 1px solid var(--c-line); font-size: 13.5px; font-weight: 600; color: var(--c-navy); }
.dropdown-foot span { font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; letter-spacing: .08em; color: var(--c-slate); text-transform: uppercase; }
.dropdown-foot:hover { color: var(--c-gold-dark); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy);
  white-space: nowrap;
  transition: transform .2s ease, color .2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.header-phone svg {
  width: 16px;
  height: 16px;
  color: var(--c-gold-dark);
  transform-origin: 20% 80%;
  transition: transform .2s ease, color .2s ease;
}
.header-phone:hover { color: var(--c-gold-dark); }

/* Phone vibration & ringing animations */
@keyframes phone-ring-wiggle {
  0% { transform: rotate(0deg) scale(1); }
  10% { transform: rotate(-24deg) scale(1.15); }
  20% { transform: rotate(22deg) scale(1.15); }
  30% { transform: rotate(-20deg) scale(1.12); }
  40% { transform: rotate(18deg) scale(1.12); }
  50% { transform: rotate(-12deg) scale(1.08); }
  60% { transform: rotate(10deg) scale(1.08); }
  70% { transform: rotate(-6deg) scale(1.04); }
  80% { transform: rotate(4deg) scale(1.02); }
  90% { transform: rotate(-2deg) scale(1.01); }
  100% { transform: rotate(0deg) scale(1); }
}

@keyframes phone-buzz-shake {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-2px, -1px); }
  20% { transform: translate(2px, 1px); }
  30% { transform: translate(-2px, 1px); }
  40% { transform: translate(2px, -1px); }
  50% { transform: translate(-1.5px, 0.5px); }
  60% { transform: translate(1.5px, -0.5px); }
  70% { transform: translate(-1px, 0.5px); }
  80% { transform: translate(1px, -0.5px); }
  90% { transform: translate(-0.5px, 0); }
}

.header-phone:hover svg,
.header-phone:active svg,
.header-phone.is-vibrating svg,
.mobile-phone:hover svg,
.mobile-phone:active svg,
.mobile-phone.is-vibrating svg,
a[href^="tel:"]:hover svg,
a[href^="tel:"]:active svg,
a[href^="tel:"].is-vibrating svg {
  animation: phone-ring-wiggle 0.65s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
  color: var(--c-gold-light);
}

.header-phone:active,
.header-phone.is-vibrating,
.mobile-phone:active,
.mobile-phone.is-vibrating,
a[href^="tel:"]:active,
a[href^="tel:"].is-vibrating {
  animation: phone-buzz-shake 0.38s ease-in-out infinite;
}

.header-quote-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 6px 0 20px;
  border-radius: 999px;
  background: #ffffff; color: #0b1528;
  border: 1.5px solid #d4d8e0;
  font-size: 14.5px; font-weight: 600;
  transition: background-color .25s ease, border-color .25s ease, transform .3s var(--ease-out), box-shadow .3s ease, color .25s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.header-quote-btn .btn-arrow-circle {
  width: 34px; height: 34px; border-radius: 50%;
  background: #114dba; color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease-out), background-color .25s ease;
  flex-shrink: 0;
}
.header-quote-btn .btn-arrow-circle svg { width: 16px; height: 16px; stroke: #ffffff; }
.header-quote-btn:hover {
  background: #f8fafc;
  border-color: #114dba;
  color: #0b1528;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(17, 77, 186, 0.35);
}
.header-quote-btn:hover .btn-arrow-circle {
  background: #0d3d94;
  transform: translateX(2px);
}

.nav-toggle {
  display: none;
  width: 46px; height: 46px; border-radius: 12px;
  align-items: center; justify-content: center;
  border: 1px solid var(--c-line); background: #fff;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 1.5px; background: var(--c-navy); position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--c-night);
  background-image: radial-gradient(600px 400px at 100% 0%, rgba(201,147,42,0.14), transparent 60%);
  padding: 96px 28px 32px;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .5s var(--ease-out), visibility .5s;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); visibility: visible; }
.mobile-nav > ul { counter-reset: mnav; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--c-line-dark); counter-increment: mnav; }
.mobile-nav > ul > li > a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 0;
  font-family: var(--font-head); font-size: 26px; font-weight: 500; letter-spacing: -0.02em; color: #fff;
}
.mobile-nav > ul > li > a::before {
  content: "0" counter(mnav);
  font-family: var(--font-mono); font-size: 11px; color: var(--c-gold-light); letter-spacing: .1em;
}
.mobile-nav > ul > li > a svg { width: 16px; height: 16px; align-self: center; margin-left: auto; transition: transform .3s ease; }
.mobile-nav .has-sub.open > a svg { transform: rotate(180deg); }
.mobile-nav .sub { padding: 0 0 14px 32px; display: none; }
.mobile-nav .sub.open { display: block; }
.mobile-nav .sub a { display: block; font-size: 15px; color: var(--c-on-dark); padding: 9px 0; }
.mobile-nav-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; color: var(--c-on-dark-dim); font-size: 14px; }
.mobile-nav-foot .btn { justify-content: center; }
.mobile-close {
  position: absolute; top: 20px; right: 24px;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--c-line-dark);
  display: flex; align-items: center; justify-content: center;
}
.mobile-close svg { width: 20px; height: 20px; color: #fff; }

/* ============================================================
   Inner page banner
   ============================================================ */
.page-banner {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--c-night);
  color: #fff;
  padding: 128px 0 96px;
  min-height: 440px;
  display: flex; align-items: flex-end;
}
.page-banner-img { position: absolute; inset: 0; z-index: -2; }
.page-banner-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: grayscale(1) contrast(1.1); }
.page-banner-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--c-night) 15%, rgba(5,14,38,0.86) 50%, rgba(10,31,77,0.55) 100%);
}
.page-banner::before {
  /* architectural grid that fades out toward the text */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 10%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 90% at 85% 10%, #000 20%, transparent 75%);
}
.page-banner::after {
  content: ""; position: absolute; z-index: -1;
  right: -10%; top: -40%; width: 60%; height: 140%;
  background: radial-gradient(closest-side, rgba(201,147,42,0.18), transparent);
}
.page-banner > .container { position: relative; width: 100%; }
.breadcrumb {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-on-dark-dim); margin-bottom: 24px;
}
.breadcrumb span { color: var(--c-gold-light); }
.breadcrumb a:hover { color: #fff; }
.page-banner h1 { color: #fff; font-size: clamp(38px, 5.4vw, 72px); font-weight: 600; max-width: 860px; letter-spacing: -0.035em; line-height: 1.04; }
.page-banner p.lead { color: var(--c-on-dark); max-width: 620px; margin-top: 24px; font-size: 18px; line-height: 1.7; }

/* ---------- Quick links strip ---------- */
.quicklinks { background: #fff; border-bottom: 1px solid var(--c-line); position: relative; z-index: 3; }
.quicklinks-row { display: flex; counter-reset: ql; }
.quicklink-item {
  flex: 1; counter-increment: ql;
  display: flex; align-items: center; gap: 13px;
  padding: 24px 20px;
  border-right: 1px solid var(--c-line);
  transition: background-color .25s ease;
  position: relative;
}
.quicklink-item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--c-gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out);
}
.quicklink-item:hover::after { transform: scaleX(1); }
.quicklink-item:last-child { border-right: none; }
.quicklink-item:hover { background: var(--c-mist); }
.quicklink-item .ico {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 9px;
  background: var(--c-navy); color: var(--c-gold-light);
  display: flex; align-items: center; justify-content: center;
}
.quicklink-item .ico svg { width: 18px; height: 18px; }
.quicklink-item span { font-size: 13.5px; font-weight: 600; color: var(--c-navy); line-height: 1.3; }

/* ============================================================
   Shared content components (inner pages)
   ============================================================ */
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.icon-card {
  position: relative;
  padding: 40px 34px 36px;
  border-right: 1px solid var(--c-line);
  transition: background-color .35s ease;
}
.icon-card:last-child { border-right: none; }
.icon-card:hover { background: var(--c-mist); }
.bg-mist .icon-card:hover { background: #fafbfd; }
.icon-card .ico,
.value-card .ico {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--c-navy); color: var(--c-gold-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  transition: transform .4s var(--ease-out);
}
.icon-card:hover .ico, .value-card:hover .ico { transform: translateY(-3px) rotate(-4deg); }
.icon-card .ico svg, .value-card .ico svg { width: 22px; height: 22px; color: var(--c-gold-light); }
.icon-card h4 { font-size: 21px; margin-bottom: 12px; }
.icon-card p { color: var(--c-slate); font-size: 15px; line-height: 1.7; }
.icon-card a.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--c-navy); }
.icon-card a.more svg { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.icon-card a.more:hover { color: var(--c-gold-dark); }
.icon-card a.more:hover svg { transform: translateX(4px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-visual { position: relative; }
.split-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-badge {
  position: absolute; bottom: -28px; right: -20px;
  background: var(--c-navy); color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px 26px;
  display: flex; align-items: center; gap: 16px;
}
.split-badge .num { font-size: 34px; font-family: var(--font-head); font-weight: 600; color: var(--c-gold-light); letter-spacing: -0.03em; }
.split-badge span { font-size: 12.5px; color: var(--c-on-dark); font-weight: 500; line-height: 1.4; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col h2 { font-size: clamp(28px, 3.2vw, 42px) !important; letter-spacing: -0.03em; }
.two-col p { font-size: 16.5px; line-height: 1.75; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: border-color .3s ease, transform .4s var(--ease-out), box-shadow .3s ease;
}
.value-card:hover { border-color: rgba(201,147,42,0.5); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card h4 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; color: var(--c-slate); line-height: 1.65; }

.timeline { position: relative; padding-left: 40px; max-width: 760px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--c-gold), var(--c-line)); }
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -40px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 1.5px solid var(--c-gold); box-shadow: 0 0 0 5px #fff; }
.timeline-item.in::before { background: var(--c-gold); transition: background-color .4s ease .3s; }
.timeline-item .yr { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--c-gold-dark); }
.timeline-item h4 { font-size: 22px; margin: 6px 0 8px; }
.timeline-item p { color: var(--c-slate); font-size: 15px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-md); padding: 14px 14px 22px; }
.team-avatar {
  width: 100%; aspect-ratio: 4/3; border-radius: 8px; margin-bottom: 18px; overflow: hidden;
  background: var(--c-navy);
  background-image: radial-gradient(rgba(240,176,32,0.35) 1px, transparent 1.5px);
  background-size: 14px 14px;
  display: flex; align-items: center; justify-content: center;
}
.team-avatar svg { width: 34%; height: 34%; color: var(--c-gold-light); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card h4 { font-size: 17px; margin: 0 8px 4px; }
.team-card span { font-size: 13px; color: var(--c-slate); margin: 0 8px; display: block; }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card {
  position: relative;
  border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  overflow: hidden; background: #fff;
  transition: transform .45s var(--ease-out), box-shadow .35s ease, border-color .3s ease;
}
.case-card::before { content: ""; display: block; height: 4px; background: var(--grad-gold); transform: scaleX(.12); transform-origin: left; transition: transform .6s var(--ease-out); }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.case-card:hover::before { transform: scaleX(1); }
.case-card .tag { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--c-gold-dark); margin-bottom: 16px; }
.case-card-body { padding: 36px; }
.case-card h3 { font-size: 24px; margin-bottom: 14px; letter-spacing: -0.025em; }
.case-card p { color: var(--c-slate); font-size: 15px; margin-bottom: 28px; }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.case-metrics div strong { display: block; font-size: 30px; font-weight: 600; font-family: var(--font-head); color: var(--c-navy); letter-spacing: -0.03em; line-height: 1.1; }
.case-metrics div span { font-size: 12.5px; color: var(--c-slate); }

/* ---------- Clickable case cards ---------- */
a.case-card { display: block; color: inherit; text-decoration: none; }
.case-card-body { position: relative; z-index: 1; }
.case-bg {
  position: absolute; right: -24px; bottom: -22px; z-index: 0;
  width: 230px; max-height: 170px; object-fit: contain;
  opacity: 0.12;
  pointer-events: none; user-select: none;
  transition: opacity .35s ease;
}
a.case-card:hover .case-bg { opacity: 0.18; }
.case-readmore { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 600; font-size: 14px; color: var(--c-gold-dark); }
.case-readmore svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
a.case-card:hover .case-readmore svg { transform: translateX(4px); }

/* ---------- Case study detail page ---------- */
.cs-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 56px; align-items: start; }
.cs-main > .cs-block { margin-bottom: 44px; }
.cs-main > .cs-block:last-child { margin-bottom: 0; }
.cs-block h2 { font-size: 26px; margin: 6px 0 16px; letter-spacing: -0.025em; }
.cs-block > p { color: var(--c-slate); font-size: 16.5px; line-height: 1.75; }
.cs-list { list-style: none; margin: 8px 0 0; padding: 0; }
.cs-list li { position: relative; padding: 0 0 14px 30px; color: var(--c-slate); font-size: 16px; line-height: 1.65; }
.cs-list li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-gold); }
.cs-list li strong { color: var(--c-navy); font-weight: 600; }
.cs-tech { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.cs-chip { display: inline-flex; align-items: center; padding: 8px 15px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--c-navy); }
.cs-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.cs-metrics > div { background: #f4f6fb; border: 1px solid var(--c-line); border-radius: 12px; padding: 22px 18px; }
.cs-metrics strong { display: block; font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--c-navy); letter-spacing: -0.03em; line-height: 1.05; }
.cs-metrics span { display: block; margin-top: 7px; font-size: 13px; color: var(--c-slate); line-height: 1.4; }
.cs-aside { position: sticky; top: 100px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 28px; background: #fff; }
.cs-facts h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold-dark); margin: 0 0 4px; font-weight: 600; }
.cs-facts p { color: var(--c-navy); font-size: 15.5px; margin: 0 0 18px; line-height: 1.4; }
.cs-aside .btn { width: 100%; justify-content: center; margin-top: 4px; }
.cs-logo { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 20px; margin-bottom: 22px; display: flex; align-items: center; justify-content: center; min-height: 92px; }
.cs-logo img { max-width: 100%; max-height: 64px; object-fit: contain; display: block; }
.cs-hero { margin: 0 0 36px; border-radius: 14px; overflow: hidden; border: 1px solid var(--c-line); }
.cs-hero img { width: 100%; display: block; }
@media (max-width: 900px) {
  .cs-layout { grid-template-columns: 1fr; gap: 36px; }
  .cs-aside { position: static; }
}
@media (max-width: 560px) {
  .cs-metrics { grid-template-columns: 1fr 1fr; }
}

.job-list { display: flex; flex-direction: column; border-top: 1px solid var(--c-line); }
.job-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 8px;
  border-bottom: 1px solid var(--c-line);
  transition: padding-left .4s var(--ease-out), background-color .3s ease;
  flex-wrap: wrap; gap: 16px;
}
.job-row:hover { padding-left: 20px; background: #fff; }
.job-row h4 { font-size: 21px; margin-bottom: 8px; }
.job-meta { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-slate); }
.job-meta span { display: flex; align-items: center; gap: 6px; }
.job-meta svg { width: 14px; height: 14px; color: var(--c-gold-dark); }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: start; }
.contact-info-card {
  position: relative; overflow: hidden;
  background: var(--c-night); color: var(--c-on-dark);
  border-radius: var(--radius-lg); padding: 44px;
  background-image: radial-gradient(rgba(240,176,32,0.18) 1px, transparent 1.5px);
  background-size: 18px 18px;
}
.contact-info-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--c-night) 40%, rgba(5,14,38,0.7)); }
.contact-info-card > * { position: relative; }
.contact-info-card h3 { color: #fff; margin-bottom: 28px; font-size: 28px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item .ico { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--c-line-dark); background: rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item .ico svg { width: 20px; height: 20px; color: var(--c-gold-light); }
.contact-item strong { display: block; font-size: 14.5px; color: #fff; margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: 14px; }
.contact-item a:hover { color: var(--c-gold-light); }

.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-slate); }
.form-group input, .form-group select, .form-group textarea {
  padding: 14px 16px; border: 1px solid var(--c-line); border-radius: 10px;
  font-size: 15px; background: var(--c-mist); color: var(--c-ink);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--c-navy); background: #fff; box-shadow: 0 0 0 4px rgba(10,31,77,0.08); }
.form-group textarea { resize: vertical; min-height: 140px; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; filter: grayscale(0.6) contrast(1.05); }

/* ---------- CTA banner (inner pages) ---------- */
.cta-banner {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--c-night);
  border-radius: 24px;
  padding: 72px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  color: #fff;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
          mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-banner::after {
  content: ""; position: absolute; z-index: -1; right: -10%; bottom: -60%; width: 60%; height: 160%;
  background: radial-gradient(closest-side, rgba(201,147,42,0.22), transparent);
}
.cta-banner h2 { color: #fff; font-size: clamp(28px, 3.2vw, 44px); max-width: 600px; letter-spacing: -0.03em; }
.cta-banner p { color: var(--c-on-dark); margin-top: 14px; font-size: 17px; }
.cta-banner .btn-primary { background: var(--c-gold-light); color: var(--c-navy-deep); box-shadow: none; }
.cta-banner .btn-primary:hover { background: #f5be3c; }
.cta-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; margin: 0 auto; color: var(--c-slate); font-size: 16.5px; line-height: 1.8; }
.prose h2 { font-size: 24px; margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid var(--c-line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose a { color: var(--c-gold-dark); font-weight: 600; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--c-night); color: var(--c-on-dark-dim); padding: 96px 0 0; position: relative; overflow: hidden; }
.footer-statement {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--c-line-dark);
}
.footer-statement p {
  font-family: var(--font-head); font-weight: 500; color: #fff;
  font-size: clamp(36px, 6vw, 84px); line-height: 1; letter-spacing: -0.04em;
}
.footer-statement p i { font-style: normal; color: var(--c-gold-light); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; gap: 48px; padding-bottom: 72px; }
/* The logo artwork is navy on transparent, so it sits on a white plate instead of being recoloured. */
.footer-brand img { height: 64px; width: auto; background: #fff; padding: 10px 14px; border-radius: 12px; margin-bottom: 24px; }
.footer-brand p { font-size: 14.5px; line-height: 1.75; max-width: 340px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--c-line-dark); color: var(--c-on-dark);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease-out);
}
.footer-social a:hover { background: var(--c-gold-light); border-color: var(--c-gold-light); color: var(--c-navy-deep); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h5 { font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold-light); margin-bottom: 22px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14.5px; color: var(--c-on-dark); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out), color .2s ease; }
.footer-col ul li a:hover { color: #fff; background-size: 100% 1px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 18px; font-size: 14.5px; color: var(--c-on-dark); align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--c-gold-light); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid var(--c-line-dark);
  padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 24px; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-navy); color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s ease, transform .4s var(--ease-out), visibility .3s, background-color .25s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--c-gold-light); color: var(--c-navy-deep); }
.back-top svg { width: 18px; height: 18px; }

/* ---------- Spotlight (cursor-tracked glow) ---------- */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx,50%) var(--my,50%), rgba(201,147,42,0.10), transparent 70%);
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none; z-index: 0;
}
.spotlight:hover::before { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

.btn-magnetic { transition: transform .35s var(--ease-out), background-color .25s ease, box-shadow .3s ease; }

/* ---------- Reveal (hidden only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Scroll progress (disabled) ---------- */
.scroll-progress {
  display: none !important;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .nav-desktop > li > a { padding: 10px 11px; }
}
@media (max-width: 1080px) {
  .icon-grid { grid-template-columns: 1fr 1fr; }
  .icon-card { border-bottom: 1px solid var(--c-line); }
  .icon-card:nth-child(2n) { border-right: none; }
  .value-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .quicklinks-row { flex-wrap: wrap; }
  .quicklink-item { flex: 1 1 33%; border-bottom: 1px solid var(--c-line); }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav-desktop, .header-quote-btn { display: none; }
  .nav-toggle { display: flex; }
  .brand img, .site-header.is-scrolled .brand img { height: 44px; }
  .site-header.is-scrolled { height: 64px; }
  .split, .two-col { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 56px 32px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }
  .page-banner { padding: 96px 0 64px; min-height: 0; }
  .icon-grid, .value-grid, .team-grid { grid-template-columns: 1fr; }
  .icon-card { border-right: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-card, .contact-info-card { padding: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .job-row { flex-direction: column; align-items: flex-start; }
  .cta-actions, .cta-actions .btn { width: 100%; justify-content: center; }
  .quicklink-item { flex: 1 1 50%; }
  .case-card-body { padding: 28px; }
  .case-metrics div strong { font-size: 24px; }
  .split-badge { right: 12px; }
}

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


/* ============================================================
   OFFICE LOCATIONS (Contact Page)
   ============================================================ */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.office-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(10, 31, 77, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s ease, border-color .3s ease;
}

.office-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(10, 31, 77, 0.12);
  border-color: rgba(201, 147, 42, 0.4);
}

.office-map {
  width: 100%;
  height: 220px;
  position: relative;
  background: #e5e9f2;
}

.office-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.office-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.office-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-gold-dark);
  margin-bottom: 8px;
}

.office-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: 14px;
}

.office-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--c-ink);
}

.office-detail-row.address {
  color: var(--c-slate);
  margin-bottom: 18px;
}

.office-detail-row svg {
  width: 18px;
  height: 18px;
  color: var(--c-gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.office-detail-row a {
  color: var(--c-navy);
  font-weight: 500;
  transition: color .2s ease;
}

.office-detail-row a:hover {
  color: var(--c-gold-dark);
}

.office-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.office-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-gold-dark);
  transition: color .2s ease, transform .2s ease;
}

.office-directions-link:hover {
  color: var(--c-navy);
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .offices-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
