/*
Theme Name: Geramai
Theme URI: https://geramai.com/
Author: Geramai Ltd
Author URI: https://geramai.com/
Description: A bespoke, accessible WordPress theme for Geramai Ltd, optimised for education market entry, AI search discovery and local delivery across Saudi Arabia and the GCC.
Version: 1.6.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: geramai
*/

:root {
  --grm-ink: #071a33;
  --grm-navy: #082442;
  --grm-blue: #0b3aa6;
  --grm-cyan: #37d1e9;
  --grm-cyan-soft: #dff8fc;
  --grm-sky: #edf6ff;
  --grm-paper: #ffffff;
  --grm-bg: #f5f8fc;
  --grm-line: rgba(7, 26, 51, 0.11);
  --grm-muted: #5f6f82;
  --grm-shadow: 0 22px 70px rgba(7, 26, 51, 0.10);
  --grm-shadow-soft: 0 14px 42px rgba(7, 26, 51, 0.07);
  --grm-radius: 26px;
  --grm-radius-sm: 18px;
  --grm-width: 1180px;
  --grm-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--grm-ink);
  background:
    radial-gradient(circle at 6% 4%, rgba(55, 209, 233, 0.12), transparent 24rem),
    radial-gradient(circle at 96% 34%, rgba(11, 58, 166, 0.08), transparent 32rem),
    var(--grm-bg);
  font-family: var(--grm-font);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--grm-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #062c82;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

h1,
h2,
h3,
h4 {
  color: var(--grm-ink);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.55rem, 5.1vw, 4.9rem);
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

::selection {
  color: var(--grm-paper);
  background: var(--grm-blue);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 12px;
  left: 12px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: var(--grm-paper);
  background: var(--grm-ink);
  border-radius: 12px;
}

:focus-visible {
  outline: 3px solid rgba(55, 209, 233, 0.82);
  outline-offset: 3px;
}

.grm-container {
  width: min(calc(100% - 40px), var(--grm-width));
  margin-inline: auto;
}

.grm-site-main {
  min-height: 60vh;
  overflow: clip;
}

.grm-section {
  position: relative;
  padding: clamp(64px, 9vw, 116px) 0;
}

.grm-section-tight {
  padding: clamp(44px, 6.5vw, 76px) 0;
}

.grm-section-white {
  background: rgba(255, 255, 255, 0.72);
  border-block: 1px solid rgba(7, 26, 51, 0.06);
}

.grm-section-soft {
  background: linear-gradient(145deg, rgba(237, 246, 255, 0.86), rgba(255, 255, 255, 0.84));
  border-block: 1px solid rgba(7, 26, 51, 0.06);
}

.grm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--grm-blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.grm-eyebrow::before {
  width: 27px;
  height: 2px;
  content: "";
  background: var(--grm-cyan);
  border-radius: 99px;
}

.grm-section-head {
  max-width: 790px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.grm-section-head h2 {
  margin-bottom: 18px;
}

.grm-section-head p {
  max-width: 70ch;
  margin-bottom: 0;
  color: var(--grm-muted);
  font-size: clamp(1rem, 1.7vw, 1.14rem);
}

.grm-center {
  margin-inline: auto;
  text-align: center;
}

.grm-center .grm-eyebrow {
  justify-content: center;
}

.grm-center .grm-eyebrow::after {
  width: 27px;
  height: 2px;
  content: "";
  background: var(--grm-cyan);
  border-radius: 99px;
}

.grm-center p {
  margin-inline: auto;
}

/* Header */
.grm-header {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 11px 0;
  background: rgba(245, 248, 252, 0.78);
  border-bottom: 1px solid rgba(7, 26, 51, 0.07);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.grm-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 34px rgba(7, 26, 51, 0.07);
}

.grm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 24px;
}

.grm-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.grm-brand img {
  width: 127px;
  max-height: 55px;
  object-fit: contain;
}

.grm-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.grm-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.grm-nav-item {
  position: relative;
}

.grm-nav-service-control {
  display: flex;
  align-items: center;
  border-radius: 12px;
  transition: background 160ms ease;
}

.grm-nav-service-link {
  padding-right: 5px;
}

.grm-nav-trigger-icon {
  padding-right: 9px;
  padding-left: 5px;
}

.grm-nav-service-control:hover,
.grm-nav-item.is-open .grm-nav-service-control,
.grm-nav-item.is-current .grm-nav-service-control {
  background: rgba(11, 58, 166, 0.07);
}

.grm-nav-service-control:hover .grm-nav-link,
.grm-nav-service-control:hover .grm-nav-trigger,
.grm-nav-item.is-open .grm-nav-service-control .grm-nav-trigger,
.grm-nav-item.is-current .grm-nav-service-control .grm-nav-link {
  color: var(--grm-blue);
  background: transparent;
}

.grm-nav-link,
.grm-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 12px;
  color: var(--grm-ink);
  background: transparent;
  border: 0;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 670;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.grm-nav-link:hover,
.grm-nav-link[aria-current="page"],
.grm-nav-trigger:hover,
.grm-nav-item.is-open .grm-nav-trigger {
  color: var(--grm-blue);
  background: rgba(11, 58, 166, 0.07);
}

.grm-nav-trigger svg {
  width: 13px;
  transition: transform 160ms ease;
}

.grm-nav-item.is-open .grm-nav-trigger svg {
  transform: rotate(180deg);
}

.grm-subnav {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  width: min(355px, 90vw);
  padding: 10px;
  margin: 0;
  list-style: none;
  visibility: hidden;
  opacity: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--grm-line);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(7, 26, 51, 0.17);
  transform: translate(-50%, 7px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  backdrop-filter: blur(20px);
}

