:root {
  --paper: #f7f5ef;
  --ink: #20201d;
  --muted: #68645c;
  --line: #ded8ca;
  --teal: #1f6f68;
  --gold: #b28244;
  --coral: #b95647;
  --blue: #2d5f88;
  --white: #fffdf8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.preview-hub {
  min-height: 100vh;
}

.hub {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}

.hub-hero {
  display: grid;
  gap: 14px;
  max-width: 760px;
  padding: 40px 0 32px;
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hub-hero p:last-child {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.option-grid.five-options {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.option-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 160ms ease, border-color 160ms ease;
}

.option-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.option-card span {
  color: var(--gold);
  font-weight: 800;
}

.option-card h2 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1.05;
}

.option-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.dark-card {
  background: #111615;
  color: #eef2ed;
  border-color: #25302f;
}

.dark-card p {
  color: #a9b6b0;
}

.advisory-card {
  background: #fbfbf8;
  border-top: 4px solid #8e181d;
}

.site-shell {
  min-height: 100vh;
}

.nav {
  width: min(1180px, calc(100% - 36px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 850;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 750;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.template-wrap {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 42px;
  align-items: center;
  padding: 54px 0 40px;
}

.hero-copy {
  display: grid;
  gap: 20px;
}

.hero-copy h1 {
  font-size: clamp(3.3rem, 8vw, 7.4rem);
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.13rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.content-band {
  padding: 42px 0 70px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.section-title h2 {
  margin-bottom: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-title p {
  margin-bottom: 0;
  color: var(--muted);
}

.post-list,
.project-grid,
.note-grid {
  display: grid;
  gap: 12px;
}

.post-item,
.project-card,
.note-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
}

.post-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
}

.post-item time,
.kicker {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.post-item h3,
.project-card h3,
.note-card h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.post-item p,
.project-card p,
.note-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.dark-template {
  --paper: #0c1110;
  --ink: #edf3ef;
  --muted: #9caaa3;
  --line: #263331;
  --white: #111917;
  --teal: #62c7b7;
  --gold: #d7b069;
  background: var(--paper);
}

.terminal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101715;
  padding: 18px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: #c9f2e8;
}

.terminal-panel p {
  margin: 0 0 10px;
}

.terminal-panel p:last-child {
  margin-bottom: 0;
}

.prompt {
  color: var(--gold);
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-strip {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 28px;
  align-items: stretch;
  padding: 46px 0;
}

.profile-strip img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
}

.profile-panel {
  display: grid;
  align-content: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  border-left: 3px solid var(--teal);
  padding-left: 12px;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
}

.magazine-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 42px 0 32px;
}

.magazine-feature {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  border-radius: 8px;
  background-image: linear-gradient(rgba(32, 32, 29, 0.18), rgba(32, 32, 29, 0.66)), url("../../assets/hero-workspace.png");
  background-size: cover;
  background-position: center;
  color: white;
}

.magazine-feature h1 {
  max-width: 680px;
  font-size: clamp(3rem, 6vw, 6.5rem);
}

.note-grid {
  grid-template-columns: 1fr;
}

.advisory-template {
  --paper: #f6f5f0;
  --ink: #151515;
  --muted: #676762;
  --line: #d8d4c8;
  --white: #ffffff;
  --teal: #2e6460;
  --gold: #9d814a;
  --red: #8e181d;
  background: var(--paper);
}

.advisory-template .nav {
  width: min(1240px, calc(100% - 36px));
  height: 86px;
  border-bottom-color: #cfcabe;
}

.advisory-template .brand {
  display: grid;
  gap: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1;
}

.brand small {
  color: var(--red);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.advisory-template .nav-links {
  color: #343430;
}

.advisory-template .button {
  background: var(--red);
}

.advisory-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.advisory-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 44px;
  align-items: stretch;
  padding: 54px 0 34px;
}

.advisory-hero-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 24px 0;
}

.advisory-hero h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 7.6vw, 7.8rem);
}

.advisory-image-wrap {
  min-height: 520px;
  border-radius: 8px;
  background-image: linear-gradient(rgba(21, 21, 21, 0.06), rgba(21, 21, 21, 0.32)), url("assets/hero-workspace.png");
  background-size: cover;
  background-position: center;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 150px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.advisory-section {
  padding: 58px 0;
}

.advisory-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.advisory-heading h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  line-height: 1;
}

.advisory-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 255px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 24px;
  background: var(--white);
}

