/* ==========================================================================
   WEBTECH SPACE CENTRE — Corporate Enterprise (TCS-inspired)
   Clean, professional, photography-led. Navy + teal + warm coral.
   ========================================================================== */

:root {
  --bg:           #ffffff;
  --bg-alt:       #f5f7fa;
  --bg-dark:      #0a2540;
  --bg-darker:    #061a30;
  --line:         #e3e8ef;
  --line-strong:  #c9d2dd;

  --fg:           #0a2540;
  --fg-2:         #4a5568;
  --fg-mute:      #6b7785;
  --fg-light:     #ffffff;
  --fg-light-2:   #c9d2dd;

  --primary:      #0a2540;
  --primary-2:    #1e3a5f;
  --accent:       #00a8b5;
  --accent-dark:  #008691;
  --accent-light: #e0f4f6;
  --highlight:    #ff6a55;
  --highlight-dark: #e6543f;

  --font-display: "Manrope", -apple-system, sans-serif;
  --font-body:    "Source Sans 3", -apple-system, sans-serif;

  --max:    1320px;
  --gutter: 1.5rem;
  --gutter-lg: 2rem;

  --r-sm: 4px;
  --r:    8px;
  --r-lg: 16px;
  --shadow:    0 4px 12px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 37, 64, 0.12);
  --shadow-xl: 0 24px 60px rgba(10, 37, 64, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
em { font-style: normal; }
::selection { background: var(--accent); color: white; }

/* layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
@media (min-width: 1024px) {
  .wrap { padding-left: var(--gutter-lg); padding-right: var(--gutter-lg); }
}
.section { padding: 4.5rem 0; }
@media (min-width: 1024px) { .section { padding: 6.5rem 0; } }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--fg-light); }
.section--dark p { color: var(--fg-light-2); }

/* type */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--fg);
}
.section--dark .display { color: var(--fg-light); }
.h-xl { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.h-lg { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2.25rem); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section--dark .eyebrow { color: var(--accent); }

.lede {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 680px;
}
.section--dark .lede { color: var(--fg-light-2); }
.prose { color: var(--fg-2); line-height: 1.65; }
.prose strong { color: var(--fg); font-weight: 600; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.65rem;
  background: var(--highlight);
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 0;
  transition: all 200ms ease;
  cursor: pointer;
}
.btn::after { content: "→"; transition: transform 200ms ease; }
.btn:hover {
  background: var(--highlight-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 106, 85, 0.32);
}
.btn:hover::after { transform: translateX(3px); }
.btn--primary { background: var(--primary); color: white; }
.btn--primary:hover { background: var(--primary-2); box-shadow: 0 8px 20px rgba(10, 37, 64, 0.25); }
.btn--ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn--ghost:hover { background: var(--primary); color: white; }
.section--dark .btn--ghost,
.hero .btn--ghost,
.longrun .btn--ghost,
.careers .btn--ghost { color: white; border-color: white; }
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.longrun .btn--ghost:hover,
.careers .btn--ghost:hover { background: white; color: var(--primary); }
.btn--accent { background: var(--accent); color: white; }
.btn--accent:hover { background: var(--accent-dark); box-shadow: 0 8px 20px rgba(0, 168, 181, 0.32); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: all 180ms ease;
}
.btn-link::after { content: "→"; transition: transform 180ms ease; }
.btn-link:hover { color: var(--primary); border-color: var(--accent); }
.btn-link:hover::after { transform: translateX(3px); }
.section--dark .btn-link { color: var(--accent); }
.section--dark .btn-link:hover { color: white; border-color: white; }

/* utility bar */
.utility {
  background: var(--primary);
  color: white;
  font-size: 0.82rem;
  padding: 0.55rem 0;
}
.utility__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.utility__cluster { display: inline-flex; gap: 1.5rem; align-items: center; }
.utility__cluster a { color: white; opacity: 0.9; transition: opacity 180ms ease; }
.utility__cluster a:hover { opacity: 1; color: var(--accent); }
.utility__sep { opacity: 0.4; }

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.nav__logo {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}
.nav__logo svg, .nav__logo img {
  width: 100%;
  height: 100%;
  display: block;
}
.nav__logo::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 200ms ease, transform 200ms ease;
}
.nav__brand:hover .nav__logo::after { opacity: 0.5; transform: scale(1); }
.nav__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--primary);
}
.nav__name small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  margin-top: 0.2rem;
  font-weight: 500;
  text-transform: uppercase;
}
/* Slogan variant of the navbar subtitle — italic, mixed case, coral accent.
   Reads as a brand promise rather than a category label. */
