/* =========================================================
   SHAIE — Landing Page
   Design tokens mapped from the Figma file (no Figma variables
   were defined, so these are derived from inspected values).
   ========================================================= */
:root {
  /* ---- Color palette ---- */
  --c-bg: #f6f6f6;
  --c-white: #ffffff;
  --c-ink: #000000;
  --c-navy: #0c2337;
  --c-text: #353535;
  --c-text-soft: #4a4a4a;
  --c-muted: #5a5a5a;
  --c-muted-2: #6c6c6c;
  --c-nav: #9a9a9a;

  --c-purple: #8b5cf6;
  --c-purple-deep: #7b2fbe;
  --c-indigo: #2305a5;
  --c-indigo-deep: #2f0f52;
  --c-pink: #ec4899;
  --c-rose: #f43f5e;
  --c-cyan: #0080b1;
  --c-teal: #2dd4bf;
  --c-blue: #3b82f6;

  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(0, 0, 0, 0.07);
  --card-bg: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.1);
  --header-border: rgba(65, 65, 65, 0.24);
  --glow-warm: #ffeddb;

  /* ---- Typography ---- */
  --font-display: 'Raleway', sans-serif;
  --font-ui: 'Inter', sans-serif;
  --font-syne: 'Syne', sans-serif;
  --font-manrope: 'Manrope', sans-serif;

  --fs-display: clamp(2.5rem, 1.4rem + 4.9vw, 4rem);   /* 64px */
  --fs-h2: clamp(2rem, 1.2rem + 3.6vw, 3.5rem);        /* 56px */
  --fs-h2-lg: clamp(2.25rem, 1.3rem + 4.2vw, 4rem);    /* 64px */
  --fs-h3: clamp(1.5rem, 1.2rem + 1.3vw, 1.875rem);    /* 30px */
  --fs-h4: 1.5rem;                                     /* 24px */
  --fs-lead: clamp(1.25rem, 1rem + 1.1vw, 1.5rem);     /* 24px */
  --fs-md: 1.25rem;                                    /* 20px */
  --fs-base: 1rem;                                     /* 16px */
  --fs-sm: 0.875rem;                                   /* 14px */
  --fs-xs: 0.75rem;                                    /* 12px */

  /* ---- Spacing scale ---- */
  --sp-1: 0.5rem;    /* 8  */
  --sp-2: 1rem;      /* 16 */
  --sp-3: 1.5rem;    /* 24 */
  --sp-4: 2rem;      /* 32 */
  --sp-5: 2.5rem;    /* 40 */
  --sp-6: 3.5rem;    /* 56 */
  --sp-7: 4rem;      /* 64 */
  --sp-8: 6rem;      /* 96 */

  /* ---- Radius / layout ---- */
  --radius-card: 2.5rem;   /* 40px */
  --radius-btn: 0.7rem;    /* ~11px */
  --radius-pill: 999px;
  --maxw: 1240px;
  --header-h: 88px;
}

