/*
Theme Name: Prioritise IT Gradient
Theme URI: https://prioritiseit.com
Author: Prioritise IT
Description: A modern WordPress theme template inspired by the Prioritise IT app-icon branding, with dark navy, cyan, blue and purple gradients.
Version: 1.0.19
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: prioritise-gradient
*/

:root {
  --pri-navy: #02081f;
  --pri-navy-2: #071333;
  --pri-cyan: #03d8ff;
  --pri-blue: #087cff;
  --pri-purple: #9632ff;
  --pri-text: #071025;
  --pri-muted: #667085;
  --pri-border: #e7ebf3;
  --pri-white: #ffffff;
  --pri-gradient: linear-gradient(135deg, var(--pri-cyan), var(--pri-blue) 55%, var(--pri-purple));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--pri-text);
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1124px, calc(100% - 80px)); margin: 0 auto; }

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
  background: rgba(2, 8, 31, .72);
  border: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 1.52rem; letter-spacing: -0.04em; }
.brand img, .brand .custom-logo {
  width: 39px;
  height: 39px;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0;
  background: transparent !important;
  object-fit: contain;
  box-shadow: none !important;
  filter: drop-shadow(0 0 10px rgba(4, 217, 255, .52)) drop-shadow(0 8px 18px rgba(0, 0, 0, .28));
}
.brand span { text-shadow: 0 3px 12px rgba(0,0,0,.38); }
.brand-wordmark em {
  background: var(--pri-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.nav-menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: #fff; font-size: 0.83rem; font-weight: 750; opacity: .94; }
.nav-menu li { position: relative; }
.nav-menu a:hover { opacity: 1; color: #fff; }
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  min-width: 220px;
  margin: 0;
  padding: 12px;
  list-style: none;
  background: rgba(3, 10, 32, .96);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.38), 0 0 28px rgba(8,123,255,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 999;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
}
.nav-menu .sub-menu a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.nav-menu .sub-menu a:after { display:none !important; }
.nav-menu li:first-child a { position: relative; }
.nav-menu li:first-child a:after { content:""; position:absolute; left:0; right:0; bottom:-13px; height:2px; background:var(--pri-gradient); border-radius:20px; }
.header-cta, .button-primary, .button-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 47px; padding: 0 26px; border-radius: 8px; font-weight: 800; font-size:.92rem;
}
.header-cta, .button-primary { color: #fff; background: var(--pri-gradient); box-shadow: 0 16px 32px rgba(8, 123, 255, 0.25); }
.button-secondary { color: #fff; border: 1px solid rgba(255,255,255,0.58); background:rgba(0,0,0,.10); }

.hero {
  color: #fff;
  background:
    radial-gradient(circle at 63% 82%, rgba(50, 35, 255, .52), transparent 20%),
    radial-gradient(circle at 73% 44%, rgba(20, 130, 255, .18), transparent 28%),
    linear-gradient(135deg, #02081f 0%, #07102d 55%, #02081f 100%);
  overflow: hidden;
}
.hero:after { content:""; display:block; position:absolute; pointer-events:none; }
.hero-inner { min-height: 610px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 32px; padding: 100px 0 36px; position: relative; }
.hero h1 { font-size: clamp(3rem, 5.45vw, 5.05rem); line-height: 1.08; letter-spacing: -0.064em; margin: 42px 0 20px; font-weight: 850; }
.gradient-text { background: var(--pri-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { max-width: 520px; color: rgba(255,255,255,.84); font-size: 1.05rem; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.partner-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 72px; color: rgba(255,255,255,.86); font-weight: 750; font-size:.9rem; }
.partner-row span + span { border-left: 1px solid rgba(255,255,255,.25); padding-left: 26px; }
.hero-logo-wrap { position: relative; min-height: 430px; display: grid; place-items: center; }
.hero-logo-glow { position:absolute; width: 410px; height: 410px; background: var(--pri-gradient); filter: blur(74px); opacity:.28; border-radius:50%; }
.hero-logo-wrap:after { content:""; position:absolute; width:470px; height:80px; bottom:16px; left:44px; border-radius:50%; background:radial-gradient(ellipse at center, rgba(112, 42, 255, .62), rgba(4,217,255,.08) 42%, transparent 72%); filter:blur(22px); opacity:.8; }
.hero-logo { position: relative; z-index:1; width: min(350px, 75%); filter: drop-shadow(0 0 18px rgba(4,217,255,.66)) drop-shadow(0 0 34px rgba(8,123,255,.42)) drop-shadow(0 26px 40px rgba(128,45,255,.28)); }
.floating-icons { position:absolute; right: 1px; top:63px; display:grid; gap:12px; z-index:2; }
.float-icon { width:72px; height:72px; border-radius:10px; display:grid; place-items:center; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.13); padding:12px; box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.float-icon img { width:100%; height:100%; object-fit:contain; }

.section { padding: 38px 0 68px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 24px; }
.eyebrow { color: #155cff; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 900; }
.section-head h2 { font-size: clamp(1.85rem, 3vw, 2.35rem); line-height: 1.1; letter-spacing: -0.046em; margin: 10px 0 0; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { padding: 24px 20px 22px; min-height: 276px; border: 1px solid var(--pri-border); border-radius: 7px; background: #fff; box-shadow: 0 10px 28px rgba(16,24,40,.045); transition: .2s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(16,24,40,.10); }
.service-icon { width:58px; height:58px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(135deg, rgba(4,217,255,.14), rgba(139,44,255,.14)); color:#775cff; font-weight:900; margin-bottom:22px; padding:11px; font-size:1.9rem; line-height:1; }
.icon-users, .icon-shield { font-size:2.35rem; color:#705cff; }
.service-icon img { width:100%; height:100%; object-fit:contain; }
.service-icon svg,
.benefit-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { font-size:1.22rem; line-height:1.22; margin:0 0 13px; letter-spacing:-.03em; }
.service-card p { color:#1f2a44; margin:0 0 20px; font-size:.93rem; line-height:1.48; }
.learn-more { color:#1168ff; font-weight:850; font-size:.9rem; }

.dark-band { padding: 52px 0; background: radial-gradient(circle at 94% 48%, rgba(46, 40, 255, .42), transparent 31%), linear-gradient(135deg, #02081f, #07112f); color: #fff; }
.dark-band .eyebrow { color: var(--pri-cyan); }
.why-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items:center; }
.why-grid h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height:1.18; letter-spacing:-.045em; margin:10px 0 18px; }
.why-grid p { color: rgba(255,255,255,.83); max-width:390px; margin-bottom:24px; font-size:.96rem; }
.benefits { display:grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.benefit { min-height:110px; padding:22px 30px; border-right:1px solid rgba(255,255,255,.13); border-bottom:1px solid rgba(255,255,255,.13); position:relative; }
.benefit:nth-child(even) { border-right:0; }
.benefit:nth-last-child(-n+2) { border-bottom:0; }
.benefit-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  color: var(--pri-cyan);
}
.benefit-icon.icon-target {
  color: #9632ff;
}
.benefit strong { display:block; margin-bottom:6px; font-size:.95rem; }
.benefit span:not(.benefit-icon) { color:rgba(255,255,255,.82); font-size:.9rem; }

.clients { background:#fafafa; padding: 42px 0 44px; }
.client-grid { display:grid; grid-template-columns:.78fr 1.22fr; gap:56px; align-items:center; }
.client-grid h2 { font-size:2rem; line-height:1.12; letter-spacing:-.045em; margin:8px 0 24px; }
.quote-card { background:#fff; border:1px solid var(--pri-border); border-radius:10px; padding:32px 46px; box-shadow: 0 16px 42px rgba(16,24,40,.06); min-height:170px; position:relative; }
.quote-card p { font-size:1.04rem; color:#111b34; margin:0 0 22px 44px; max-width:610px; }
.quote-mark { position:absolute; left:36px; top:27px; font-size:4rem; line-height:1; background:var(--pri-gradient); -webkit-background-clip:text; color:transparent; font-weight:900; }
.logos { display:flex; flex-wrap:wrap; gap:28px; align-items:center; margin-top:28px; }
.logos img { height:20px; width:auto; max-width:90px; object-fit:contain; filter:saturate(.96); }

.site-footer { background:#02091f; color:#fff; padding:28px 0 20px; }
.footer-grid { display:grid; grid-template-columns:1.35fr repeat(4, 1fr); gap:38px; }
.footer-grid .brand img { width:41px; height:41px; }
.footer-grid h4 { margin:0 0 14px; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.9); }
.footer-grid ul { list-style:none; padding:0; margin:0; display:grid; gap:7px; color:rgba(255,255,255,.74); font-size:.86rem; }
.footer-grid a,
.footer-bottom a {
  color: rgba(255,255,255,.74);
}
.footer-grid a:hover,
.footer-bottom a:hover {
  color: #fff;
}
.footer-bottom { margin-top:26px; padding-top:18px; border-top:1px solid rgba(255,255,255,.10); display:flex; justify-content:space-between; color:rgba(255,255,255,.68); font-size:.82rem; }
.footer-legal-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 980px) {
  .container { width:min(100% - 36px, 1124px); }
  .header-inner { flex-wrap: wrap; gap: 14px 18px; padding: 14px 0; }
  .brand { font-size: 1.05rem; }
  .brand img, .brand .custom-logo { width: 28px; height: 28px; }
  .header-inner nav { order: 3; width: 100%; }
  .nav-menu { display:flex; width:100%; justify-content:flex-start; gap:18px; overflow-x:auto; padding-bottom:2px; }
  .nav-menu a { white-space: nowrap; font-size:.78rem; }
  .header-cta { min-height: 38px; padding: 0 14px; font-size:.78rem; }
  .hero-inner, .why-grid, .client-grid { grid-template-columns:1fr; }
  .hero-inner { min-height:auto; padding-top:110px; }
  .card-grid, .footer-grid { grid-template-columns:1fr 1fr; }
  .floating-icons { display:none; }
}
@media (max-width: 620px) {
  .container { width:min(100% - 32px, 1124px); }
  .header-inner { min-height: auto !important; }
  .header-cta { display:none; }
  .nav-menu { gap: 16px; }
  .card-grid, .benefits, .footer-grid { grid-template-columns:1fr; }
  .benefit, .benefit:nth-child(even), .benefit:nth-last-child(-n+2) { border-right:0; border-bottom:1px solid rgba(255,255,255,.12); }
  .footer-bottom { flex-direction:column; gap:10px; }
  .hero h1 { font-size:3.05rem; }
}

/* About page */
.about-hero {
  color: #fff;
  background:
    radial-gradient(circle at 74% 78%, rgba(119, 49, 255, .42), transparent 24%),
    radial-gradient(circle at 72% 42%, rgba(4, 217, 255, .18), transparent 26%),
    linear-gradient(135deg, #02081f 0%, #07102d 58%, #02081f 100%);
  overflow: hidden;
}
.about-hero-inner {
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  padding: 122px 0 70px;
}
.about-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -.06em;
  margin: 12px 0 22px;
  max-width: 760px;
}
.about-hero p:not(.eyebrow) {
  color: rgba(255,255,255,.84);
  font-size: 1.08rem;
  max-width: 600px;
  margin: 0 0 32px;
}
.about-logo-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}
.about-logo-panel .hero-logo { width: min(320px, 78%); }
.services-hero {
  color: #fff;
  background:
    radial-gradient(circle at 74% 78%, rgba(119, 49, 255, .42), transparent 24%),
    radial-gradient(circle at 72% 42%, rgba(4, 217, 255, .18), transparent 26%),
    linear-gradient(135deg, #02081f 0%, #07102d 58%, #02081f 100%);
  overflow: hidden;
}
.services-hero-inner {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  padding: 122px 0 70px;
}
.services-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 1.06;
  letter-spacing: -.06em;
  margin: 12px 0 22px;
  max-width: 820px;
}
.services-hero p:not(.eyebrow) {
  color: rgba(255,255,255,.84);
  font-size: 1.08rem;
  max-width: 610px;
  margin: 0 0 32px;
}
.services-logo-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
}
.services-logo-panel .hero-logo {
  width: min(330px, 76%);
}
.services-floating-icons {
  right: 0;
  top: 36px;
}
.services-overview {
  background: #fafafa;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service-detail-card {
  min-height: 100%;
}
.service-detail-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #33405f;
  font-size: .9rem;
}
.service-detail-card li {
  position: relative;
  padding-left: 18px;
}
.service-detail-card li::before {
  content: "";
  position: absolute;
  top: .65em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pri-gradient);
}
.service-fit {
  background: #fff;
}
.content-band {
  padding: 56px 0 76px;
  background: #fff;
}
.content-band.alt {
  background: #fafafa;
}
.content-grid,
.outcome-grid,
.process-grid,
.faq-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.content-card,
.process-card,
.faq-card,
.proof-card {
  background: #fff;
  border: 1px solid var(--pri-border);
  border-radius: 10px;
  padding: 26px 24px;
  box-shadow: 0 14px 38px rgba(16,24,40,.055);
  min-height: 100%;
}
.content-card h3,
.process-card h3,
.faq-card h3,
.proof-card h3 {
  margin: 0 0 12px;
  font-size: 1.13rem;
  letter-spacing: -.025em;
}
.content-card p,
.process-card p,
.faq-card p,
.proof-card p {
  margin: 0;
  color: #33405f;
  font-size: .95rem;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.stat-card {
  border: 1px solid var(--pri-border);
  border-radius: 10px;
  padding: 24px 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16,24,40,.045);
}
.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -.045em;
  background: var(--pri-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-card span {
  color: #33405f;
  font-size: .9rem;
}
.single-service-content {
  background: #fff;
}
.single-service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .38fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}
.single-service-layout h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.05em;
  margin: 10px 0 22px;
}
.single-service-layout p {
  color: #25304a;
  font-size: 1.05rem;
}
.service-summary-card {
  border: 1px solid var(--pri-border);
  border-radius: 14px;
  padding: 26px;
  background: #fafafa;
  box-shadow: 0 14px 38px rgba(16,24,40,.055);
}
.service-summary-card h3 {
  margin: 0 0 16px;
}
.service-summary-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-summary-card li {
  position: relative;
  padding-left: 18px;
  color: #33405f;
}
.service-summary-card li::before {
  content: "";
  position: absolute;
  top: .65em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pri-gradient);
}
.services-cta {
  background: #fafafa;
}
.adoption-pillars,
.adoption-outcomes {
  background: #fafafa;
}
.services-editor-content {
  background: #fafafa;
}
.home-editor-content,
.about-editor-content,
.team-editor-content,
.services-editor-content,
.single-service-content {
  background: #fafafa;
}
.home-editor-content .wp-block-group,
.about-editor-content .wp-block-group,
.team-editor-content .wp-block-group,
.services-editor-content .wp-block-group,
.single-service-content .wp-block-group {
  min-width: 0;
}
.services-editor-content > .container > *:first-child {
  margin-top: 0;
}
.services-editor-content > .container > *:last-child {
  margin-bottom: 0;
}
.services-editor-content .wp-block-columns {
  gap: 24px;
}
.services-editor-content .wp-block-column {
  min-width: 0;
}
.services-editor-content .wp-block-heading {
  letter-spacing: -.04em;
}
.services-editor-content p,
.services-editor-content li {
  color: #33405f;
  line-height: 1.62;
}
.services-editor-content .wp-block-button__link {
  border-radius: 8px;
  background: var(--pri-gradient);
  font-weight: 800;
}
.editable-page .wp-block-group.section {
  padding: 38px 0 68px;
}
.editable-page .wp-block-group.dark-band,
.editable-page .wp-block-group.services-overview,
.editable-page .wp-block-group.service-fit,
.editable-page .wp-block-group.services-cta,
.editable-page .wp-block-group.content-band,
.editable-page .wp-block-group.adoption-pillars,
.editable-page .wp-block-group.adoption-outcomes {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}
.split-content {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 80px;
  align-items: start;
}
.split-content h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.05em;
  margin: 10px 0 0;
}
.split-content p {
  font-size: 1.05rem;
  color: #25304a;
  margin-top: 0;
}
.about-values {
  padding: 56px 0 76px;
  background: #fafafa;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--pri-border);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: 0 14px 38px rgba(16,24,40,.055);
}
.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--pri-gradient);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(8,123,255,.22);
}
.value-card h3 { margin: 0 0 10px; font-size: 1.15rem; letter-spacing: -.025em; }
.value-card p { margin: 0; color: #33405f; font-size: .94rem; }
.about-cta { background: #fff; }
.cta-card {
  text-align: center;
  padding: 58px 42px;
  border-radius: 18px;
  background: linear-gradient(135deg, #02081f, #071333);
  color: #fff;
  box-shadow: 0 24px 70px rgba(2,8,31,.18);
  position: relative;
  overflow: hidden;
}
.cta-card:after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: var(--pri-gradient);
  opacity: .18;
  filter: blur(46px);
}
.cta-card h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.05em;
  margin: 10px 0 14px;
}
.cta-card p:not(.eyebrow) { color: rgba(255,255,255,.82); margin: 0 auto 28px; max-width: 680px; }
.cta-card > * { position: relative; z-index: 1; }
@media (max-width: 980px) {
  .about-hero-inner, .services-hero-inner, .single-service-layout, .split-content { grid-template-columns: 1fr; }
  .services-grid,
  .content-grid,
  .outcome-grid,
  .process-grid,
  .faq-grid,
  .proof-grid,
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .services-floating-icons { display: none; }
}
@media (max-width: 620px) {
  .services-grid,
  .content-grid,
  .outcome-grid,
  .process-grid,
  .faq-grid,
  .proof-grid,
  .stat-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .about-hero-inner, .services-hero-inner { padding-top: 110px; }
  .services-hero-inner {
    min-height: auto;
    gap: 22px;
    padding-bottom: 46px;
  }
  .services-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.15rem);
    line-height: 1.04;
  }
  .services-logo-panel {
    min-height: 250px;
  }
  .services-logo-panel .hero-logo {
    width: min(220px, 72%);
  }
}

/* Our Team page */
.team-hero {
  color: #fff;
  background:
    radial-gradient(circle at 74% 78%, rgba(119, 49, 255, .42), transparent 24%),
    radial-gradient(circle at 72% 42%, rgba(4, 217, 255, .18), transparent 26%),
    linear-gradient(135deg, #02081f 0%, #07102d 58%, #02081f 100%);
  overflow: hidden;
}
.team-hero-inner {
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  padding: 122px 0 70px;
}
.team-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -.06em;
  margin: 12px 0 22px;
  max-width: 820px;
}
.team-hero p:not(.eyebrow) {
  color: rgba(255,255,255,.84);
  font-size: 1.08rem;
  max-width: 640px;
  margin: 0 0 32px;
}
.team-logo-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}
.team-logo-panel .hero-logo { width: min(320px, 78%); }
.team-members {
  padding: 56px 0 82px;
  background: #fafafa;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-grid-single {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}
.team-card {
  background: #fff;
  border: 1px solid var(--pri-border);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 14px 38px rgba(16,24,40,.055);
  min-height: 100%;
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--pri-gradient);
  box-shadow: 0 16px 34px rgba(8,123,255,.25), 0 0 28px rgba(141,52,255,.18);
  color: #fff;
  font-weight: 900;
  letter-spacing: -.04em;
}
.team-card h3 {
  margin: 0 0 4px;
  font-size: 1.18rem;
  letter-spacing: -.03em;
}
.team-role {
  margin: 0 0 16px;
  color: #0a8fff;
  font-weight: 800;
  font-size: .88rem;
}
.team-card p:not(.team-role) {
  margin: 0 0 20px;
  color: #33405f;
  font-size: .94rem;
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.team-tags span {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 10px;
  background: #f0f6ff;
  color: #11203d;
  font-size: .76rem;
  font-weight: 800;
}
.expertise-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.expertise-strip article {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--pri-border);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16,24,40,.045);
}
.expertise-strip .service-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  margin: 0;
}
.expertise-strip strong {
  color: #071025;
  font-size: .92rem;
  line-height: 1.25;
}
.team-cta { background: #fff; }
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid-single { grid-template-columns: minmax(0, 520px); }
  .expertise-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .team-hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .team-grid { grid-template-columns: 1fr; }
  .expertise-strip { grid-template-columns: 1fr; }
  .team-hero-inner {
    min-height: auto;
    gap: 20px;
    padding: 54px 0 44px;
  }
  .team-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.15rem);
    line-height: 1.04;
    letter-spacing: -.052em;
  }
  .team-hero p:not(.eyebrow) {
    font-size: .98rem;
    line-height: 1.58;
  }
  .team-logo-panel {
    min-height: 250px;
  }
  .team-logo-panel .hero-logo {
    width: min(220px, 72%);
  }
  .team-intro {
    padding-top: 44px;
  }
  .split-content {
    gap: 22px;
  }
  .split-content h2 {
    font-size: clamp(2rem, 12vw, 2.9rem);
  }
}