.service-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1ede3;
  color: var(--red);
  font-weight: 900;
}

.service-card h3,
.value-card h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.service-card p,
.value-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.story-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 40px;
  border-radius: 8px;
  background: #151515;
  color: white;
}

.story-map {
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  position: relative;
  overflow: hidden;
}

.story-map::before,
.story-map::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
}

.story-map::before {
  width: 360px;
  height: 170px;
  left: 8%;
  top: 25%;
  transform: rotate(-8deg);
}

.story-map::after {
  width: 210px;
  height: 110px;
  right: 7%;
  bottom: 20%;
  transform: rotate(13deg);
}

.story-band h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.story-band p {
  color: #d8d5ce;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.value-card {
  padding: 22px;
  border-top: 4px solid var(--red);
  background: var(--white);
  border-radius: 8px;
}

.insights-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 8px;
  background: #ebe6da;
}

.insights-cta h2 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.insights-cta p {
  margin-bottom: 0;
  color: var(--muted);
}

.advisory-footer {
  margin-top: 42px;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.andersen-like {
  --paper: #ffffff;
  --ink: #121212;
  --muted: #62615d;
  --line: #d3cec2;
  --red: #8f151b;
  --deep: #181818;
  --white: #ffffff;
  background: var(--paper);
  color: var(--ink);
}

.andersen-like h1,
.andersen-like h2,
.andersen-like h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
}

.ag-topbar {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 max(18px, calc((100vw - 1240px) / 2));
  background: #111;
  color: #f7f4ec;
  font-size: 0.78rem;
}