.grm-nav-item:hover .grm-subnav,
.grm-nav-item:focus-within .grm-subnav,
.grm-nav-item.is-open .grm-subnav {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.grm-subnav a {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  color: var(--grm-ink);
  border-radius: 13px;
  font-size: 0.9rem;
  font-weight: 670;
  line-height: 1.25;
  text-decoration: none;
}

.grm-subnav a:hover,
.grm-subnav a[aria-current="page"] {
  color: var(--grm-blue);
  background: var(--grm-sky);
}

.grm-subnav-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--grm-blue);
  background: var(--grm-paper);
  border: 1px solid var(--grm-line);
  border-radius: 12px;
}

.grm-subnav-icon svg {
  width: 19px;
  height: 19px;
}

.grm-header-cta {
  margin-left: 8px;
}

.grm-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--grm-ink);
  background: var(--grm-paper);
  border: 1px solid var(--grm-line);
  border-radius: 14px;
  cursor: pointer;
}

.grm-menu-toggle svg {
  width: 22px;
}

/* Buttons */
.grm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 20px;
  color: var(--grm-paper);
  background: var(--grm-ink);
  border: 1px solid var(--grm-ink);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(7, 26, 51, 0.17);
  font-size: 0.93rem;
  font-weight: 750;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease;
}

.grm-button:hover {
  color: var(--grm-paper);
  background: var(--grm-blue);
  border-color: var(--grm-blue);
  box-shadow: 0 16px 34px rgba(11, 58, 166, 0.24);
  transform: translateY(-2px);
}

.grm-button-light {
  color: var(--grm-ink);
  background: var(--grm-paper);
  border-color: var(--grm-paper);
}

.grm-button-light:hover {
  color: var(--grm-ink);
  background: #eafaff;
  border-color: #eafaff;
}

.grm-button-ghost {
  color: var(--grm-ink);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(7, 26, 51, 0.16);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.grm-button-ghost:hover {
  color: var(--grm-blue);
  background: var(--grm-paper);
  border-color: rgba(11, 58, 166, 0.24);
  box-shadow: var(--grm-shadow-soft);
}

.grm-button-outline-light {
  color: var(--grm-paper);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: none;
  backdrop-filter: blur(13px);
}

.grm-button-outline-light:hover {
  color: var(--grm-paper);
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.55);
}

.grm-button svg {
  width: 17px;
  height: 17px;
}

.grm-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Hero */
.grm-hero-wrap {
  padding: 24px 0 0;
}

.grm-hero {
  --grm-hero-pan-x: 0px;
  --grm-hero-pan-y: 0px;
  --grm-hero-scroll-y: 0px;
  --grm-hero-zoom: 1.025;
  position: relative;
  display: flex;
  min-height: clamp(590px, 72vw, 720px);
  align-items: flex-end;
  overflow: hidden;
  color: var(--grm-paper);
  background: var(--grm-ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: clamp(24px, 4vw, 38px);
  box-shadow: 0 28px 80px rgba(7, 26, 51, 0.22);
  isolation: isolate;
}

.grm-hero-media,
.grm-hero-overlay,
.grm-hero-glow {
  position: absolute;
  inset: 0;
}

.grm-hero-media {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(
    var(--grm-hero-pan-x),
    calc(var(--grm-hero-pan-y) + var(--grm-hero-scroll-y)),
    0
  ) scale(var(--grm-hero-zoom));
  transition: transform 720ms cubic-bezier(.2,.72,.2,1);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .grm-hero:hover {
    --grm-hero-zoom: 1.055;
  }
}

.grm-hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 18, 36, 0.94) 0%, rgba(4, 18, 36, 0.73) 49%, rgba(4, 18, 36, 0.22) 78%, rgba(4, 18, 36, 0.38) 100%),
    linear-gradient(0deg, rgba(4, 18, 36, 0.70), transparent 55%);
}

.grm-hero-glow {
  z-index: -1;
  background:
    radial-gradient(circle at 8% 12%, rgba(55, 209, 233, 0.26), transparent 25rem),
    radial-gradient(circle at 87% 80%, rgba(11, 58, 166, 0.26), transparent 28rem);
  mix-blend-mode: screen;
}

.grm-hero-content {
  width: min(100%, 800px);
  padding: clamp(34px, 6vw, 74px);
}

.grm-hero .grm-eyebrow {
  color: #b7f3fc;
}

.grm-hero h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  color: var(--grm-paper);
}

.grm-hero-copy {
  max-width: 65ch;
  margin-bottom: 31px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.04rem, 2vw, 1.23rem);
}

.grm-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 31px 0 0;
  list-style: none;
}

.grm-hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 680;
  backdrop-filter: blur(11px);
}

.grm-hero-points svg {
  width: 15px;
  color: var(--grm-cyan);
}

/* Grids and cards */
.grm-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.grm-card {
  position: relative;
  overflow: hidden;
  padding: clamp(23px, 3.4vw, 34px);
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(7, 26, 51, 0.10);
  border-radius: var(--grm-radius);
  box-shadow: var(--grm-shadow-soft);
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.grm-card:hover {
  border-color: rgba(11, 58, 166, 0.22);
  box-shadow: var(--grm-shadow);
  transform: translateY(-4px);
}

.grm-card h3 {
  margin-bottom: 12px;
}

.grm-card p:last-child {
  margin-bottom: 0;
}

.grm-card p {
  color: var(--grm-muted);
}

.grm-card-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--grm-blue);
  background: linear-gradient(145deg, var(--grm-paper), var(--grm-sky));
  border: 1px solid rgba(11, 58, 166, 0.12);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(11, 58, 166, 0.09);
}