.nav__name small.nav__slogan-inline {
  font-style: italic;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.005em;
  color: var(--accent-dark);
  text-transform: none;
  margin-top: 0.25rem;
  line-height: 1.25;
}
@media (max-width: 720px) {
  .nav__name small.nav__slogan-inline {
    font-size: 0.7rem;
  }
}
.nav__links { display: none; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .nav__links { display: flex; } }
.nav__link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg);
  padding: 0.5rem 0;
  transition: color 180ms ease;
  position: relative;
}
.nav__link:hover, .nav__link.is-active { color: var(--accent-dark); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--accent);
}
.nav__actions { display: inline-flex; gap: 1rem; align-items: center; }

/* mega menu */
.nav__mega-trigger { cursor: pointer; }
.nav__mega-trigger::after {
  content: " ▾";
  font-size: 0.75em;
  margin-left: 0.25rem;
}
.nav__mega { position: relative; }
.nav__mega-panel {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(1180px, 94vw);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 2.25rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  z-index: 90;
}
.nav__mega:hover .nav__mega-panel,
.nav__mega:focus-within .nav__mega-panel {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__mega-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.nav__mega-col ul { display: grid; gap: 0.65rem; }
.nav__mega-col a {
  display: block;
  color: var(--fg);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  transition: color 180ms ease, padding 180ms ease;
}
.nav__mega-col a:hover {
  color: var(--accent-dark);
  padding-left: 0.4rem;
}

/* mobile toggle */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line-strong);
  padding: 0.5rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: var(--r-sm);
}
@media (min-width: 1024px) { .nav__toggle { display: none; } }
.nav__mobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.nav__mobile.is-open { display: block; }
.nav__mobile a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a:last-child { border: 0; }
.nav__mobile a:hover { color: var(--accent-dark); }

/* hero carousel */
.hero {
  position: relative;
  min-height: 600px;
  background: var(--primary);
  color: white;
  overflow: hidden;
}
@media (min-width: 1024px) { .hero { min-height: 660px; } }
.hero__slides {
  position: relative;
  width: 100%;
  min-height: inherit;
}
.hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  transition: opacity 800ms ease;
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__slide-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero__slide-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.hero__slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.55) 60%, rgba(10, 37, 64, 0.25) 100%);
}
.hero__slide-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  max-width: 720px;
}
.hero__slide-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(0, 168, 181, 0.5);
  border-radius: 999px;
  background: rgba(0, 168, 181, 0.1);
}
.hero__slide-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: white;
  margin: 0 0 1.5rem;
}
.hero__slide-title em { color: var(--accent); font-style: normal; }
.hero__slide-lede {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--fg-light-2);
  line-height: 1.55;
  margin: 0 0 2rem;
  max-width: 580px;
}
.hero__slide-cta { display: inline-flex; gap: 1rem; flex-wrap: wrap; }
.hero__dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
}
.hero__dot {
  width: 32px; height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  cursor: pointer;
  transition: background 200ms ease;
  border-radius: 2px;
}
.hero__dot.is-active { background: var(--accent); }
.hero__nav {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 37, 64, 0.4);
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 200ms ease;
  backdrop-filter: blur(8px);
}
.hero__nav:hover { background: var(--accent); border-color: var(--accent); }
.hero__nav--prev { left: 1.25rem; }
.hero__nav--next { right: 1.25rem; }
@media (max-width: 768px) { .hero__nav { display: none; } }