/* ---- Reset ---- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-display);
  background: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 { line-height: 1.1; font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--c-purple);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.04em;
  border-radius: var(--radius-btn);
  cursor: pointer;
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}
.btn .btn-arrow { width: 1.1em; height: 1.1em; transition: transform 0.2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-light {
  background: var(--c-white);
  color: var(--c-navy);
  font-size: 1.024rem;
  padding: 0.82rem;
  border-radius: 9.8px;
  gap: 0.41rem;
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.45); }

.btn-dark {
  position: relative;
  isolation: isolate;
  background: var(--c-ink);
  color: var(--c-white);
  font-size: 0.94rem;
  padding: 0.82rem;
  border-radius: 9px;
  box-shadow: inset 0 1px 14px 0 rgba(255, 237, 219, 0.45),
              inset 0 1px 3px 0 rgba(255, 237, 219, 0.55);
}
.btn-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("assets/btn-texture.png") top left / 280px 280px;
  mix-blend-mode: plus-lighter;
  opacity: 0.4;
  z-index: -1;
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 16px 0 rgba(255, 237, 219, 0.6),
              inset 0 1px 4px 0 rgba(255, 237, 219, 0.7),
              0 12px 30px -10px rgba(0, 0, 0, 0.6);
}

.btn-purple {
  position: relative;
  isolation: isolate;
  color: var(--c-ink);
  font-size: 1.14rem;
  padding: 0.8rem 0.92rem;
  background: rgba(123, 47, 190, 0.6);
  box-shadow: inset 0 0 4px 0 rgba(255, 237, 219, 0.5),
              inset 0 1px 16px 0 rgba(255, 237, 219, 0.25);
}
.btn-purple::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("assets/btn-texture.png") top left / 280px 280px;
  mix-blend-mode: overlay;
  opacity: 0.5;
  z-index: -1;
}
.btn-purple:hover {
  transform: translateY(-2px);
  background: rgba(123, 47, 190, 0.78);
  box-shadow: inset 0 0 4px 0 rgba(255, 237, 219, 0.6),
              inset 0 1px 16px 0 rgba(255, 237, 219, 0.35),
              0 14px 32px -12px rgba(123, 47, 190, 0.7);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: clamp(0.85rem, 0.1rem + 2.6vw, 3.84rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(1185px, calc(100% - 2.5rem));
  z-index: 100;
  background: var(--header-bg);
  border: 1px solid var(--header-border);
  border-radius: 15.6px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 34px -16px rgba(0, 0, 0, 0.5);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px -14px rgba(20, 12, 40, 0.18);
}
.site-header.is-scrolled .logo img { filter: invert(1) brightness(0.18); }
.site-header.is-scrolled .nav-link {
  color: #3a3a3a;
  opacity: 1;
  text-shadow: none;
}
.site-header.is-scrolled .nav-link:hover { color: var(--c-purple); }
.site-header.is-scrolled .nav-link.is-active {
  color: #111;
  text-shadow: none;
}
.site-header.is-scrolled .nav-toggle span { background: #2a2532; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
}
.logo { display: flex; align-items: center; transition: opacity 0.2s ease; }
.logo img { height: 34px; width: auto; }
.logo:hover { opacity: 0.82; }

.main-nav { display: flex; align-items: center; gap: clamp(1.25rem, 0.3rem + 2.4vw, 3.5rem); }
.nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--c-white);
  opacity: 0.92;
  position: relative;
  padding: 0.25rem 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: color 0.2s ease, opacity 0.2s ease, text-shadow 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--c-purple);
  transition: width 0.25s ease;
}
.nav-link:hover { color: var(--c-white); opacity: 1; }
.nav-link:hover::after { width: 100%; }
.nav-link.is-active {
  color: var(--c-white);
  opacity: 1;
  font-weight: 700;
  text-shadow: 0 3px 4px rgba(0, 0, 0, 0.25);
}

.header-cta {
  flex-shrink: 0;
  font-size: 1.148rem; /* Figma: 18.37px */
  padding: 0.62rem 0.9rem; /* → ~44px tall, Figma 44.09px */
  border-radius: 11px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0 0 auto 0;
  top: 0;
  z-index: 90;
  padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
  background: rgba(12, 12, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-menu .nav-link {
  font-size: 1.25rem;
  color: var(--c-white);
  opacity: 0.9;
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu .nav-link::after { display: none; }
.mobile-menu .btn { margin-top: 1rem; justify-content: center; font-size: 1.05rem; padding: 1rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 4rem) 1.5rem 8.5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 8, 14, 0.45) 0%, rgba(6, 8, 14, 0.2) 40%, rgba(6, 8, 14, 0.6) 100%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
  max-width: 955px;
  text-align: center;
  color: var(--c-white);
}
.hero-text { display: flex; flex-direction: column; gap: var(--sp-3); }
.hero-text h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 1;
  letter-spacing: -0.05em;
}
.hero-text p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-lead);
  line-height: 1.18;
  letter-spacing: -0.05em;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.hero-logos {
  position: absolute;
  bottom: clamp(2rem, 0.8rem + 3.5vw, 5rem);
  left: 0;
  width: 100%;
  overflow: hidden;
  /* Fade the logos in/out at both edges of the strip. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-marquee 130s linear infinite;
}
/* Two identical halves -> translateX(-50%) advances exactly one set, seamlessly. */
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-track:hover { animation-play-state: paused; }
.logo-track img {
  height: clamp(26px, 1.1rem + 1vw, 40px);
  width: auto;
  margin-right: clamp(2.25rem, 1rem + 3.2vw, 5rem);
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

/* =========================================================
   RESPONSIVE — Header & Hero
   ========================================================= */
@media (max-width: 860px) {
  .main-nav,
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { padding: 0.6rem 0.6rem 0.6rem 1rem; }
}

@media (max-width: 600px) {
  .hero { padding-bottom: 11rem; }
}

/* =========================================================
   SHARED — section heading / eyebrow
   ========================================================= */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem; /* Figma: 20px */
  font-weight: 700;
  line-height: 1;
  color: var(--c-purple);
  text-transform: uppercase;
}
.eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--c-purple);
  flex-shrink: 0;
}
.eyebrow-center { justify-content: center; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
  margin-bottom: var(--sp-8);
}
.section-head-main { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 616px; }
.section-head-main h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2-lg);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ink);
}
.section-head-side {
  max-width: 320px;
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1.2;
  color: var(--c-muted-2);
  padding-bottom: 0.4rem;
}