.grm-card-icon svg {
  width: 25px;
  height: 25px;
}

.grm-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  color: var(--grm-blue);
  font-size: 0.9rem;
  font-weight: 770;
  text-decoration: none;
}

.grm-card-link svg {
  width: 16px;
  transition: transform 160ms ease;
}

.grm-card-link:hover svg {
  transform: translateX(3px);
}

.grm-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.grm-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #405269;
  font-size: 0.94rem;
}

.grm-list svg {
  width: 18px;
  min-width: 18px;
  margin-top: 4px;
  color: var(--grm-blue);
}

.grm-feature-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.grm-feature-card .grm-card-link {
  margin-top: auto;
  padding-top: 20px;
}

.grm-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--grm-line);
  border-radius: 23px;
  box-shadow: var(--grm-shadow-soft);
  backdrop-filter: blur(15px);
}

.grm-stat {
  padding: 24px;
}

.grm-stat + .grm-stat {
  border-left: 1px solid var(--grm-line);
}

.grm-stat strong,
.grm-stat span {
  display: block;
}

.grm-stat strong {
  margin-bottom: 4px;
  color: var(--grm-blue);
  font-size: 0.98rem;
  font-weight: 800;
}

.grm-stat span {
  color: var(--grm-muted);
  font-size: 0.85rem;
}

/* Split sections */
.grm-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.88fr);
  align-items: center;
  gap: clamp(38px, 7vw, 86px);
}

.grm-split-media {
  position: relative;
}

.grm-split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--grm-shadow);
}

.grm-float-card {
  position: absolute;
  right: -20px;
  bottom: -24px;
  width: min(290px, 75%);
  padding: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  box-shadow: 0 20px 52px rgba(7, 26, 51, 0.18);
  backdrop-filter: blur(18px);
}

.grm-float-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--grm-ink);
}

.grm-float-card span {
  display: block;
  color: var(--grm-muted);
  font-size: 0.85rem;
}

.grm-copy h2 {
  margin-bottom: 20px;
}

.grm-copy > p {
  color: var(--grm-muted);
  font-size: 1.04rem;
}

/* Journey */
.grm-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.grm-journey::before {
  position: absolute;
  top: 38px;
  left: 8%;
  z-index: 0;
  width: 84%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--grm-cyan), var(--grm-blue));
  opacity: 0.26;
}

.grm-step {
  position: relative;
  z-index: 1;
  min-height: 235px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(7, 26, 51, 0.10);
  border-radius: 24px;
  box-shadow: var(--grm-shadow-soft);
  backdrop-filter: blur(15px);
}

.grm-step-number {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--grm-paper);
  background: linear-gradient(145deg, var(--grm-blue), var(--grm-ink));
  border: 5px solid var(--grm-paper);
  border-radius: 17px;
  box-shadow: 0 12px 28px rgba(11, 58, 166, 0.20);
  font-size: 0.83rem;
  font-weight: 850;
}

.grm-step h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.grm-step p {
  margin: 0;
  color: var(--grm-muted);
  font-size: 0.91rem;
}

/* Service lanes */
.grm-service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.grm-service-card::after {
  position: absolute;
  right: -70px;
  bottom: -75px;
  width: 180px;
  height: 180px;
  content: "";
  background: radial-gradient(circle, rgba(55, 209, 233, 0.18), transparent 68%);
  pointer-events: none;
}

.grm-service-card .grm-actions {
  margin-top: auto;
  padding-top: 18px;
}

.grm-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.grm-pills li {
  padding: 7px 10px;
  color: #385169;
  background: var(--grm-sky);
  border: 1px solid rgba(11, 58, 166, 0.10);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 690;
}

/* Feature bands */
.grm-band {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 66px);
  color: var(--grm-paper);
  background:
    radial-gradient(circle at 86% 15%, rgba(55, 209, 233, 0.27), transparent 22rem),
    linear-gradient(135deg, #071a33, #0a2e58 70%, #0b3aa6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: clamp(25px, 4vw, 36px);
  box-shadow: 0 28px 80px rgba(7, 26, 51, 0.21);
}

.grm-band::before {
  position: absolute;
  top: -110px;
  right: -90px;
  width: 330px;
  height: 330px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.grm-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 35px;
}

.grm-band h2 {
  max-width: 17ch;
  margin-bottom: 14px;
  color: var(--grm-paper);
}

.grm-band p {
  max-width: 68ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

/* Testimonials / proof style */
.grm-proof {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.grm-proof-main {
  padding: clamp(28px, 5vw, 54px);
  background: linear-gradient(145deg, rgba(237, 246, 255, 0.9), rgba(255, 255, 255, 0.93));
  border: 1px solid var(--grm-line);
  border-radius: 30px;
  box-shadow: var(--grm-shadow-soft);
}

.grm-proof-main blockquote {
  margin: 0;
  color: var(--grm-ink);
  font-size: clamp(1.25rem, 2.7vw, 2.05rem);
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.grm-proof-side {
  display: grid;
  gap: 20px;
}

.grm-mini-card {
  padding: 25px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--grm-line);
  border-radius: 23px;
  box-shadow: var(--grm-shadow-soft);
}

.grm-mini-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--grm-blue);
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.grm-mini-card p {
  margin: 0;
  color: var(--grm-muted);
}

/* FAQ */
.grm-faq-list {
  display: grid;
  max-width: 930px;
  gap: 12px;
  margin-inline: auto;
}

.grm-faq {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--grm-line);
  border-radius: 19px;
  box-shadow: 0 9px 28px rgba(7, 26, 51, 0.05);
}