/* whats new */
.whatsnew { padding: 4rem 0; }
.whatsnew__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.whatsnew__head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--primary);
}
.whatsnew__head h2::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--highlight);
  vertical-align: middle;
  margin-right: 0.85rem;
  margin-bottom: 0.2rem;
}
.whatsnew__track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .whatsnew__track { grid-template-columns: repeat(4, 1fr); }
}
.newscard {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 250ms ease;
}
.newscard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}
.newscard__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}
.newscard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.newscard:hover .newscard__media img { transform: scale(1.04); }
.newscard__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.newscard__date {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  text-transform: uppercase;
}
.newscard__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.newscard__desc {
  font-size: 0.92rem;
  color: var(--fg-2);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.newscard__more {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-top: 0.5rem;
}
.newscard__more::after { content: " →"; }

/* solution tiles */
.solutions__head { margin-bottom: 3rem; max-width: 720px; }
.solutions__head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 0.75rem;
  color: var(--primary);
}
.solutions__head h2 em { color: var(--accent-dark); font-style: normal; }
.solutions__head p {
  font-size: 1.1rem;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0;
  max-width: 600px;
}
.solutions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .solutions__grid { grid-template-columns: repeat(3, 1fr); }
}
.soltile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 300ms ease;
  cursor: pointer;
  min-height: 360px;
}
.soltile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.soltile__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.soltile__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.soltile:hover .soltile__media img { transform: scale(1.05); }
.soltile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.0) 0%, rgba(10, 37, 64, 0.4) 50%, rgba(10, 37, 64, 0.95) 100%);
}
.soltile__body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 2rem 1.75rem;
  color: white;
}
.soltile__label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.soltile__title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.6rem;
  color: white;
}
.soltile__desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.soltile__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}
.soltile__cta::after { content: "→"; transition: transform 200ms ease; }
.soltile:hover .soltile__cta::after { transform: translateX(4px); }

/* customer stories */
.stories__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.stories__head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 0;
}
.stories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .stories__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stories__grid { grid-template-columns: repeat(3, 1fr); } }
.storycard {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 250ms ease;
}
.storycard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.storycard__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}
.storycard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.storycard:hover .storycard__media img { transform: scale(1.04); }
.storycard__industry {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}
.storycard__body {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.storycard__client {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.storycard__outcome {
  color: var(--fg-2);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
}
.storycard__metric {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
}
.storycard__metric strong {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: -0.02em;
}
.storycard__metric span {
  font-size: 0.85rem;
  color: var(--fg-mute);
}

/* events */
.events__head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--primary);
}
.events__head h2 em { color: var(--accent-dark); font-style: normal; }
.events__head p {
  font-size: 1.1rem;
  color: var(--fg-2);
  margin: 0 0 3rem;
  max-width: 600px;
}
.event {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.event:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 768px) {
  .event { grid-template-columns: 110px 1fr 1fr auto; gap: 2rem; }
}
.event__date { font-family: var(--font-display); }
.event__date strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.event__date span {
  display: block;
  font-size: 0.85rem;
  color: var(--fg-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  font-weight: 600;
}
.event__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  letter-spacing: -0.01em;
}
.event__loc {
  color: var(--fg-2);
  font-size: 0.95rem;
  margin: 0;
}
.event:hover .event__title { color: var(--accent-dark); }
.event__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-dark);
}
.event__cta::after { content: "→"; transition: transform 200ms ease; }
.event:hover .event__cta::after { transform: translateX(3px); }

/* spotlight */
.spotlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .spotlight { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .spotlight { grid-template-columns: repeat(4, 1fr); } }
.spotcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  min-height: 320px;
  transition: all 250ms ease;
}
.spotcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.spotcard__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.spotcard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.spotcard:hover .spotcard__media img { transform: scale(1.04); }
.spotcard__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.spotcard__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.spotcard__desc {
  color: var(--fg-2);
  font-size: 0.95rem;
  margin: 0 0 1rem;
  line-height: 1.5;
  flex: 1;
}
.spotcard__more {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent-dark);
}
.spotcard__more::after { content: " →"; }

/* careers */
.careers {
  position: relative;
  background: var(--bg-dark);
  color: white;
  overflow: hidden;
}
.careers__bg { position: absolute; inset: 0; z-index: 1; }
.careers__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(1.1);
}
.careers__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.6) 100%);
}
.careers__inner {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .careers__inner { grid-template-columns: 5fr 4fr; padding: 8rem 0; }
}
.careers__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: white;
  margin: 0 0 1.5rem;
}
.careers__title em { color: var(--accent); font-style: normal; }
.careers__lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--fg-light-2);
  line-height: 1.55;
  margin: 0 0 2rem;
  max-width: 520px;
}
.careers__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.careers__stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  padding: 1.5rem;
}
.careers__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.careers__stat span {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.92rem;
  color: var(--fg-light-2);
  font-weight: 500;
}