/* =========================================================
   WHO WE ARE
   ========================================================= */
.who {
  padding: clamp(3.5rem, 2rem + 6vw, 7rem) 0 clamp(4rem, 2rem + 7vw, 8.4rem);
}
.who .container { max-width: 1320px; }
.who-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: clamp(1rem, 0.3rem + 1.5vw, 1.5rem);
  align-items: center;
}
.who-intro { display: flex; flex-direction: column; }
.who-intro h2 {
  margin-top: var(--sp-3); /* Figma: 24px eyebrow→h2 */
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ink);
}
.who-lead {
  margin-top: clamp(2.5rem, 1rem + 4vw, 4.7rem); /* Figma: 75px */
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); /* 36px */
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ink);
}
.who-lead .accent {
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.who-body {
  margin-top: var(--sp-4); /* Figma: 32px */
  font-size: var(--fs-md); /* 20px */
  font-weight: 500;
  line-height: 1.2;
  color: var(--c-muted);
}

.who-cards {
  display: flex;
  flex-direction: column;
  gap: 36px; /* Figma: 36px */
}
.mv-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 276px; /* Figma: 276px */
  background: var(--card-bg);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-card); /* 40px */
  padding: 40px; /* Figma: 40px */
  box-shadow: 0 30px 60px -42px rgba(20, 12, 40, 0.25);
}
.mv-glow {
  position: absolute;
  width: 96px;
  height: 96px;
  top: -16px;
  right: -16px;
  border-radius: var(--radius-pill);
  filter: blur(20px);
  z-index: -1;
}
.mv-mission .mv-glow { background: rgba(139, 92, 246, 0.1); }
.mv-vision .mv-glow { background: rgba(236, 72, 153, 0.1); }
.mv-mission::before { /* rose gradient blur, bottom-left */
  content: "";
  position: absolute;
  width: 256px;
  height: 256px;
  left: -57px;
  top: calc(50% + 71px);
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(244, 63, 94, 0.25), rgba(244, 63, 94, 0) 70%);
  filter: blur(40px);
  opacity: 0.3;
  z-index: -1;
}
.mv-icon {
  display: flex;
  align-items: center;
  height: 28px;
}
.mv-icon img { height: auto; max-height: 28px; width: auto; }
.mv-card h3 {
  margin-top: 36px; /* Figma: icon→heading 36px */
  font-size: var(--fs-h3); /* 30px */
  font-weight: 700;
  line-height: 1.2; /* 36px */
}
.mv-mission h3 { font-family: var(--font-manrope); color: #1a1a1a; }
.mv-vision h3 { font-family: var(--font-display); color: var(--c-ink); }
.mv-card p {
  margin-top: 16px; /* Figma: heading→desc 16px */
  font-size: var(--fs-base); /* 16px */
  font-weight: 600;
}
.mv-mission p { line-height: 1.625; color: var(--c-text); }
.mv-vision p { line-height: 1.2; color: #212121; }

@media (max-width: 880px) {
  .who-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* =========================================================
   WHAT WE DO
   ========================================================= */
.what {
  position: relative;
  isolation: isolate;
  padding: clamp(3.5rem, 2rem + 5.5vw, 6.1rem) 0 clamp(3.5rem, 2rem + 6vw, 6.5rem);
  overflow: hidden;
}
.what .container { max-width: 1320px; } /* → 1240px inner */
.what::before { /* Background Shapes — layered glow ellipses */
  content: "";
  position: absolute;
  width: 820px;
  height: 760px;
  left: 50%;
  top: 38%;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(34, 4, 164, 0.16), transparent),
    radial-gradient(closest-side at 70% 60%, rgba(46, 14, 81, 0.18), transparent);
  filter: blur(60px);
  z-index: -1;
}
.what .section-head {
  margin-bottom: 64px; /* Figma: Title Section gap 64px */
  padding-inline: 25px; /* header is 1190px inset within the 1240 card row */
}
.what .section-head-main { max-width: 616px; }
.what .section-head-side {
  width: 301px;
  flex-shrink: 0;
  font-weight: 600; /* Figma: Raleway SemiBold */
  padding-bottom: 0;
}

.what-grid {
  display: grid;
  grid-template-columns: 394.67fr 402.67fr 410.67fr; /* Figma exact tracks */
  gap: 16px;
  align-items: stretch;
}
.svc-innovation { grid-column: 1 / span 2; }
.svc-strategic  { grid-column: 3; }
.svc-mna        { grid-column: 1; }
.svc-think      { grid-column: 2 / span 2; }

.svc-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-card); /* 40px */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px -32px rgba(24, 14, 48, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -30px rgba(24, 14, 48, 0.28);
}
.svc-card h3 {
  font-size: var(--fs-h4); /* 24px */
  font-weight: 700;
  line-height: 1.333; /* 32px */
  color: var(--c-ink);
}
.svc-card p {
  font-size: var(--fs-base); /* 16px */
  font-weight: 600;
  line-height: 1.2;
}
.svc-icon {
  display: flex;
  align-items: center;
  margin-bottom: 35.5px; /* Figma: icon→heading */
}
.svc-icon img { height: 28.5px; width: auto; }

/* --- Innovation Hubs (large) --- */
.svc-innovation { padding: 49px; border-color: rgba(0, 0, 0, 0.2); }
.svc-innovation h3 { font-size: var(--fs-h3); line-height: 1.2; } /* 30/36 */
.svc-innovation .svc-text { max-width: 448px; }
.svc-innovation .svc-text > p {
  margin-top: 16px;
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
  line-height: 1.556; /* 28px */
  color: var(--c-text);
}
.svc-list {
  margin-top: 16px;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 11.5px;
}
.svc-list li {
  position: relative;
  padding-left: 12px;
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.25; /* 20px */
  color: #404040;
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-purple);
}
.svc-bigicon {
  position: absolute;
  top: 0;
  right: 0;
  width: 158px;
  height: auto;
}