.grm-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 23px;
  color: var(--grm-ink);
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.grm-faq summary::-webkit-details-marker {
  display: none;
}

.grm-faq summary::after {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  content: "+";
  place-items: center;
  color: var(--grm-blue);
  background: var(--grm-sky);
  border-radius: 10px;
  font-size: 1.2rem;
  line-height: 1;
}

.grm-faq[open] summary::after {
  content: "−";
}

.grm-faq-answer {
  padding: 0 23px 22px;
  color: var(--grm-muted);
}

.grm-faq-answer p:last-child {
  margin-bottom: 0;
}

/* Contact */
.grm-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: start;
  gap: 26px;
}

.grm-contact-list {
  display: grid;
  gap: 13px;
}

.grm-contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 19px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--grm-line);
  border-radius: 19px;
  box-shadow: 0 10px 30px rgba(7, 26, 51, 0.05);
}

.grm-contact-item-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--grm-blue);
  background: var(--grm-sky);
  border-radius: 14px;
}

.grm-contact-item-icon svg {
  width: 21px;
}

.grm-contact-item h3 {
  margin: 2px 0 7px;
  font-size: 1rem;
}

.grm-contact-item p,
.grm-contact-item address {
  margin: 0;
  color: var(--grm-muted);
  font-size: 0.88rem;
  font-style: normal;
}

.grm-contact-item a {
  color: inherit;
  text-decoration: none;
}

.grm-form-panel {
  padding: clamp(24px, 4vw, 39px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--grm-line);
  border-radius: 28px;
  box-shadow: var(--grm-shadow);
  backdrop-filter: blur(18px);
}

.grm-form-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.grm-form-panel > p {
  color: var(--grm-muted);
}

.wpforms-container {
  margin: 24px 0 0 !important;
}

.wpforms-container .wpforms-field {
  padding: 8px 0 !important;
}

.wpforms-container .wpforms-field-label,
.wpforms-container label {
  margin-bottom: 7px !important;
  color: var(--grm-ink) !important;
  font-size: 0.85rem !important;
  font-weight: 720 !important;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="url"],
.wpforms-container select,
.wpforms-container textarea {
  width: 100% !important;
  max-width: none !important;
  min-height: 50px !important;
  padding: 12px 14px !important;
  color: var(--grm-ink) !important;
  background: #f8fafc !important;
  border: 1px solid rgba(7, 26, 51, 0.14) !important;
  border-radius: 13px !important;
  box-shadow: inset 0 1px 2px rgba(7, 26, 51, 0.02) !important;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease !important;
}

.wpforms-container textarea {
  min-height: 140px !important;
}

.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus {
  background: var(--grm-paper) !important;
  border-color: var(--grm-blue) !important;
  box-shadow: 0 0 0 4px rgba(11, 58, 166, 0.08) !important;
}

.wpforms-container button[type="submit"] {
  min-height: 49px !important;
  padding: 13px 23px !important;
  color: var(--grm-paper) !important;
  background: var(--grm-ink) !important;
  border: 1px solid var(--grm-ink) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 28px rgba(7, 26, 51, 0.16) !important;
  font-weight: 760 !important;
}

.wpforms-container button[type="submit"]:hover {
  background: var(--grm-blue) !important;
  border-color: var(--grm-blue) !important;
}

.grm-form-fallback {
  padding: 21px;
  margin-top: 22px;
  color: var(--grm-muted);
  background: var(--grm-sky);
  border: 1px solid rgba(11, 58, 166, 0.12);
  border-radius: 17px;
}

/* Booking */
.grm-book-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  align-items: start;
  gap: 28px;
}

.grm-book-panel {
  overflow: hidden;
  min-height: 720px;
  background: var(--grm-paper);
  border: 1px solid var(--grm-line);
  border-radius: 28px;
  box-shadow: var(--grm-shadow);
}

.grm-calendly {
  width: 100%;
  min-width: 320px;
  height: 720px;
}

.grm-call-agenda {
  counter-reset: agenda;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.grm-call-agenda li {
  counter-increment: agenda;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  color: #405269;
}

.grm-call-agenda li::before {
  display: grid;
  width: 36px;
  height: 36px;
  content: counter(agenda, decimal-leading-zero);
  place-items: center;
  color: var(--grm-blue);
  background: var(--grm-sky);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 850;
}

/* Legal and standard content */
.grm-legal {
  max-width: 880px;
  padding: clamp(26px, 5vw, 58px);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--grm-line);
  border-radius: 28px;
  box-shadow: var(--grm-shadow);
}

.grm-legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.grm-legal h2 {
  padding-top: 25px;
  margin-top: 40px;
  border-top: 1px solid var(--grm-line);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.grm-legal h3 {
  margin-top: 28px;
  font-size: 1.1rem;
}

.grm-legal p,
.grm-legal li {
  color: #405269;
}

.grm-legal-meta {
  padding: 16px 18px;
  margin-bottom: 30px;
  color: var(--grm-muted);
  background: var(--grm-sky);
  border-radius: 15px;
  font-size: 0.9rem;
}

.grm-default-content {
  max-width: 880px;
  padding: 70px 0 100px;
}

/* Footer */
.grm-footer {
  margin-top: clamp(70px, 9vw, 120px);
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 78% 10%, rgba(55, 209, 233, 0.14), transparent 25rem),
    #06182e;
  border-radius: 36px 36px 0 0;
}