/* Team profile photo */
.team-card.featured-team-card {
  position: relative;
  overflow: hidden;
}
.team-photo {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  box-shadow: 0 18px 36px rgba(8, 123, 255, .18), 0 0 28px rgba(141, 52, 255, .14);
  border: 1px solid rgba(255,255,255,.7);
}
.team-photo img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

/* Fix header/menu on inner pages so it never sits transparently over white content */
body:not(.home) .site-header,
body:not(.front-page) .site-header,
.page-template-page-team .site-header,
.page-template-page-about .site-header,
.page-template-default .site-header,
.single .site-header,
.blog .site-header,
.archive .site-header,
.search .site-header,
.error404 .site-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  background: rgba(2, 8, 31, 0.98) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 12px 34px rgba(2,8,31,.32) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

body:not(.home) .header-inner,
body:not(.front-page) .header-inner,
.page-template-page-team .header-inner,
.page-template-page-about .header-inner {
  min-height: 78px !important;
}

body:not(.home) .brand,
body:not(.home) .nav-menu a,
body:not(.front-page) .brand,
body:not(.front-page) .nav-menu a,
.page-template-page-team .brand,
.page-template-page-team .nav-menu a,
.page-template-page-about .brand,
.page-template-page-about .nav-menu a {
  color: #ffffff !important;
}