/* longrun cta */
.longrun {
  background: var(--bg-dark);
  color: white;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.longrun::before, .longrun::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 1;
}
.longrun::before {
  width: 400px; height: 400px;
  background: var(--accent);
  top: -100px; left: -100px;
}
.longrun::after {
  width: 300px; height: 300px;
  background: var(--highlight);
  bottom: -100px; right: -100px;
}
.longrun__inner { position: relative; z-index: 2; }
.longrun__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 1.5rem;
  color: white;
}
.longrun__title em { color: var(--accent); font-style: normal; }
.longrun__lede {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  color: var(--fg-light-2);
  margin: 0 auto 2.5rem;
  max-width: 720px;
  line-height: 1.5;
}
.longrun__cta { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* footer */
/* ==========================================================================
   FOOTER — refined layout with separate contact strip
   ========================================================================== */
.footer {
  background: var(--bg-darker);
  color: white;
  padding: 4rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle radial accent in the top-left corner */
.footer::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0, 168, 181, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Top: brand + 4 link columns (5 columns total on desktop) ---- */
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  position: relative;
}
@media (min-width: 720px) {
  .footer__top { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}
@media (min-width: 1024px) {
  .footer__top {
    grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
    gap: 3.5rem;
  }
}

.footer__brand h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.85rem;
  color: white;
  letter-spacing: -0.01em;
}
.footer__brand p {
  color: var(--fg-light-2);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  max-width: 320px;
}
.footer__social {
  display: flex;
  gap: 0.5rem;
}
.footer__social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.78);
  transition: all 200ms ease;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.footer__social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
}

/* ---- Link columns ---- */
.footer__col h5 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.5rem;
  position: relative;
  padding-bottom: 0.65rem;
}
.footer__col h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 2px;
  background: var(--highlight);
  border-radius: 1px;
}
.footer__col ul {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__col a {
  color: var(--fg-light-2);
  font-size: 0.92rem;
  transition: color 180ms ease, transform 180ms ease;
  display: inline-block;
}
.footer__col a:hover {
  color: white;
  transform: translateX(2px);
}

/* ---- Contact strip (replaces the orphaned 'Get in touch') ---- */
.footer__contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.75rem;
}
@media (min-width: 720px) {
  .footer__contact { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.footer__contact-cell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.footer__contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 168, 181, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
}
.footer__contact-icon svg {
  width: 18px;
  height: 18px;
}
.footer__contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.footer__contact-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-light-2);
}
.footer__contact-value {
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
}
.footer__contact-value a {
  color: white;
  transition: color 180ms ease;
}
.footer__contact-value a:hover { color: var(--accent); }
.footer__contact-sub {
  font-size: 0.78rem;
  color: var(--fg-light-2);
  margin-top: 0.1rem;
}

/* ---- Bottom bar: copyright + legal ---- */
.footer__bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--fg-light-2);
}
/* Reserve space below the bottom strip so Agastya does not overlap the legal links */
@media (min-width: 640px) {
  .footer { padding-bottom: 5.5rem; }
}
.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__bottom-links a {
  color: var(--fg-light-2);
  transition: color 180ms ease;
}
.footer__bottom-links a:hover { color: var(--accent); }

/* page header */
.pageheader {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-2) 100%);
  color: white;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) { .pageheader { padding: 5.5rem 0 6.5rem; } }
.pageheader::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.18;
  top: -150px;
  right: -100px;
  z-index: 1;
  border-radius: 50%;
}
.pageheader__inner { position: relative; z-index: 2; max-width: 880px; }
.pageheader__crumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--fg-light-2);
  font-family: var(--font-display);
  font-weight: 500;
}
.pageheader__crumbs a:hover { color: var(--accent); }
.pageheader__crumbs span.sep { opacity: 0.5; }
.pageheader__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  color: white;
}
.pageheader__title em { color: var(--accent); font-style: normal; }
.pageheader__lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--fg-light-2);
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
}

/* capability cards */
.capgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .capgrid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .capgrid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .capgrid--4 { grid-template-columns: repeat(4, 1fr); } }
.capcard {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 250ms ease;
}
.capcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent-light);
}
.capcard__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--accent-light);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.capcard__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
  color: var(--primary);
}
.capcard__desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}

/* plus list */
.plus-list { display: grid; gap: 0.85rem; }
.plus-list li {
  display: flex;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--fg);
}
.plus-list li::before {
  content: "✓";
  color: var(--accent-dark);
  font-weight: 700;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-light);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}