.grm-footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.75fr 0.8fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  padding: 68px 0 48px;
}

.grm-footer-brand img {
  width: 150px;
  max-height: 70px;
  margin-bottom: 20px;
  object-fit: contain;
}

.grm-footer-brand p {
  max-width: 38ch;
  margin: 0;
  font-size: 0.92rem;
}

.grm-footer h2 {
  margin-bottom: 17px;
  color: var(--grm-paper);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grm-footer ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.grm-footer a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  text-decoration: none;
}

.grm-footer a:hover {
  color: var(--grm-cyan);
}

.grm-footer-address {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-style: normal;
}

.grm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.grm-footer-bottom p {
  margin: 0;
}

.grm-scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  visibility: hidden;
  place-items: center;
  color: var(--grm-paper);
  opacity: 0;
  background: var(--grm-ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 16px 42px rgba(7, 26, 51, 0.24);
  cursor: pointer;
  transform: translateY(9px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.grm-scroll-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.grm-scroll-top svg {
  width: 20px;
}

/* Reveal motion */
.js .grm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(.2,.7,.2,1);
}

.js .grm-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.grm-reveal:nth-child(2) { transition-delay: 70ms; }
.grm-reveal:nth-child(3) { transition-delay: 140ms; }
.grm-reveal:nth-child(4) { transition-delay: 210ms; }

/* 404 */
.grm-not-found {
  display: grid;
  min-height: 65vh;
  place-items: center;
  text-align: center;
}

.grm-not-found-inner {
  max-width: 700px;
  padding: 60px 25px;
}

.grm-not-found-code {
  display: block;
  margin-bottom: 5px;
  color: var(--grm-blue);
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 860;
  letter-spacing: -0.08em;
  line-height: 0.95;
}

@media (max-width: 1080px) {
  .grm-grid-4,
  .grm-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grm-journey::before {
    display: none;
  }

  .grm-footer-main {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }

  .grm-footer-brand {
    grid-column: 1 / -1;
  }

  .grm-book-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

@media (max-width: 940px) {
  .grm-menu-toggle {
    display: inline-flex;
  }

  .grm-nav {
    position: fixed;
    top: 83px;
    right: 14px;
    left: 14px;
    display: block;
    max-height: calc(100vh - 98px);
    padding: 14px;
    visibility: hidden;
    overflow-y: auto;
    opacity: 0;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--grm-line);
    border-radius: 23px;
    box-shadow: 0 26px 70px rgba(7, 26, 51, 0.22);
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    backdrop-filter: blur(20px);
  }

  .grm-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .grm-nav-list {
    display: grid;
    align-items: stretch;
  }

  .grm-nav-link,
  .grm-nav-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 14px;
  }

  .grm-nav-service-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    width: 100%;
  }

  .grm-nav-service-link {
    padding-right: 8px;
  }

  .grm-nav-trigger-icon {
    width: 48px;
    justify-content: center;
    padding: 14px;
  }

  .grm-subnav {
    position: static;
    width: auto;
    max-height: 0;
    padding: 0 8px;
    visibility: visible;
    overflow: hidden;
    opacity: 1;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    transition: max-height 220ms ease, padding 220ms ease;
  }

  .grm-nav-item:hover .grm-subnav,
  .grm-nav-item:focus-within .grm-subnav {
    transform: none;
  }

  .grm-nav-item.is-open .grm-subnav {
    max-height: 360px;
    padding: 7px 8px 10px;
  }

  .grm-header-cta {
    width: 100%;
    margin: 12px 0 0;
  }

  .grm-header-cta .grm-button {
    width: 100%;
  }

  .grm-split,
  .grm-contact-grid,
  .grm-book-grid,
  .grm-proof {
    grid-template-columns: 1fr;
  }

  .grm-split-media {
    max-width: 680px;
  }

  .grm-book-grid > :first-child {
    order: 2;
  }

  .grm-book-panel {
    min-height: 680px;
  }

  .grm-calendly {
    height: 680px;
  }
}

@media (max-width: 760px) {
  .grm-container {
    width: min(calc(100% - 28px), var(--grm-width));
  }

  .grm-brand img {
    width: 112px;
  }

  .grm-hero-wrap {
    padding-top: 14px;
  }

  .grm-hero {
    min-height: 620px;
    border-radius: 25px;
  }

  .grm-hero-overlay {
    background: linear-gradient(0deg, rgba(4, 18, 36, 0.96) 0%, rgba(4, 18, 36, 0.74) 68%, rgba(4, 18, 36, 0.38) 100%);
  }

  .grm-hero-content {
    padding: 32px 24px;
  }

  .grm-hero h1 {
    max-width: 15ch;
  }

  .grm-grid-3,
  .grm-grid-2,
  .grm-grid-4,
  .grm-journey {
    grid-template-columns: 1fr;
  }

  .grm-stat-strip {
    grid-template-columns: 1fr;
  }

  .grm-stat + .grm-stat {
    border-top: 1px solid var(--grm-line);
    border-left: 0;
  }

  .grm-float-card {
    right: 14px;
    bottom: -20px;
  }

  .grm-band-inner {
    grid-template-columns: 1fr;
  }

  .grm-band h2 {
    max-width: none;
  }

  .grm-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .grm-footer-brand {
    grid-column: 1 / -1;
  }

  .grm-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .grm-actions .grm-button {
    width: 100%;
  }

  .grm-hero-points {
    display: grid;
  }

  .grm-hero-points li {
    justify-content: flex-start;
  }

  .grm-footer-main {
    grid-template-columns: 1fr;
  }

  .grm-footer-brand {
    grid-column: auto;
  }

  .grm-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .grm-book-panel {
    margin-inline: -4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .grm-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Version 1.2.0: neutral executive glass refinement */
:root {
  --grm-cyan: #789aa9;
  --grm-cyan-soft: #edf3f5;
  --grm-sky: #f3f6f7;
  --grm-bg: #f7f8f9;
  --grm-line: rgba(7, 26, 51, 0.10);
  --grm-shadow: 0 24px 66px rgba(7, 26, 51, 0.12);
  --grm-shadow-soft: 0 16px 42px rgba(7, 26, 51, 0.075);
}

body {
  background:
    radial-gradient(circle at 4% 3%, rgba(120, 154, 169, 0.045), transparent 24rem),
    radial-gradient(circle at 97% 31%, rgba(7, 26, 51, 0.035), transparent 32rem),
    var(--grm-bg);
}

.grm-section-white {
  background: rgba(255, 255, 255, 0.80);
}

.grm-section-soft {
  background: linear-gradient(145deg, rgba(247, 249, 250, 0.96), rgba(255, 255, 255, 0.96));
}

.grm-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(249, 251, 252, 0.87));
  border-bottom-color: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px rgba(255, 255, 255, 1), inset 0 -1px rgba(7, 26, 51, 0.07), 0 10px 32px rgba(7, 26, 51, 0.045);
  backdrop-filter: blur(24px) saturate(125%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
}

.grm-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px rgba(255, 255, 255, 1), 0 12px 34px rgba(7, 26, 51, 0.07);
}