body:not(.home) .team-hero,
body:not(.front-page) .team-hero,
body:not(.home) .about-hero,
body:not(.front-page) .about-hero,
body:not(.home) .services-hero,
body:not(.front-page) .services-hero {
  color: #ffffff !important;
  background:
    radial-gradient(circle at 74% 78%, rgba(119, 49, 255, .42), transparent 24%),
    radial-gradient(circle at 72% 42%, rgba(4, 217, 255, .18), transparent 26%),
    linear-gradient(135deg, #02081f 0%, #07102d 58%, #02081f 100%) !important;
}

body:not(.home) .team-hero-inner,
body:not(.front-page) .team-hero-inner,
body:not(.home) .about-hero-inner,
body:not(.front-page) .about-hero-inner,
body:not(.home) .services-hero-inner,
body:not(.front-page) .services-hero-inner {
  padding-top: 70px !important;
}

body:not(.home) .team-hero h1,
body:not(.home) .team-hero p,
body:not(.front-page) .team-hero h1,
body:not(.front-page) .team-hero p,
body:not(.home) .about-hero h1,
body:not(.home) .about-hero p,
body:not(.front-page) .about-hero h1,
body:not(.front-page) .about-hero p,
body:not(.home) .services-hero h1,
body:not(.home) .services-hero p,
body:not(.front-page) .services-hero h1,
body:not(.front-page) .services-hero p {
  color: #ffffff;
}

body:not(.home) .team-hero p:not(.eyebrow),
body:not(.front-page) .team-hero p:not(.eyebrow),
body:not(.home) .about-hero p:not(.eyebrow),
body:not(.front-page) .about-hero p:not(.eyebrow),
body:not(.home) .services-hero p:not(.eyebrow),
body:not(.front-page) .services-hero p:not(.eyebrow) {
  color: rgba(255,255,255,.84) !important;
}

.page-template-page-team .cookieadmin_law_container {
  left: auto !important;
  right: 16px !important;
  bottom: 16px !important;
}

@media (max-width: 620px) {
  .page-template-page-team .team-hero-inner {
    padding-top: 54px !important;
  }

  .page-template-page-services .services-hero-inner {
    padding-top: 54px !important;
  }

  .page-template-page-team .cookieadmin_law_container {
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    width: auto !important;
    max-width: none !important;
  }

  .page-template-page-team .cookieadmin_consent_inside {
    max-height: 24vh;
    overflow: auto;
    padding: 10px !important;
  }

  .page-template-page-team #cookieadmin_notice_title {
    margin-bottom: 4px !important;
    font-size: .84rem !important;
  }

  .page-template-page-team .cookieadmin_notice_con {
    max-height: 56px;
    overflow: auto;
  }

  .page-template-page-team #cookieadmin_notice {
    font-size: .72rem !important;
    line-height: 1.35 !important;
  }

  .page-template-page-team .cookieadmin_consent_btns {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .page-template-page-team .cookieadmin_btn {
    min-height: 28px !important;
    padding: 4px 8px !important;
    font-size: .68rem !important;
  }

  .page-template-page-team .cookieadmin-poweredby {
    display: none !important;
  }
}