.section--dark .plus-list li { color: var(--fg-light); }
.section--dark .plus-list li::before {
  background: rgba(0, 168, 181, 0.2);
  color: var(--accent);
}

/* process */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process--4 { grid-template-columns: repeat(4, 1fr); } }
.process__cell {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  position: relative;
  counter-increment: step;
}
.process__cell::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.1em;
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: var(--accent-light);
  border-radius: var(--r-sm);
  margin-bottom: 1rem;
}
.process__cell h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
  color: var(--primary);
}
.process__cell p {
  font-size: 0.95rem;
  color: var(--fg-2);
  margin: 0;
  line-height: 1.55;
}

/* outcomes */
.outcomes { display: grid; gap: 0; }
.outcomes li {
  display: flex; gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--fg);
}
.outcomes li::before {
  content: "→";
  color: var(--accent-dark);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1.2rem;
}

/* sec head */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}
.sec-head__title { max-width: 720px; }
.sec-head__title h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
  color: var(--primary);
}
.sec-head__title h2 em { color: var(--accent-dark); font-style: normal; }
.sec-head__aside {
  font-size: 1rem;
  color: var(--fg-2);
  max-width: 380px;
  line-height: 1.55;
}
.section--dark .sec-head__title h2 { color: white; }
.section--dark .sec-head__aside { color: var(--fg-light-2); }

/* forms */
.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; gap: 0.5rem; }
.form__row--two { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form__row--two { grid-template-columns: 1fr 1fr; } }
.form label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}
.form input, .form select, .form textarea {
  background: white;
  border: 1.5px solid var(--line-strong);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--fg);
  width: 100%;
  border-radius: var(--r-sm);
  transition: border-color 180ms, box-shadow 180ms;
}
.form input::placeholder, .form textarea::placeholder { color: var(--fg-mute); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 168, 181, 0.12);
}
.form textarea { min-height: 140px; resize: vertical; }
.form select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%230a2540' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form__success {
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--accent);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  display: none;
  font-weight: 600;
}
.form__success::before { content: "✓ "; font-weight: 700; }
.form__success.is-shown { display: block; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  color: var(--fg-2);
  background: white;
  border-radius: 999px;
}
.chip:hover { color: var(--accent-dark); border-color: var(--accent); }

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(0.2, 0.6, 0.2, 1),
              transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide { transition: none; }
}

/* split */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* image card */
.imgcard {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}
.imgcard__media { width: 100%; display: block; object-fit: cover; }
.imgcard__media--wide { aspect-ratio: 16 / 8; }
.imgcard__media--five-four { aspect-ratio: 5 / 4; }
.imgcard__media--square { aspect-ratio: 1 / 1; }

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats__cell {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__cell:nth-child(2n) { border-right: 0; }
@media (min-width: 768px) {
  .stats__cell { border-bottom: 0; }
  .stats__cell:nth-child(2n) { border-right: 1px solid var(--line); }
  .stats__cell:last-child { border-right: 0; }
}
.stats__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--accent-dark);
}
.stats__label {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: var(--fg-mute);
  font-weight: 500;
}
.section--dark .stats__cell { border-color: rgba(255, 255, 255, 0.1); }
.section--dark .stats__num { color: var(--accent); }
.section--dark .stats__label { color: var(--fg-light-2); }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* ==========================================================================
   ANIMATED SVG SCENES — replace <img> placeholders with inline animated SVG
   ========================================================================== */
.anim-svg {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* Containers that hold an animated SVG need positioning context */
.newscard__media,
.storycard__media,
.spotcard__media,
.imgcard__media,
.pageheader__media {
  position: relative;
  overflow: hidden;
}

/* For image-aspect-ratio cards, give them an explicit dimension since SVG fills via absolute */
.newscard__media,
.storycard__media,
.spotcard__media {
  width: 100%;
}

/* Hero slide BG svg should sit above the gradient or below the dark overlay */
.hero__slide-bg .anim-svg { z-index: 0; }
.hero__slide-bg::after { z-index: 1; }

/* Solution tile bg overlay should sit above the SVG */
.soltile__media .anim-svg { z-index: 0; }
.soltile__media::after { z-index: 1; }

/* Careers bg */
.careers__bg .anim-svg { z-index: 0; }
.careers__bg::after { z-index: 1; }

/* Pause animations on prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .anim-svg * {
    animation-play-state: paused !important;
  }
  .anim-svg animateMotion,
  .anim-svg animate,
  .anim-svg animateTransform {
    /* SMIL doesn't honor CSS pause; we hope the user agent does the right thing.
       Falling back to a static frame via CSS is hard, so this is best-effort. */
  }
}