.grm-scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, #789aa9, #0b3aa6 72%, #071a33);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 90ms linear;
}

.grm-subnav,
.grm-nav.is-open {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px rgba(255, 255, 255, 1), 0 24px 60px rgba(7, 26, 51, 0.14);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
}

.grm-hero-glow {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.075), transparent 24rem),
    radial-gradient(circle at 88% 82%, rgba(7, 26, 51, 0.13), transparent 29rem);
  mix-blend-mode: normal;
}

.grm-hero .grm-eyebrow {
  color: rgba(243, 247, 250, 0.80);
}

.grm-hero .grm-eyebrow::before {
  background: rgba(255, 255, 255, 0.52);
}

.grm-hero-points {
  gap: 9px;
}

.grm-hero-points li {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07));
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px) saturate(115%);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
}

.grm-hero-points svg {
  color: #e9f0f5;
}

.grm-button-outline-light {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.07));
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(15px) saturate(120%);
  -webkit-backdrop-filter: blur(15px) saturate(120%);
}

.grm-card,
.grm-step,
.grm-mini-card,
.grm-contact-item,
.grm-faq {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(249, 250, 251, 0.74));
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px rgba(255, 255, 255, 1), inset 0 -1px rgba(7, 26, 51, 0.045), var(--grm-shadow-soft);
  backdrop-filter: blur(20px) saturate(110%);
  -webkit-backdrop-filter: blur(20px) saturate(110%);
}

.grm-card-icon,
.grm-contact-item-icon {
  background: linear-gradient(145deg, #ffffff, #f2f5f6);
  border-color: rgba(11, 58, 166, 0.10);
  box-shadow: inset 0 1px rgba(255, 255, 255, 1), 0 10px 25px rgba(7, 26, 51, 0.07);
}

.grm-float-card {
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(247, 249, 250, 0.70));
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px rgba(255, 255, 255, 1), inset 0 -1px rgba(7, 26, 51, 0.06), 0 20px 52px rgba(7, 26, 51, 0.18);
  backdrop-filter: blur(24px) saturate(116%);
  -webkit-backdrop-filter: blur(24px) saturate(116%);
}

.grm-float-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.54), transparent 47%, rgba(120, 154, 169, 0.035));
}

.grm-float-card strong,
.grm-float-card span {
  position: relative;
}

.grm-band {
  background:
    radial-gradient(circle at 86% 15%, rgba(255, 255, 255, 0.14), transparent 20rem),
    linear-gradient(135deg, #071a33, #0a2e58 72%, #0b376b);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18), 0 28px 80px rgba(7, 26, 51, 0.21);
}

.grm-service-card::after {
  background: radial-gradient(circle, rgba(120, 154, 169, 0.08), transparent 68%);
}

.grm-pills li,
.grm-legal-meta {
  background: #f2f5f6;
}

/* Compact homepage service panel */
.grm-capabilities {
  position: relative;
  overflow: hidden;
  padding: 0 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(250, 250, 250, 0.88));
  border: 1px solid rgba(7, 26, 51, 0.08);
  border-radius: 27px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 1), 0 18px 48px rgba(7, 26, 51, 0.075);
  backdrop-filter: blur(20px) saturate(108%);
  -webkit-backdrop-filter: blur(20px) saturate(108%);
}

.grm-capabilities::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.62), transparent 50%, rgba(255, 255, 255, 0.26));
}

.grm-capability {
  position: relative;
  display: grid;
  grid-template-areas:
    "number icon main link"
    "number icon list link";
  grid-template-columns: 34px 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 20px;
  padding: 26px 0;
  border-top: 1px solid rgba(7, 26, 51, 0.09);
}

.grm-capability:first-child {
  border-top: 0;
}

.grm-capability-number {
  grid-area: number;
  align-self: start;
  padding-top: 16px;
  color: #7c8a9a;
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.10em;
}

.grm-capability .grm-card-icon {
  grid-area: icon;
  align-self: start;
  margin: 0;
}

.grm-capability-main {
  grid-area: main;
}