/* --- Strategic Matchmaking (small, rose) --- */
.svc-strategic {
  padding: 41px;
  border-color: rgba(244, 63, 94, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-strategic > p { margin-top: 8px; color: #535353; }
.svc-learn {
  margin-top: 15px;
  padding-top: 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--fs-xs); /* 12px */
  font-weight: 600;
  letter-spacing: 0.1em; /* 1.2px */
  color: var(--c-rose);
  transition: gap 0.2s ease;
}
.svc-learn img { width: 9px; height: 9px; }
.svc-learn:hover { gap: 0.85rem; }

/* --- M&A Advisory (small) --- */
.svc-mna { padding: 41px; }
.svc-mna > p { margin-top: 8px; color: #464646; }

/* --- Think Tanks (medium) --- */
.svc-think {
  padding: 41px 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 0.5rem + 3vw, 3rem); /* 48px */
}
.svc-iconbox {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: var(--c-indigo);
  flex-shrink: 0;
}
.svc-iconbox img { width: auto; height: 28.5px; }
.svc-think .svc-text { display: flex; flex-direction: column; gap: 8px; }
.svc-think .svc-text > p {
  margin-top: 0;
  line-height: 1.5; /* 24px */
  color: var(--c-muted);
}

@media (max-width: 920px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .section-head-side { max-width: 520px; padding-bottom: 0; }
  .what .section-head { padding-inline: 0; }
  .what .section-head-main,
  .what .section-head-side { max-width: 540px; width: auto; }
}
@media (max-width: 780px) {
  .what-grid { grid-template-columns: 1fr; }
  .svc-innovation,
  .svc-strategic,
  .svc-mna,
  .svc-think { grid-column: 1; }
  .svc-bigicon { width: 110px; opacity: 0.7; }
}
@media (max-width: 480px) {
  .svc-think { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .svc-innovation { padding: 32px; }
  .svc-strategic,
  .svc-mna { padding: 32px; }
  .svc-think { padding: 32px; }
  .svc-bigicon { width: 88px; }
}

/* =========================================================
   WHY SHAIE
   ========================================================= */
.why {
  position: relative;
  isolation: isolate;
  padding: clamp(3.5rem, 2rem + 5vw, 5.7rem) 0 clamp(5rem, 2rem + 9vw, 9rem);
  overflow: hidden;
}
.why .container { max-width: 1320px; } /* → 1240px inner */
.why .section-head { padding-inline: 16px; } /* header is 1208px inset */
.why .section-head-side {
  width: 319px;
  color: #444;
  padding-bottom: 0;
}
.why::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 540px;
  left: 38%;
  top: 30%;
  background: radial-gradient(circle, rgba(0, 128, 177, 0.22), rgba(0, 128, 177, 0) 70%);
  filter: blur(60px);
  z-index: -1;
}
.why::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 540px;
  left: 18%;
  top: 48%;
  background: radial-gradient(circle, rgba(35, 5, 165, 0.2), rgba(35, 5, 165, 0) 70%);
  filter: blur(60px);
  z-index: -1;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.adv-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 266.25px; /* Figma row-1 card height */
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-card); /* 40px */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px;
  box-shadow: 0 14px 36px -30px rgba(24, 14, 48, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px -30px rgba(24, 14, 48, 0.26);
}
.adv-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
}
.adv-icon img { width: auto; height: auto; max-width: 24px; max-height: 22px; }
.adv-icon-cyan { background: var(--c-cyan); }      /* #0080b1 */
.adv-icon-indigo { background: var(--c-indigo); }  /* #2305a5 */
.adv-icon-dark { background: #040308; }
.adv-icon-purple { background: rgba(139, 92, 246, 0.2); }
.adv-card h3 {
  margin-top: 24px; /* Figma: icon→heading */
  font-size: var(--fs-md); /* 20px */
  font-weight: 700;
  line-height: 1.4; /* 28px */
  color: var(--c-ink);
}
/* Card 2 (Public Sector) & Card 3 (Community DNA) titles use Manrope */
.why-grid > .adv-card:nth-child(2) h3,
.why-grid > .adv-card:nth-child(3) h3 { font-family: var(--font-manrope); }
.adv-card p {
  margin-top: 15px; /* Figma: heading→desc */
  font-size: var(--fs-base); /* 16px */
  font-weight: 600;
  line-height: 1.2;
  color: #4a4a4a;
}
/* Card 3 (Community DNA) description: Medium 14px */
.why-grid > .adv-card:nth-child(3) p { font-size: var(--fs-sm); font-weight: 500; }

.adv-card-wide {
  grid-column: span 2;
  min-height: 186px;
  padding: 41px;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 0.5rem + 3vw, 2.5rem); /* 40px */
}
.adv-iconbox {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: var(--c-indigo-deep); /* #2f0f52 */
  border: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}