.ag-topbar div,
.ag-links,
.ag-footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ag-nav {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 0 max(18px, calc((100vw - 1240px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.ag-logo {
  display: grid;
  gap: 4px;
  color: var(--ink);
  line-height: 1;
}

.ag-logo span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.ag-logo small {
  color: var(--red);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ag-links {
  justify-content: flex-end;
  color: #2d2d2b;
  font-size: 0.93rem;
}

.ag-search {
  min-width: 90px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
  color: var(--red);
  font-weight: 800;
}

.ag-hero {
  min-height: calc(100vh - 128px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.colorful-hero {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  display: block;
  background:
    linear-gradient(90deg, rgba(5, 22, 41, 0.98) 0%, rgba(8, 36, 65, 0.82) 38%, rgba(5, 10, 20, 0.2) 70%),
    url("assets/global-hero.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.colorful-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 42%, rgba(28, 126, 255, 0.24), transparent 25%),
    linear-gradient(120deg, transparent 0 54%, rgba(255, 255, 255, 0.08) 54% 54.18%, transparent 54.18%),
    linear-gradient(24deg, transparent 0 66%, rgba(0, 190, 255, 0.12) 66% 66.18%, transparent 66.18%);
  pointer-events: none;
}

.colorful-hero .ag-hero-copy {
  min-height: 720px;
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
  align-content: center;
  padding: 70px 0;
}

.colorful-hero .ag-kicker {
  color: #8bd8ff;
}

.colorful-hero .ag-hero-copy h1 {
  max-width: 760px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  font-weight: 500;
  line-height: 0.98;
}

.colorful-hero .ag-hero-copy p:not(.ag-kicker) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.floating-visuals {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: grid;
  gap: 6px;
  min-width: 170px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(2, 17, 34, 0.55);
  color: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.float-card span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3082f;
  font-weight: 900;
}

.float-card strong {
  font-size: 0.95rem;
  text-transform: uppercase;
}

.float-card-one {
  right: 12%;
  top: 21%;
  animation: floatOne 7s ease-in-out infinite;
}

.float-card-two {
  right: 28%;
  bottom: 13%;
  animation: floatTwo 8s ease-in-out infinite;
}

.float-orbit {
  position: absolute;
  right: 19%;
  top: 23%;
  width: 390px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 185, 84, 0.5);
  border-radius: 50%;
  transform: rotate(-16deg);
  box-shadow: 0 0 35px rgba(251, 168, 66, 0.18);
  animation: orbitGlow 5s ease-in-out infinite;
}

@keyframes floatOne {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-14px, -18px, 0); }
}

@keyframes floatTwo {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(18px, 12px, 0); }
}

@keyframes orbitGlow {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

.ag-hero-media {
  min-height: 560px;
  background-image:
    linear-gradient(90deg, rgba(18, 18, 18, 0.58), rgba(18, 18, 18, 0.08)),
    url("assets/hero-workspace.png");
  background-size: cover;
  background-position: center;
  filter: grayscale(0.32);
}

.ag-hero-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(42px, 7vw, 92px);
}

.ag-kicker {
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ag-hero-copy h1 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(3rem, 6.8vw, 7.6rem);
  line-height: 0.94;
}

.ag-hero-copy p:not(.ag-kicker) {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.13rem;
}

.ag-button {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.ag-button.light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.ag-stats {
  width: min(1240px, calc(100% - 36px));
  margin: -64px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 55px rgba(18, 18, 18, 0.08);
}

.ag-stats article {
  min-height: 210px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.ag-stats article:last-child {
  border-right: 0;
}

.ag-stats strong {
  display: block;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.7rem);
  font-weight: 500;
  line-height: 1;
}

.ag-stats span {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-weight: 500;
}

.ag-stats p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.ag-section {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0;
}

.ag-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
  text-align: center;
}

.ag-section-head h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.ag-section-head span {
  color: var(--muted);
}

.ag-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.home-card-carousel {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding: 0 20px 10px;
  margin-inline: -20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-card-carousel::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.colorful-services {
  overflow: hidden;
}

.home-card-carousel article {
  flex: 0 0 390px;
  min-width: 390px;
  min-height: 520px;
  position: relative;
  display: grid;
  grid-template-rows: 170px auto 1fr auto;
  background: #fff;
  border: 1px solid transparent;
  box-shadow: 0 16px 36px rgba(24, 43, 69, 0.08);
  overflow: hidden;
  scroll-snap-align: start;
}

.home-card-carousel article:nth-of-type(2) {
  border-color: #1c314f;
  box-shadow: none;
}

.home-card-carousel article::before {
  content: "";
  position: absolute;
  right: 0;
  top: 125px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 45px 0 0 26px;
  border-color: transparent transparent transparent #d4051f;
  z-index: 2;
}

.home-card-carousel article::after {
  content: "";
  position: absolute;
  right: 0;
  top: 170px;
  width: 46%;
  height: 210px;
  background: linear-gradient(120deg, transparent 0 42%, rgba(224, 232, 241, 0.58) 42% 67%, transparent 67%);
  pointer-events: none;
}

.home-card-carousel .ag-service-img {
  height: 170px;
  filter: none;
  background-size: cover;
}

.colorful-services .home-card-carousel .ag-service-img {
  height: 170px;
}

.home-card-carousel h3 {
  margin: 28px 40px 18px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.15;
}

.home-card-carousel p {
  margin: 0 40px;
  color: #3d4a5c;
  font-size: 0.9rem;
  line-height: 1.45;
}

.home-card-carousel a {
  display: inline-block;
  margin: 0 40px 34px;
  color: #d4051f;
  font-weight: 600;
  text-transform: uppercase;
}

.ag-service-grid article {
  min-height: 380px;
  background: #fff;
  border: 1px solid var(--line);
}

.colorful-services .ag-service-grid article {
  overflow: hidden;
  border: 0;
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  box-shadow: 0 18px 45px rgba(16, 43, 74, 0.1);
}

.colorful-services .home-card-carousel article {
  border: 1px solid transparent;
  background: #fff;
  box-shadow: 0 16px 36px rgba(24, 43, 69, 0.08);
}

.colorful-services .home-card-carousel article:nth-of-type(2) {
  border-color: #1c314f;
  box-shadow: none;
}

.ag-service-img {
  height: 150px;
  background-image:
    linear-gradient(rgba(18, 18, 18, 0.16), rgba(18, 18, 18, 0.16)),
    url("assets/global-hero.png");
  background-size: cover;
  filter: grayscale(0.38);
}

.colorful-services .ag-service-img {
  height: 180px;
  filter: none;
  background-image:
    linear-gradient(135deg, rgba(9, 38, 72, 0.18), rgba(243, 8, 47, 0.08)),
    url("assets/global-hero.png");
}

.ag-service-img.img-2 { background-position: 30% 45%; }
.ag-service-img.img-3 { background-position: 70% 35%; }
.ag-service-img.img-4 { background-position: 45% 70%; }
.ag-service-img.img-5 { background-position: 20% 75%; }
.ag-service-img.img-6 { background-position: 82% 52%; }

.home-card-carousel .ag-service-img.img-1 {
  background-image:
    linear-gradient(135deg, rgba(0, 173, 255, 0.1), rgba(0, 15, 35, 0.18)),
    url("assets/global-hero.png");
  background-position: 20% 58%;
}

.home-card-carousel .ag-service-img.img-2 {
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(0, 15, 35, 0.16)),
    url("assets/hero-workspace.png");
  background-position: 42% 48%;
}

.home-card-carousel .ag-service-img.img-3 {
  background-image:
    linear-gradient(135deg, rgba(50, 156, 255, 0.18), rgba(255,255,255,0.08)),
    url("assets/global-hero.png");
  background-position: 76% 42%;
}

.home-card-carousel .ag-service-img.img-4 {
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.18), rgba(12, 45, 80, 0.1)),
    url("assets/hero-workspace.png");
  background-position: 66% 68%;
}

.ag-service-grid h3,
.ag-service-grid p,
.ag-service-grid a {
  margin-left: 22px;
  margin-right: 22px;
}

.ag-service-grid h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.ag-service-grid p {
  color: var(--muted);
}

.ag-service-grid a {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--red);
  font-weight: 850;
}

.ag-map-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 46px;
  align-items: center;
  padding: 70px max(18px, calc((100vw - 1240px) / 2));
  background:
    radial-gradient(circle at 16% 32%, rgba(19, 112, 255, 0.32), transparent 28%),
    linear-gradient(135deg, #061122 0%, #081e3b 54%, #101010 100%);
  color: #fff;
}

.ag-map-art {
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  background:
    linear-gradient(90deg, rgba(7, 27, 48, 0.12), rgba(7, 27, 48, 0.38)),
    url("assets/global-hero.png"),
    radial-gradient(ellipse at 20% 48%, transparent 0 20%, rgba(255,255,255,0.22) 20.3% 20.7%, transparent 21%),
    radial-gradient(ellipse at 56% 42%, transparent 0 17%, rgba(255,255,255,0.18) 17.3% 17.7%, transparent 18%),
    radial-gradient(ellipse at 77% 62%, transparent 0 12%, rgba(255,255,255,0.2) 12.3% 12.7%, transparent 13%),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: cover, cover, auto, auto, auto, 48px 48px, 48px 48px;
  background-position: center;
}

.ag-map-band h2 {
  margin: 10px 0 18px;
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.ag-map-band p:not(.ag-kicker) {
  color: #d9d5cc;
}

.ag-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.ag-value-grid article {
  min-height: 245px;
  padding: 28px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ag-value-grid span {
  color: var(--red);
  font-weight: 900;
}

.ag-value-grid h3 {
  margin: 30px 0 10px;
  font-size: 1.45rem;
}

.ag-value-grid p {
  color: var(--muted);
}

.ag-insights {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto 78px;
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
}

.ag-insights-img {
  min-height: 360px;
  background-image:
    linear-gradient(rgba(18, 18, 18, 0.12), rgba(18, 18, 18, 0.12)),
    url("assets/hero-workspace.png");
  background-size: cover;
  background-position: 58% 55%;
  filter: grayscale(0.25);
}

.ag-insights > div:last-child {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(28px, 5vw, 58px);
}

.ag-insights h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  font-weight: 500;
  line-height: 1;
}

.ag-insights p:not(.ag-kicker) {
  max-width: 620px;
  color: var(--muted);
}

.ag-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 44px max(18px, calc((100vw - 1240px) / 2));
  background: #fff;
  border-top: 1px solid var(--line);
}

.ag-footer p {
  max-width: 720px;
  color: var(--muted);
}

.dark-stat-strip {
  margin-top: 0;
  width: 100%;
  padding: 0 max(18px, calc((100vw - 1240px) / 2));
  background: #0d2d46;
  border: 0;
  box-shadow: none;
}

.dark-stat-strip article {
  min-height: 190px;
  border-right-color: rgba(255, 255, 255, 0.16);
}

.dark-stat-strip strong {
  color: #ff1239;
}

.dark-stat-strip span {
  color: #fff;
}

.dark-stat-strip p {
  color: rgba(224, 239, 250, 0.72);
}

.corporate-map-band {
  border-top: 10px solid #fff;
  border-bottom: 10px solid #fff;
}

.values-band {
  padding: 84px 0 96px;
  background:
    linear-gradient(180deg, rgba(18, 61, 90, 0.98), rgba(35, 109, 147, 0.98)),
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.12), transparent 24%);
  color: #fff;
}