/* ==========================================================================
   LINK STATES on cards — when the inner CTAs are <a> tags (not the whole card)
   ========================================================================== */
a.newscard__more,
a.spotcard__more,
a.event__cta {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 180ms ease, gap 180ms ease;
}
a.newscard__more:hover,
a.spotcard__more:hover,
a.event__cta:hover {
  color: var(--primary);
  gap: 0.6rem;
}
a.newscard__more::after,
a.spotcard__more::after { transition: transform 200ms ease; }
a.newscard__more:hover::after,
a.spotcard__more:hover::after { transform: translateX(3px); }

/* Also keep the cursor as a pointer on the entire card hover for visual feedback,
   but only the link itself navigates */
.newscard:hover .newscard__more,
.storycard:hover .newscard__more,
.spotcard:hover .spotcard__more {
  color: var(--primary);
}

/* ==========================================================================
   SERVICES HERO PANEL — replaces events section on homepage
   3 large cards with animated SVG, eyebrow, title, description, bullet list, CTA
   ========================================================================== */
.services__head {
  max-width: 760px;
  margin: 0 0 3rem 0;
}
.services__head .eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
}
.services__head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 0 0 1rem 0;
}
.services__head h2 em {
  font-style: normal;
  color: var(--accent-dark);
}
.services__head p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--fg-mute);
  margin: 0;
}

.services-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 1100px) {
  .services-hero { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .services-hero { grid-template-columns: 1fr; }
}

.srvcard {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(10, 37, 64, 0.06), 0 8px 24px rgba(10, 37, 64, 0.05);
  transition: box-shadow 240ms ease, transform 240ms ease;
}
.srvcard:hover {
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.1), 0 16px 40px rgba(10, 37, 64, 0.08);
  transform: translateY(-3px);
}
.srvcard__media {
  position: relative;
  width: 100%;
  aspect-ratio: 540 / 320;
  overflow: hidden;
  background: var(--primary);
}
.srvcard__body {
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.srvcard__eyebrow {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.6rem;
}
.srvcard__title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  margin: 0 0 0.85rem 0;
  letter-spacing: -0.01em;
}
.srvcard__desc {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--fg-mute);
  margin: 0 0 1.1rem 0;
}
.srvcard__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem 0;
}
.srvcard__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  color: var(--fg);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.srvcard__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent);
  border-radius: 50%;
}
.srvcard__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-dark);
  text-decoration: none;
  transition: color 180ms ease, gap 180ms ease;
}
.srvcard__cta::after {
  content: "→";
  display: inline-block;
  transition: transform 180ms ease;
}
.srvcard:hover .srvcard__cta {
  color: var(--primary);
}
.srvcard:hover .srvcard__cta::after {
  transform: translateX(4px);
}

.services-hero__footer {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 1rem;
  color: var(--fg-mute);
}
.services-hero__footer a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}
.services-hero__footer a:hover {
  color: var(--primary);
}

/* ==========================================================================
   LONGRUN BACKGROUND — global constellation
   Sits between the section's pseudo-element glow blobs and the content
   ========================================================================== */
.longrun__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.longrun__bg .anim-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.longrun__bg { opacity: 0.7; }

/* Disable the old glow blobs — the constellation provides the atmosphere now */
.longrun::before, .longrun::after {
  display: none;
}

/* Center vignette darkens the headline zone so the constellation
   doesn't compete with text. Goes between bg and content. */
.longrun__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 50% 50%,
      rgba(10, 37, 64, 0.92) 0%,
      rgba(10, 37, 64, 0.6) 35%,
      rgba(10, 37, 64, 0) 70%);
}
.longrun__inner { position: relative; z-index: 2; }

/* The existing ::before / ::after blurred glow blobs stay at z-index 1
   alongside the constellation. Source order means the constellation
   renders on top of them, which is what we want. */

/* ==========================================================================
   PAGE HEADER BACKGROUNDS — three reusable atmospheric motifs
   Sit between the existing pageheader::before glow blob and the content.
   ========================================================================== */