.grm-capability-main h3 {
  margin-bottom: 7px;
  font-size: 1.16rem;
}

.grm-capability-main p {
  margin: 0;
  color: var(--grm-muted);
  font-size: 0.91rem;
  line-height: 1.58;
}

.grm-capability-list {
  display: flex;
  grid-area: list;
  flex-wrap: wrap;
  gap: 7px 20px;
  padding: 0;
  margin: 4px 0 0;
  color: #405269;
  font-size: 0.82rem;
  list-style: none;
}

.grm-capability-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.grm-capability-list svg {
  width: 15px;
  min-width: 15px;
  color: var(--grm-blue);
}

.grm-capability-link {
  display: inline-flex;
  grid-area: link;
  align-items: center;
  align-self: center;
  justify-self: end;
  gap: 7px;
  color: var(--grm-blue);
  font-size: 0.86rem;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}

.grm-capability-link svg {
  width: 16px;
  transition: transform 160ms ease;
}

.grm-capability-link:hover svg {
  transform: translateX(3px);
}

/* High-contrast footer */
.grm-footer {
  color: #dbe7f1;
  background:
    radial-gradient(circle at 12% 0%, rgba(120, 154, 169, 0.05), transparent 28rem),
    linear-gradient(145deg, #06182e, #082442 72%, #092846);
}

.grm-footer-main {
  padding: 32px;
  margin-top: 42px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.20), inset 0 -1px rgba(120, 154, 169, 0.05), 0 22px 60px rgba(0, 8, 21, 0.22);
  backdrop-filter: blur(22px) saturate(124%);
  -webkit-backdrop-filter: blur(22px) saturate(124%);
}

.grm-footer-brand p,
.grm-footer-address {
  color: #d9e6f2;
}

.grm-footer ul {
  color: #eef6ff;
}

.grm-footer a {
  color: #eef6ff;
}

.grm-footer a:hover {
  color: #ffffff;
}

.grm-footer-bottom {
  margin-top: 24px;
  border-top-color: rgba(255, 255, 255, 0.16);
}

.grm-footer-bottom p {
  color: #bfcede;
}

.grm-footer-bottom p:last-child a {
  color: #f4f9ff;
}

@media (max-width: 760px) {
  .grm-capabilities {
    padding: 0 20px;
  }

  .grm-capability {
    grid-template-areas:
      "icon main"
      ". list"
      ". link";
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 11px 15px;
    padding: 23px 0;
  }

  .grm-capability-number {
    display: none;
  }

  .grm-capability-list {
    display: grid;
    gap: 7px;
    margin-top: 0;
  }

  .grm-capability-link {
    justify-self: start;
  }

  .grm-footer-main {
    padding: 26px;
  }
}

/* Version 1.6.0: compact heroes protected from legacy Custom CSS */
.grm-site-main .grm-hero {
  padding: 0;
}

.grm-site-main .grm-hero-content {
  width: 100%;
  max-width: none;
}

.grm-site-main .grm-hero h1 {
  color: var(--grm-paper);
  font-size: clamp(2.25rem, 7vw, 3.25rem);
}