.values-inner {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.values-band h2 {
  margin: 0 0 54px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  font-weight: 500;
  text-align: center;
}

.values-band .ag-value-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 44px 54px;
  border: 0;
}

.values-band .value-item {
  min-height: 145px;
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 16px 14px;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
}

.values-band .value-item:nth-child(1),
.values-band .value-item:nth-child(2),
.values-band .value-item:nth-child(3) {
  grid-column: span 2;
}

.values-band .value-item:nth-child(4) {
  grid-column: 2 / span 2;
}

.values-band .value-item:nth-child(5) {
  grid-column: 4 / span 2;
}

.values-band .value-item::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: 162px;
  height: 82px;
  margin-left: -18px;
  background: linear-gradient(100deg, rgba(9, 45, 72, 0.84), rgba(9, 45, 72, 0));
  transform: skewX(-25deg);
}

.values-band .value-icon {
  grid-column: 1;
  grid-row: 1;
  width: 58px;
  height: 58px;
  position: relative;
  z-index: 1;
  background: #ff1239;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
  mask: var(--icon-mask) center / contain no-repeat;
}

.value-item.trophy { --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' d='M22 8h20v8h10v7c0 10-6 18-15 20v7h9v6H18v-6h9v-7c-9-2-15-10-15-20v-7h10V8Zm6 6v22c0 3 2 5 4 5s4-2 4-5V14h-8Zm14 8v13c3-2 5-6 5-12v-1h-5Zm-25 0v1c0 6 2 10 5 12V22h-5Z'/%3E%3C/svg%3E"); }
.value-item.sprout { --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' d='M30 48C16 47 8 39 8 28c12 0 20 4 23 12V16c-7 0-12-4-12-10 10 0 15 4 15 10v8c4-8 12-12 22-12 0 13-8 22-22 22v14h14v6H16v-6h14Z'/%3E%3C/svg%3E"); }
.value-item.flag { --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' d='M14 8h34l-3 12 7 8H24l-2 28h-8V8Zm8 8v6h20l1-6H22Z'/%3E%3C/svg%3E"); }
.value-item.globe { --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' d='M32 6a26 26 0 1 0 0 52 26 26 0 0 0 0-52Zm0 8c2 3 4 7 5 13H27c1-6 3-10 5-13Zm-14 13c2-5 6-9 11-11-2 4-3 7-4 11h-7Zm0 10h7c1 4 2 8 4 11-5-2-9-6-11-11Zm14 13c-2-3-4-7-5-13h10c-1 6-3 10-5 13Zm7-2c2-4 3-7 4-11h7c-2 5-6 9-11 11Zm5-21c-1-4-2-8-4-11 5 2 9 6 11 11h-7Z'/%3E%3C/svg%3E"); }
.value-item.chat { --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' d='M8 12h34v22H22L10 44V34H8V12Zm14 14h34v26h-4v10L40 52H22V26Z'/%3E%3C/svg%3E"); }

.values-band h3 {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.24rem;
  font-weight: 500;
}

.values-band p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  color: rgba(224, 239, 250, 0.74);
  font-size: 0.86rem;
  font-weight: 400;
}

.insights-band {
  width: 100%;
  margin: 0;
  min-height: 205px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border: 0;
  background: #fff;
}

.insights-band .ag-insights-img {
  min-height: 205px;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0), rgba(236,246,252,0.72) 72%, #e9f5fb),
    url("assets/hero-workspace.png");
  background-size: cover;
  background-position: center 46%;
}

.insights-band > div:last-child {
  min-width: 380px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px max(18px, calc((100vw - 1240px) / 2)) 0 30px;
  background: #eaf5fb;
}

.corporate-footer {
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  padding-top: 78px;
  padding-bottom: 72px;
  background:
    linear-gradient(60deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(120deg, rgba(255,255,255,0.028) 1px, transparent 1px),
    #0f2c43;
  background-size: 38px 66px, 38px 66px, auto;
  color: #fff;
  border-top: 0;
}

.corporate-footer .ag-logo,
.corporate-footer .ag-logo span {
  color: #fff;
}

.corporate-footer .ag-logo span {
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  line-height: 0.78;
}

.corporate-footer p {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 400;
}

.corporate-footer > div:first-child {
  display: grid;
  gap: 26px;
  align-content: start;
}

.social-row {
  display: flex;
  gap: 22px;
}

.social-row a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.56);
  color: #0f2c43;
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-columns div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-columns strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.footer-columns a {
  color: rgba(255, 255, 255, 0.54);
  font-size: 1rem;
  font-weight: 400;
}

.insights-band .ag-kicker,
.insights-band h2,
.insights-band p {
  display: none;
}

.insights-band .ag-button {
  min-width: 196px;
  height: 52px;
  position: relative;
  background: #f4062d;
  border-color: #f4062d;
  font-size: 1rem;
  font-weight: 800;
}

.insights-band .ag-button::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 52px 0 0 28px;
  border-color: transparent transparent transparent rgba(127, 0, 18, 0.36);
}

.service-hero,
.contact-hero {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 74px 0 48px;
}

.colorful-subhero {
  width: 100%;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 34px;
  align-items: center;
  padding: 70px max(18px, calc((100vw - 1240px) / 2));
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 22, 41, 0.94), rgba(8, 36, 65, 0.72), rgba(5, 10, 20, 0.28)),
    url("assets/global-hero.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.colorful-subhero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(243, 8, 47, 0.24), transparent 20%),
    radial-gradient(circle at 18% 80%, rgba(0, 184, 255, 0.2), transparent 25%);
  pointer-events: none;
}

.subhero-copy,
.subhero-floats {
  position: relative;
  z-index: 1;
}

.colorful-subhero .ag-kicker {
  color: #8bd8ff;
}

.colorful-subhero p:not(.ag-kicker) {
  color: rgba(255, 255, 255, 0.86);
}

.subhero-floats {
  min-height: 280px;
}

.sub-float {
  position: absolute;
  min-width: 150px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(3, 21, 42, 0.58);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.sub-float.one {
  right: 18%;
  top: 10%;
}

.sub-float.two {
  left: 6%;
  top: 42%;
  background: rgba(143, 21, 27, 0.72);
}

.sub-float.three {
  right: 6%;
  bottom: 8%;
}

.service-hero h1,
.contact-hero h1 {
  max-width: 920px;
  margin: 12px 0 16px;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
}

.service-hero p:not(.ag-kicker),
.contact-hero p:not(.ag-kicker) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1rem;
}

.service-layout {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.service-index {
  position: sticky;
  top: 18px;
  display: grid;
  background: #fff;
  border: 1px solid var(--line);
}

.service-index a {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: #222;
  font-weight: 800;
}

.service-index a:last-child {
  border-bottom: 0;
}

.service-groups {
  display: grid;
  gap: 18px;
}

.service-group {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 26px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(242,247,255,0.98)),
    radial-gradient(circle at 100% 0%, rgba(0, 121, 255, 0.18), transparent 34%);
  border: 1px solid #c7d5e5;
  box-shadow: 0 14px 36px rgba(16, 43, 74, 0.08);
}

.service-group h2,
.service-cta h2,
.enquiry-form h2,
.location-panel h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.65rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1;
}