/* Mobile polish */
@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 28px, 1124px);
  }

  .site-header,
  body.home .site-header,
  body.front-page .site-header {
    position: relative !important;
    background: rgba(2, 8, 31, .98) !important;
    box-shadow: 0 12px 34px rgba(2,8,31,.28) !important;
  }

  .header-inner,
  body:not(.home) .header-inner,
  body:not(.front-page) .header-inner {
    min-height: auto !important;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
    padding: 12px 0 10px;
  }

  .brand {
    width: max-content;
    max-width: 100%;
    font-size: 1.08rem;
    letter-spacing: -.025em;
  }

  .brand img,
  .brand .custom-logo {
    width: 30px;
    height: 30px;
  }

  .header-inner nav {
    width: 100%;
    overflow: hidden;
  }

  .nav-menu {
    display: flex;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    padding: 0 0 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-menu li {
    flex: 0 0 auto;
  }

  .nav-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    font-size: .76rem;
    line-height: 1;
  }

  .nav-menu li:first-child a:after {
    display: none;
  }

  .nav-menu .sub-menu {
    display: none !important;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .services-hero,
  .about-hero,
  .team-hero {
    overflow: hidden;
  }

  .hero-inner,
  .services-hero-inner,
  .about-hero-inner,
  .team-hero-inner,
  body:not(.home) .services-hero-inner,
  body:not(.front-page) .services-hero-inner,
  body:not(.home) .about-hero-inner,
  body:not(.front-page) .about-hero-inner,
  body:not(.home) .team-hero-inner,
  body:not(.front-page) .team-hero-inner {
    min-height: auto !important;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 44px 0 34px !important;
  }

  .hero h1,
  .services-hero h1,
  .about-hero h1,
  .team-hero h1 {
    max-width: 100%;
    margin: 8px 0 14px;
    font-size: clamp(2.18rem, 10.6vw, 3rem);
    line-height: 1.06;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
  }

  .hero p,
  .services-hero p:not(.eyebrow),
  .about-hero p:not(.eyebrow),
  .team-hero p:not(.eyebrow) {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: .98rem;
    line-height: 1.58;
  }

  .eyebrow {
    letter-spacing: .12em;
    font-size: .68rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .button-primary,
  .button-secondary,
  .wp-block-button,
  .wp-block-button__link {
    width: 100%;
  }

  .button-primary,
  .button-secondary,
  .wp-block-button__link {
    min-height: 44px;
    padding: 0 16px;
    text-align: center;
    white-space: normal;
  }

  .partner-row {
    gap: 8px;
    margin-top: 24px;
    font-size: .76rem;
  }

  .partner-row span {
    display: inline-flex;
    padding: 6px 9px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
  }

  .partner-row span + span {
    border-left: 1px solid rgba(255,255,255,.15);
    padding-left: 9px;
  }

  .hero-logo-wrap,
  .services-logo-panel,
  .about-logo-panel,
  .team-logo-panel {
    min-height: 164px;
    place-items: center;
  }

  .hero-logo-glow {
    width: 210px;
    height: 210px;
    filter: blur(48px);
  }

  .hero-logo,
  .hero-logo-wrap .hero-logo,
  .services-logo-panel .hero-logo,
  .about-logo-panel .hero-logo,
  .team-logo-panel .hero-logo {
    width: min(170px, 52vw);
  }

  .hero-logo-wrap:after,
  .floating-icons,
  .services-floating-icons {
    display: none !important;
  }

  .section,
  .team-members,
  .content-band,
  .about-values,
  .clients,
  .dark-band {
    padding-top: 34px;
    padding-bottom: 44px;
  }

  .services-editor-content,
  .home-editor-content,
  .about-editor-content,
  .team-editor-content,
  .single-service-content {
    padding-top: 28px;
    padding-bottom: 42px;
  }

  .editable-page .wp-block-group.dark-band,
  .editable-page .wp-block-group.services-overview,
  .editable-page .wp-block-group.service-fit,
  .editable-page .wp-block-group.services-cta,
  .editable-page .wp-block-group.content-band,
  .editable-page .wp-block-group.adoption-pillars,
  .editable-page .wp-block-group.adoption-outcomes {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 14px;
    padding-right: 14px;
  }

  .section-head {
    text-align: left;
    margin-bottom: 18px;
  }

  .section-head h2,
  .split-content h2,
  .single-service-layout h2,
  .cta-card h2,
  .client-grid h2,
  .why-grid h2 {
    font-size: clamp(1.72rem, 8.2vw, 2.28rem);
    line-height: 1.12;
    letter-spacing: -.035em;
  }

  .split-content,
  .single-service-layout,
  .why-grid,
  .client-grid {
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  .services-grid,
  .content-grid,
  .outcome-grid,
  .process-grid,
  .faq-grid,
  .proof-grid,
  .stat-grid,
  .value-grid,
  .team-grid,
  .expertise-strip {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .service-card,
  .content-card,
  .process-card,
  .faq-card,
  .proof-card,
  .stat-card,
  .team-card,
  .service-summary-card,
  .value-card {
    min-height: auto;
    padding: 20px 18px;
    border-radius: 9px;
  }

  .service-card h3,
  .content-card h3,
  .process-card h3,
  .faq-card h3,
  .proof-card h3 {
    font-size: 1.05rem;
    line-height: 1.25;
  }

  .service-card p,
  .content-card p,
  .process-card p,
  .faq-card p,
  .proof-card p,
  .services-editor-content p,
  .services-editor-content li,
  .single-service-layout p,
  .split-content p {
    font-size: .94rem;
    line-height: 1.58;
  }

  .quote-card {
    min-height: auto;
    padding: 24px 18px;
  }

  .quote-mark {
    position: static;
    display: block;
    margin-bottom: 4px;
    font-size: 3rem;
  }

  .quote-card p {
    margin-left: 0;
    font-size: .96rem;
  }

  .cta-card {
    padding: 34px 18px;
    border-radius: 12px;
    text-align: left;
  }

  .cta-card .wp-block-buttons {
    justify-content: stretch !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .site-footer {
    padding: 30px 0 22px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .footer-legal-menu {
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 22px, 1124px);
  }

  .brand {
    font-size: 1rem;
  }

  .nav-menu a {
    padding: 0 9px;
    font-size: .72rem;
  }

  .hero h1,
  .services-hero h1,
  .about-hero h1,
  .team-hero h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }
}