.pageheader__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.85;
}
.pageheader__bg .anim-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* When imgcard contains an inline SVG instead of <img>, hold the aspect ratio
   on the imgcard itself */
.imgcard.imgcard--five-four { aspect-ratio: 5 / 4; }
.imgcard.imgcard--wide { aspect-ratio: 16 / 8; }
.imgcard.imgcard--square { aspect-ratio: 1 / 1; }
.imgcard .anim-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   PAGE HEADER HERO — rich illustration on the right side of the banner
   Sits above the ambient pageheader__bg, behind the text content
   ========================================================================== */
.pageheader__hero {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.pageheader__hero .anim-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Soft fade on the left edge so hero blends into the dark background under the text */
.pageheader__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    var(--bg-dark) 0%,
    rgba(10, 37, 64, 0.95) 15%,
    rgba(10, 37, 64, 0.6) 35%,
    rgba(10, 37, 64, 0) 60%);
  z-index: 1;
}
.pageheader__hero .anim-svg { z-index: 0; }

/* On mobile, hide the hero illustration — it'd compete with the text */
@media (max-width: 900px) {
  .pageheader__hero { display: none; }
}

/* Limit the inner content width when there's a hero so text doesn't overlap */
.pageheader:has(.pageheader__hero) .pageheader__inner {
  max-width: 660px;
}

/* ==========================================================================
   SOLUTIONS — extra grid classes used on solutions/* detail pages
   ========================================================================== */
@media (min-width: 1024px) {
  .process--3 { grid-template-columns: repeat(3, 1fr); }
}
.capcard.capcard--compact {
  text-align: center;
  align-items: center;
}
.capcard.capcard--compact .capcard__icon {
  margin: 0 auto 0.75rem;
}
.capcard.capcard--compact .capcard__title {
  font-size: 1rem;
  margin: 0;
}

/* ==========================================================================
   REGIONAL PAGE EXTENSIONS — case-study cards, engagement timeline, FAQ
   ========================================================================== */

/* Feature case-study cards (used on regional pages) */
.capcard.capcard--feature {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid var(--line);
  background: white;
  position: relative;
  padding-top: 1.5rem;
}
.capcard.capcard--feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.6rem;
  right: 1.6rem;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 0 0 2px 2px;
}
.capcard__sector {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-dark);
  text-transform: uppercase;
}
.capcard__outcome {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
  font-size: 0.88rem;
  color: var(--fg-2);
  line-height: 1.5;
}
.capcard__outcome strong {
  color: var(--accent-dark);
  font-weight: 700;
  margin-right: 0.25rem;
}

/* Engagement timeline (process--region adds week labels above each step) */
.process--region .process__cell {
  position: relative;
  padding-top: 2.4rem;
}
.process__week {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--highlight);
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 106, 85, 0.08);
  border-radius: 4px;
}

/* FAQ accordion */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-left: auto;
  margin-right: auto;
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.faq__item[open] {
  border-color: rgba(0, 168, 181, 0.4);
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.06);
}
.faq__q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 180ms ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
  transition: transform 220ms ease;
  flex-shrink: 0;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__q:hover { color: var(--accent-dark); }
.faq__a {
  padding: 0 1.25rem 1.1rem;
  color: var(--fg-2);
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer__symbol {
  display: block;
  margin-bottom: 1rem;
}

/* ==========================================================================
   INSIGHTS PAGE — filter chips + grid (auto-generated by build_news.py)
   ========================================================================== */
.insights__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.insights__chip {
  background: white;
  border: 1.5px solid var(--line);
  color: var(--fg-2);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms ease;
}
.insights__chip:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}
.insights__chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.insights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.insights__card {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.insights__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(10, 37, 64, 0.08);
  border-color: rgba(0, 168, 181, 0.35);
}
.insights__card[hidden] { display: none; }

/* ==========================================================================
   BRAND SLOGAN — under-navbar strip + footer slogan line
   ========================================================================== */

/* Footer slogan — sits between the wordmark H4 and the descriptive paragraph.
   Italic, slightly larger than body, with a coral accent rule above. */
.footer__slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
  padding-top: 0.85rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.4;
}
.footer__slogan::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--highlight);
  border-radius: 1px;
}

@media (max-width: 720px) {
  .footer__slogan { font-size: 0.95rem; }
}