.service-group p:not(.ag-kicker) {
  color: var(--muted);
}

.service-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-group li {
  padding: 13px 14px;
  border-left: 4px solid var(--red);
  background: #f7f5ee;
  font-weight: 500;
}

.service-cta {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  background: var(--deep);
  color: #fff;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: end;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 26px;
  background: #fff;
  border-top: 5px solid var(--red);
  box-shadow: 0 18px 45px rgba(18, 18, 18, 0.08);
}

.contact-card a {
  color: var(--red);
  font-weight: 900;
}

.contact-card span {
  color: var(--muted);
}

.enquiry-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.enquiry-form,
.location-panel {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
}

.enquiry-form {
  display: grid;
  gap: 16px;
}

.enquiry-form label {
  display: grid;
  gap: 7px;
  color: #242424;
  font-weight: 500;
}

.service-page,
.contact-page {
  background: #fff;
}

.service-page .service-layout,
.contact-page .enquiry-shell {
  background: #fff;
}

.service-page .service-cta {
  margin-bottom: 0;
}

.contact-card strong,
.location-panel h3 {
  font-weight: 500;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 14px;
  background: #fbfaf6;
  color: var(--ink);
  font: inherit;
}

.check-row {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  font-weight: 600;
}

.check-row input {
  width: auto;
  margin-top: 4px;
}