.adv-iconbox img { width: 28.5px; height: auto; }
.adv-card-wide .adv-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.adv-card-wide h3 {
  margin-top: 0;
  font-size: var(--fs-h4); /* 24px */
  line-height: 1.333; /* 32px */
}
.adv-card-wide .adv-text p {
  margin-top: 0;
  max-width: 574px;
  color: #525252;
}

.adv-card-barrier {
  grid-column: span 1;
  min-height: 186px;
  padding: 41px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(114deg, rgba(139, 92, 246, 0.1) 1.5%, rgba(139, 92, 246, 0) 95%),
    rgba(255, 255, 255, 0.7);
}
.adv-barrier-top {
  display: flex;
  align-items: center;
  gap: 16px;
}
.adv-card-barrier .adv-icon { width: 40px; height: 40px; border-radius: 12px; }
.adv-card-barrier .adv-icon img { width: auto; height: 16px; max-width: none; max-height: none; }
.adv-card-barrier h3 {
  margin-top: 0;
  font-size: 1.125rem; /* 18px */
  line-height: 1.556; /* 28px */
}
.adv-card-barrier p {
  margin-top: 0;
  font-size: var(--fs-sm); /* 14px */
  font-weight: 600;
  line-height: 1.43; /* 20px */
  color: #444;
}