.grm-site-main .grm-hero-points li {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (min-width: 981px) {
  .grm-site-main .grm-hero {
    min-height: 560px;
    padding: 0;
    align-items: stretch;
  }

  .grm-site-main .grm-hero-content {
    display: flex;
    width: 100%;
    max-width: none;
    min-height: 560px;
    align-items: center;
    padding: 38px 48px;
  }

  .grm-hero-primary {
    align-self: center;
    width: min(100%, 760px);
    min-width: 0;
  }

  .grm-site-main .grm-hero h1 {
    max-width: 22ch;
    margin-bottom: 15px;
    font-size: clamp(2.45rem, 3vw, 3.25rem);
    line-height: 1.03;
  }

  .grm-site-main .grm-hero-copy {
    max-width: 61ch;
    margin-bottom: 20px;
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    line-height: 1.55;
  }

  .grm-site-main .grm-hero-points {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 0;
    padding: 0;
    margin: 24px 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .grm-site-main .grm-hero-points li {
    width: auto;
    padding: 0 15px;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0;
    box-shadow: none;
    font-size: 0.75rem;
    line-height: 1.35;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .grm-site-main .grm-hero-points li:first-child {
    padding-left: 0;
    border-left: 0;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .grm-site-main .grm-hero {
    min-height: 540px;
    padding: 0;
  }

  .grm-site-main .grm-hero-content {
    width: 100%;
    max-width: none;
    padding: 38px;
  }

  .grm-site-main .grm-hero h1 {
    max-width: 18ch;
    font-size: clamp(2.5rem, 5vw, 3.45rem);
  }
}

.grm-section {
  padding: clamp(46px, 5.2vw, 68px) 0;
}

.grm-section-tight {
  padding: clamp(30px, 3.8vw, 48px) 0;
}

.grm-section-head {
  margin-bottom: clamp(26px, 3.8vw, 42px);
}

/* Light-section copy must never inherit the white hero colour. */
.grm-site-main .grm-section .grm-eyebrow,
.grm-site-main .grm-section-white .grm-eyebrow,
.grm-site-main .grm-section-soft .grm-eyebrow,
.grm-site-main .grm-section .grm-copy,
.grm-site-main .grm-section .grm-section-head {
  color: var(--grm-ink);
}

.grm-site-main .grm-section .grm-eyebrow {
  color: #36536f;
}

.grm-site-main .grm-section .grm-eyebrow::before,
.grm-site-main .grm-section .grm-eyebrow::after {
  background: #789aa9;
}

.grm-site-main .grm-section p,
.grm-site-main .grm-section .grm-copy p,
.grm-site-main .grm-section .grm-section-head p {
  color: #536579;
}

.grm-site-main .grm-band,
.grm-site-main .grm-band h2,
.grm-site-main .grm-band p {
  color: #ffffff;
}

.grm-footer {
  margin-top: clamp(42px, 5vw, 68px);
}

.grm-footer-main {
  padding: 54px 0 38px;
  margin-top: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.grm-footer-bottom {
  margin-top: 0;
  border-top-color: rgba(255, 255, 255, 0.10);
}

.grm-capability {
  transition: background 220ms ease, transform 220ms ease;
}

.grm-capability:hover {
  background: linear-gradient(90deg, rgba(120, 154, 169, 0.055), transparent 76%);
}

.grm-section-soft,
.grm-section-white {
  overflow: hidden;
}

.grm-section-soft::after,
.grm-section-white::after {
  position: absolute;
  top: 14%;
  right: -150px;
  width: 330px;
  height: 330px;
  content: "";
  opacity: 0.40;
  background: radial-gradient(circle, rgba(120, 154, 169, 0.11), transparent 68%);
  pointer-events: none;
}

.grm-journey::before {
  background-size: 220% 100%;
  animation: grm-route-flow 9s linear infinite;
}

@keyframes grm-route-flow {
  from { background-position: 100% 0; }
  to { background-position: -120% 0; }
}

.grm-step,
.grm-card,
.grm-mini-card,
.grm-contact-item {
  will-change: transform;
}

.grm-step:hover .grm-step-number,
.grm-card:hover .grm-card-icon,
.grm-contact-item:hover .grm-contact-item-icon {
  transform: translateY(-2px) scale(1.035);
}

.grm-step-number,
.grm-card-icon,
.grm-contact-item-icon {
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), box-shadow 220ms ease;
}

.js .grm-motion-target {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(.2,.72,.2,1);
}

.js .grm-motion-target.is-visible {
  opacity: 1;
  transform: none;
}

.js .grm-hero-primary > *,
.js .grm-hero-points {
  opacity: 0;
  animation: grm-hero-enter 540ms cubic-bezier(.2,.72,.2,1) forwards;
}

.js .grm-hero-primary > :nth-child(2) { animation-delay: 70ms; }
.js .grm-hero-primary > :nth-child(3) { animation-delay: 130ms; }
.js .grm-hero-primary > :nth-child(4) { animation-delay: 190ms; }
.js .grm-hero-points { animation-delay: 250ms; }

@keyframes grm-hero-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .grm-hero {
    min-height: 540px;
  }

  .grm-section {
    padding: 42px 0;
  }

  .grm-section-tight {
    padding: 30px 0;
  }

  .grm-footer-main {
    padding: 44px 0 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .grm-motion-target,
  .js .grm-hero-primary > *,
  .js .grm-hero-points {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .grm-journey::before {
    animation: none;
  }
}

/* Contact-page global office network */
.grm-office-network {
  position: relative;
  isolation: isolate;
}

.grm-office-network::before {
  position: absolute;
  inset: 12% 5%;
  z-index: -1;
  content: "";
  opacity: 0.48;
  background:
    radial-gradient(circle at 8% 24%, rgba(11, 58, 166, 0.16) 0 3px, transparent 4px),
    radial-gradient(circle at 54% 28%, rgba(11, 58, 166, 0.14) 0 3px, transparent 4px),
    radial-gradient(circle at 88% 72%, rgba(11, 58, 166, 0.12) 0 3px, transparent 4px),
    linear-gradient(18deg, transparent 44%, rgba(120, 154, 169, 0.16) 45%, transparent 46%);
  pointer-events: none;
}

.grm-office-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 251, 0.83));
  border-color: rgba(255, 255, 255, 0.98);
  border-radius: 23px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 1), 0 16px 42px rgba(7, 26, 51, 0.075);
  backdrop-filter: blur(20px) saturate(110%);
  -webkit-backdrop-filter: blur(20px) saturate(110%);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), box-shadow 220ms ease, border-color 220ms ease;
}

.grm-office-card::after {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 190px;
  height: 190px;
  content: "";
  background: radial-gradient(circle, rgba(120, 154, 169, 0.11), transparent 68%);
  pointer-events: none;
}

.grm-office-card:hover {
  border-color: rgba(120, 154, 169, 0.30);
  box-shadow: 0 22px 54px rgba(7, 26, 51, 0.12);
  transform: translateY(-5px);
}

.grm-office-marker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.grm-office-code {
  padding: 5px 8px;
  color: #36536f;
  background: rgba(237, 243, 245, 0.90);
  border: 1px solid rgba(120, 154, 169, 0.20);
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.grm-office-card h3 {
  margin-top: 1px;
  font-size: 1.08rem;
}

.grm-office-card address {
  margin-bottom: 13px;
  line-height: 1.62;
}

.grm-office-card a {
  color: #36536f;
  font-weight: 680;
}

.grm-office-card a:hover {
  color: var(--grm-blue);
}

.grm-office-card-enquiry {
  color: #ffffff;
  background: linear-gradient(145deg, #071a33, #0b315d);
  border-color: rgba(255, 255, 255, 0.16);
}

.grm-office-card-enquiry h3,
.grm-office-card-enquiry p,
.grm-office-card-enquiry a {
  color: #eef5fa !important;
}

.grm-office-card-enquiry .grm-office-code {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.20);
}

.grm-office-card-enquiry .grm-contact-item-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 520px) {
  .grm-office-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }
}