.location-panel {
  display: grid;
  gap: 16px;
}

.location-panel article {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.location-panel h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.location-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .option-grid,
  .option-grid.five-options,
  .hero-two,
  .profile-strip,
  .magazine-hero,
  .project-grid,
  .advisory-hero,
  .advisory-heading,
  .story-band,
  .insights-cta,
  .ag-hero,
  .ag-map-band,
  .ag-insights,
  .ag-footer,
  .service-layout,
  .service-group,
  .service-cta,
  .contact-hero,
  .enquiry-shell {
    grid-template-columns: 1fr;
  }

  .ag-nav {
    grid-template-columns: 1fr;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .ag-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .ag-search {
    border-left: 0;
    justify-content: flex-start;
  }

  .ag-hero-media {
    min-height: 360px;
    order: 2;
  }

  .colorful-hero,
  .colorful-hero .ag-hero-copy {
    min-height: 620px;
  }

  .float-card-one {
    right: 6%;
    top: 12%;
  }

  .float-card-two,
  .float-orbit {
    display: none;
  }

  .ag-stats,
  .ag-service-grid,
  .ag-value-grid,
  .service-group ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-card-carousel article {
    flex-basis: 390px;
    min-width: 390px;
  }

  .ag-stats {
    margin-top: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
  }

  .nav {
    height: auto;
    min-height: 72px;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-image {
    aspect-ratio: 16 / 10;
  }

  .post-item {
    grid-template-columns: 1fr;
  }

  .magazine-feature {
    min-height: 430px;
  }

  .metric-row,
  .service-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .advisory-image-wrap {
    min-height: 360px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .andersen-like .ag-nav {
    min-height: 92px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .andersen-like .ag-links {
    justify-content: flex-end;
    gap: 14px;
    overflow-x: visible;
    padding-bottom: 0;
    font-size: 0.84rem;
  }

  .andersen-like .ag-search {
    border-left: 1px solid var(--line);
    justify-content: center;
  }

  .andersen-like .ag-logo span {
    font-size: 1.55rem;
  }

  .insights-band {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .insights-band > div:last-child {
    min-width: 320px;
    justify-content: center;
    padding-left: 18px;
    padding-right: 18px;
  }

  .values-band .ag-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 36px;
  }

  .values-band .value-item:nth-child(1),
  .values-band .value-item:nth-child(2),
  .values-band .value-item:nth-child(3),
  .values-band .value-item:nth-child(4),
  .values-band .value-item:nth-child(5) {
    grid-column: auto;
  }

  .values-band .value-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .values-band .value-item::before {
    width: 145px;
  }
}

@media (max-width: 560px) {
  .hub,
  .template-wrap,
  .nav {
    width: min(100% - 24px, 1180px);
  }

  .section-title,
  .stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .metric-row,
  .service-grid,
  .value-grid,
  .ag-stats,
  .ag-service-grid,
  .ag-value-grid,
  .service-group ul {
    grid-template-columns: 1fr;
  }

  .home-card-carousel article {
    flex-basis: min(86vw, 360px);
    min-width: min(86vw, 360px);
  }


  .service-index {
    position: static;
  }

  .ag-topbar,
  .ag-topbar div,
  .ag-footer-links {
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .ag-stats article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ag-stats article:last-child {
    border-bottom: 0;
  }

  .ag-button {
    width: 100%;
  }

  .colorful-hero .ag-hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .story-band,
  .insights-cta {
    padding: 22px;
  }
}

/* Internal pages synced with the homepage visual system. */
.service-page,
.contact-page {
  --paper: #ffffff;
  background: #fff;
}

.service-page .colorful-subhero {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(5, 22, 41, 0.96), rgba(8, 36, 65, 0.78), rgba(5, 10, 20, 0.24)),
    url("assets/global-hero.png");
  background-size: cover;
  background-position: center;
}

.service-page .service-hero h1,
.contact-page .contact-hero h1 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.35rem, 4.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
}

.service-page .service-hero p:not(.ag-kicker),
.contact-page .contact-hero p:not(.ag-kicker) {
  font-size: 1rem;
  font-weight: 400;
}

.service-page .service-layout,
.contact-page .enquiry-shell,
.contact-page .contact-hero {
  background: #fff;
}

.service-page .service-index,
.service-page .service-group,
.contact-page .enquiry-form,
.contact-page .location-panel,
.contact-page .contact-card {
  background: #fff;
  border-color: #d9e1ea;
  box-shadow: 0 14px 34px rgba(16, 43, 74, 0.06);
}

.service-page .service-index a,
.service-page .service-group li,
.contact-page .enquiry-form label,
.contact-page .contact-card strong,
.contact-page .location-panel h3 {
  font-weight: 500;
}

.service-page .service-group h2,
.service-page .service-cta h2,
.contact-page .enquiry-form h2,
.contact-page .location-panel h2 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.55rem, 2.7vw, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
}

.service-page .service-group p,
.contact-page .location-panel p,
.contact-page .contact-card span,
.contact-page .enquiry-form input,
.contact-page .enquiry-form select,
.contact-page .enquiry-form textarea {
  font-size: 0.94rem;
}

.contact-page .contact-hero {
  width: min(1240px, calc(100% - 36px));
  padding-top: 70px;
  padding-bottom: 54px;
}

.contact-page .contact-card {
  border-top-color: #f4062d;
}

.service-page .service-cta {
  margin-bottom: 0;
  background:
    radial-gradient(circle at 18% 35%, rgba(19, 112, 255, 0.32), transparent 26%),
    linear-gradient(135deg, #061122 0%, #081e3b 58%, #101010 100%);
}