@media (max-width: 920px) {
  .why .section-head { padding-inline: 0; }
  .why .section-head-side { width: auto; max-width: 540px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-card-wide { grid-column: span 2; }
  .adv-card-barrier { grid-column: span 2; }
}
@media (max-width: 620px) {
  .why-grid { grid-template-columns: 1fr; }
  .adv-card,
  .adv-card-wide,
  .adv-card-barrier { grid-column: 1; }
  .adv-card-wide { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}
@media (max-width: 480px) {
  .adv-card,
  .adv-card-wide,
  .adv-card-barrier { padding: 32px; }
}

/* =========================================================
   OUR TEAM
   ========================================================= */
.team {
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 2rem + 8vw, 6.5rem) 0;
  overflow: hidden;
}
.team::before,
.team::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 320px;
  background: url("assets/particles.png") center / contain no-repeat;
  opacity: 0.55;
  z-index: -1;
}
.team::before { left: -60px; top: 40px; }
.team::after { right: -70px; bottom: 20px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin-inline: auto;
}
.team-card {
  position: relative;
  isolation: isolate;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #0a0a1a;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(180deg, rgba(123, 47, 190, 0.55), rgba(27, 138, 78, 0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px -24px rgba(20, 12, 40, 0.45);
}
.team-photo,
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.team-photo img { object-fit: cover; object-position: center top; }

.team-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.4rem 1.4rem;
  background: linear-gradient(180deg, rgba(10, 10, 26, 0) 0%, rgba(10, 10, 26, 0.85) 38%, rgba(10, 10, 26, 0.96) 100%);
}
.team-card-feature .team-body {
  background: linear-gradient(180deg, rgba(44, 33, 81, 0) 0%, rgba(44, 33, 81, 0.85) 38%, rgba(60, 36, 120, 0.97) 100%);
}
.team-name-ar {
  font-family: 'Noto Sans Arabic', sans-serif;
  font-size: 0.7rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}
.team-name-en {
  font-family: var(--font-syne);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-white);
}
.team-name-kr {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.7rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}
.team-role {
  align-self: flex-start;
  margin-top: 0.85rem;
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--c-purple-deep);
  font-family: var(--font-syne);
  font-size: 0.6875rem;
  font-weight: 500;
  color: #dab2ff;
}
.team-card-feature .team-role { color: var(--c-white); }

@media (max-width: 860px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 720px; }
}
@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; max-width: 340px; }
}

/* =========================================================
   GET IN TOUCH
   ========================================================= */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.5rem, 2rem + 7vw, 6rem) 1.5rem;
  text-align: center;
}
.contact-map {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(1415px, 130%);
  max-width: none;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}
.contact-content {
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.contact .eyebrow-center { gap: 0.85rem; }
.contact .eyebrow-center img { width: 26px; height: 26px; }
.contact .eyebrow-center .eyebrow-line {
  width: 64px;
  background: linear-gradient(90deg, rgba(123, 47, 190, 0), rgba(123, 47, 190, 0.4));
}
.contact .eyebrow-center .eyebrow-line:last-child {
  background: linear-gradient(90deg, rgba(123, 47, 190, 0.4), rgba(123, 47, 190, 0));
}
.contact-label {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-purple);
}
.contact-content h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2-lg);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ink);
}
.contact-grad {
  background: linear-gradient(90deg, #2dd4bf 0%, #3b82f6 48%, #7b2fbe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-lead {
  max-width: 530px;
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-muted);
}
.contact .btn-purple { margin-top: 0.5rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f6f6f6;
}
.footer-blob {
  position: absolute;
  left: -102px;
  top: 55px;
  width: 620.289px;
  height: 549.148px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
}
.footer-blob-rotate {
  flex: none;
  transform: rotate(90.08deg);
}
.footer-blob-inner {
  position: relative;
  width: 548.321px;
  height: 619.557px;
}
.footer-blob-svg {
  position: absolute;
  top: -28.13%;
  right: 0;
  bottom: -16.05%;
  left: -48.4%;
  background-image: url('assets/footer-gradient.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  filter: saturate(1.15);
}
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1504px;
  margin-inline: auto;
  padding: 32px 64px;
  display: flex;
  flex-direction: column;
  gap: 62px;
}
.footer-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 83px;
}
.footer-brand {
  flex: 0 1 395px;
  max-width: 395px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-logo {
  height: 83px;
  width: 158px;
  object-fit: contain;
}
.footer-brand p {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
}

.footer-cols {
  flex: 0 1 784px;
  max-width: 784px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-col { display: flex; flex-direction: column; gap: 0; }
.footer-col h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #707070;
  line-height: 1.8;
  white-space: nowrap;
}
.footer-col a {
  font-size: 16px;
  font-weight: 700;
  color: #707070;
  line-height: 1.8;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.18s ease;
}
.footer-col-plain h4 { color: #454545; }
.footer-col-plain a {
  text-decoration: none;
  color: #707070;
  font-weight: 700;
}
.footer-col-connect { width: 90px; }
.footer-col-connect h4,
.footer-col-connect a { font-weight: 500; }
.footer-col a:hover { color: var(--c-purple); }

.footer-legal {
  display: flex;
  align-items: center;
  gap: 155px;
  flex-wrap: wrap;
}
.footer-copy {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.8;
  white-space: nowrap;
}
.footer-legal a {
  font-size: 20px;
  font-weight: 500;
  color: #707070;
  line-height: 1.8;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.footer-legal a:hover { color: var(--c-purple); }

@media (max-width: 1200px) {
  .footer-inner { padding: 32px 40px; gap: 48px; }
  .footer-card-top { gap: 48px; }
  .footer-legal { gap: clamp(2rem, 8vw, 120px); }
}
@media (max-width: 900px) {
  .footer-card-top { flex-direction: column; gap: 2rem; }
  .footer-brand { flex: 0 1 auto; max-width: 100%; }
  .footer-cols { flex: 0 1 auto; max-width: 100%; width: 100%; }
  .footer-blob { width: 520px; height: 460px; left: -120px; }
}
@media (max-width: 600px) {
  .footer-inner { padding: 28px 20px; gap: 32px; }
  .footer-cols { flex-wrap: wrap; gap: 1.5rem 2rem; }
  .footer-col, .footer-col-connect { width: auto; }
  .footer-brand p, .footer-copy, .footer-legal a { font-size: 16px; }
  .footer-logo { height: 64px; width: 122px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

