/* ─────────────────────────────────────────────
   314 Technologies — Main Stylesheet
   Brand: Space Grotesk / IBM Plex Sans
   ───────────────────────────────────────────── */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  --ink:        #0E1726;
  --ink-soft:   #1A2435;
  --hair-dark:  #2A3344;
  --teal:       #1FA39B;
  --teal-deep:  #0F6E68;
  --paper:      #FAFAF8;
  --paper-2:    #F2F2EE;
  --amber:      #C9871F;
  --slate:      #5A6473;
  --hair:       #E4E4DF;
  --muted:      #8A93A2;

  --font-head:  'Space Grotesk', 'IBM Plex Sans', sans-serif;
  --font-body:  'IBM Plex Sans', sans-serif;
  --font-mono:  'IBM Plex Mono', monospace;

  --nav-h:      68px;
  --max-w:      1160px;
  --radius:     4px;
  --transition: 0.22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.page { display: none; }
.page.active { display: block; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--ink);
  border-bottom: 1px solid var(--hair-dark);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
}
.nav__logo svg { height: 48px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav__link {
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav__link:hover { color: var(--paper); }
.nav__link.active { color: var(--teal); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ── NAV DROPDOWN ── */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav__dropdown-toggle:hover,
.nav__dropdown-toggle.active { color: var(--teal); }
.nav__caret {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.7;
}
.nav__dropdown:hover .nav__caret,
.nav__dropdown.open .nav__caret { transform: rotate(180deg); opacity: 1; }

.nav__dropdown-menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--ink-soft);
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius);
  min-width: 230px;
  padding: 6px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-item {
  display: block;
  padding: 11px 22px;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.nav__dropdown-item:hover  { color: var(--paper); background: rgba(255,255,255,0.06); }
.nav__dropdown-item.active { color: var(--teal); }

/* ── MOBILE NAV GROUP LABEL ── */
.mobile-nav__group {
  padding: 12px 28px 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  border-bottom: none;
}
.mobile-nav__sub {
  padding-left: 40px;
  font-size: 14px;
}


/* ── MOBILE NAV ACCORDION (What we do) ── */
.mobile-nav__dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}
.mobile-nav__caret {
  flex-shrink: 0;
  transition: transform 0.22s ease;
  opacity: 0.6;
}
.mobile-nav__dropdown-toggle.open .mobile-nav__caret { transform: rotate(180deg); opacity: 1; }
.mobile-nav__dropdown-toggle.active { color: var(--teal); }

.mobile-nav__sub-group {
  display: none;
  background: rgba(0,0,0,0.12);
}
.mobile-nav__sub-group.open { display: flex; flex-direction: column; }
.mobile-nav__sub {
  padding-left: 40px;
  font-size: 14px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--ink-soft);
  border-bottom: 1px solid var(--hair-dark);
  z-index: 999;
  padding: 16px 0 24px;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav__link {
  display: block;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-bottom: 1px solid var(--hair-dark);
  transition: color var(--transition);
}
.mobile-nav__link:last-child { border-bottom: none; }
.mobile-nav__link:hover,
.mobile-nav__link.active { color: var(--teal); }

/* Page offset for nav */
.page-content { padding-top: var(--nav-h); }

/* ── HERO ── */
.hero {
  background: var(--ink);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '3.14159 26535 89793 23846 26433 83279 50288 41971 69399 37510 58209 74944 59230';
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-family: var(--font-mono);
  font-size: 100px;
  color: rgba(255,255,255,0.025);
  letter-spacing: -2px;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
}

.about-hero {
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '3.14159 26535 89793 23846 26433 83279 50288 41971 69399 37510 58209 74944 59230';
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-family: var(--font-mono);
  font-size: 100px;
  color: rgba(255,255,255,0.025);
  letter-spacing: -2px;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  animation: piGlow 6s ease-in-out infinite;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  gap: 64px;
  width: 100%;
}
.hero__text {
  max-width: 680px;
}
.hero__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}
.hero__icon svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--teal);
}
.hero__h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--paper);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero__h1 span { color: var(--teal); }
.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 40px;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--teal);
  color: var(--paper);
}
.btn-primary:hover { background: var(--teal-deep); }
.btn-outline {
  border: 1px solid var(--hair-dark);
  color: var(--paper);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-teal-outline {
  border: 1px solid var(--teal);
  color: var(--teal);
}
.btn-teal-outline:hover { background: var(--teal); color: var(--paper); }
.btn-ink {
  background: var(--ink);
  color: var(--paper);
}
.btn-ink:hover { background: var(--ink-soft); }

/* ── SECTIONS ── */
.section { padding: 88px 0; }
.section--dark { background: var(--ink); }
.section--ink-soft { background: var(--ink-soft); }
.section--paper-2 { background: var(--paper-2); }

.section__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section__label::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--teal);
}
.section__h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section__h2--light { color: var(--paper); }
.section__h2--ink { color: var(--ink); }
.section__lead {
  font-size: 18px;
  line-height: 1.7;
  max-width: 640px;
  color: var(--muted);
}
.section__lead--light { color: var(--muted); }
.section__lead--ink { color: var(--slate); }

/* ── SERVICES STRIP ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: var(--hair-dark);
  border: 1px solid var(--hair-dark);
}
.service-card {
  background: var(--ink-soft);
  padding: 40px 32px;
  transition: background var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { background: var(--hair-dark); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  color: var(--teal);
}
.service-card__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.service-card__body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}
.service-card__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}
.service-card:hover .service-card__link { gap: 12px; }

/* ── WHY 314 ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 56px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.pillar {
  background: var(--paper);
  padding: 40px 36px;
}
.pillar__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pillar__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.pillar__body {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.65;
}

/* ── PARTNER STRIP ── */
.partner-strip {
  background: var(--ink);
  border-top: 1px solid var(--hair-dark);
  border-bottom: 1px solid var(--hair-dark);
  padding: 40px 0;
}
.partner-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius);
}
.partner-badge__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.partner-badge__name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}
.partner-text {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
}

/* ── ABOUT: WHO WE ARE ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-intro__body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 20px;
}
.about-intro__aside {
  padding-top: 8px;
}
.about-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 4px;
}
.about-logo {
  width: 260px;
  height: 260px;
}

.credential-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
}
.credential-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--hair);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.credential-item:last-child { border-bottom: none; }
.credential-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ── PRINCIPLES GRID ── */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hair-dark);
  border: 1px solid var(--hair-dark);
  margin-top: 56px;
}
.principle {
  background: var(--ink-soft);
  padding: 40px 36px;
}
.principle__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.principle__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 10px;
  line-height: 1.3;
}
.principle__do {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.principle__quote {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
  border-left: 2px solid var(--teal);
  padding-left: 12px;
  font-style: normal;
}

/* ── CREDENTIALS (ABOUT) ── */
.creds-section { padding: 80px 0; }
.creds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.cred-card {
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--paper);
}
.cred-card__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  color: var(--teal);
}
.cred-card__title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.cred-card__body {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* ── GOOGLE CLOUD SECTION ── */
.gcp-section {
  background: var(--ink);
  padding: 80px 0;
}
.gcp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.gcp-text .section__h2 { margin-bottom: 20px; }
.gcp-text p { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.gcp-text p:last-of-type { margin-bottom: 28px; }
.gcp-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gcp-feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--ink-soft);
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius);
}
.gcp-feature__icon {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.gcp-feature__title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 4px;
}
.gcp-feature__body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── PLACEHOLDER PAGES ── */
.placeholder {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: var(--ink);
}
.placeholder__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.placeholder__title {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 16px;
}
.placeholder__body {
  font-size: 16px;
  color: var(--muted);
}

/* ── FOOTER ── */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--hair-dark);
  padding: 64px 0 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hair-dark);
}
.footer__brand__tagline {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--paper);
  line-height: 1.4;
  margin: 20px 0 10px;
}
.footer__brand__sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
.footer__col__heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__link {
  font-size: 14px;
  color: var(--muted);
  transition: color var(--transition);
  cursor: pointer;
}
.footer__link:hover { color: var(--paper); }
.footer__bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__legal {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.footer__geo {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--ink);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--hair-dark);
}
.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  color: var(--paper);
  line-height: 1.15;
  margin: 14px 0 18px;
}
.page-hero__sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
}

/* ── BG HELPERS ── */
.bg-paper   { background: var(--paper); }
.bg-paper-2 { background: var(--paper-2); }
.bg-ink     { background: var(--ink); }

/* ── INDUSTRY GRID ── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.industry-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: border-color var(--transition);
}
.industry-card:hover { border-color: var(--teal); }
.industry-card__icon {
  width: 36px;
  height: 36px;
  color: var(--teal);
  margin-bottom: 18px;
}
.industry-card__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.industry-card__body {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.7;
}

/* ── TECH PILLS ── */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.tech-pill {
  background: var(--ink-soft);
  border: 1px solid var(--hair-dark);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--teal);
  letter-spacing: 0.3px;
}

/* ── BUSINESS FUNCTIONS ── */
.fn-list { display: flex; flex-direction: column; gap: 0; }
.fn-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--hair);
}
.fn-block:first-child { padding-top: 0; }
.fn-block__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.fn-block__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}
.fn-block__body {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
  margin: 0 0 16px;
}
.fn-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fn-tag {
  background: var(--paper-2);
  border: 1px solid var(--hair);
  border-radius: 100px;
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate);
}

/* ── SERVICES SUB-NAV ── */
.svc-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  height: 52px;
}
.svc-nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}
.svc-nav__btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  padding: 6px 16px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.svc-nav__btn:hover { color: var(--ink); background: var(--paper-2); }
.svc-nav__btn.svc-active { color: var(--teal); background: rgba(31, 163, 155, 0.08); }

/* ── SVC SECTIONS ── */
.svc-section { padding: 72px 0; }
.svc-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
  align-items: start;
}
.svc-lead__body {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.8;
  margin: 0 0 8px;
}

/* ── PRODUCT GRID (15 consulting products) ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: 0 4px 20px rgba(14,23,38,0.08); }
.product-card__name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 10px;
}
.product-card__title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 12px;
}
.product-card__body {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.7;
  margin: 0;
}

/* ── DPI GRID ── */
.dpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

/* ── DPI PILLARS ── */
.dpi-pillars-wrap {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--hair-dark);
}
.section__h3--light {
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.dpi-pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.dpi-pillar {
  background: var(--ink-soft);
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: border-color 0.2s;
}
.dpi-pillar:hover { border-color: var(--teal); }
.dpi-pillar__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(31,163,155,0.10);
  border-radius: 8px;
  color: var(--teal);
  flex-shrink: 0;
}
.dpi-pillar__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--paper);
  line-height: 1.3;
}
.dpi-card {
  background: var(--ink-soft);
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.dpi-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(31, 163, 155, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--teal);
}
.dpi-card__title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.3;
  margin: 0 0 10px;
}
.dpi-card__body {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ── FOR-LIST (DPI who-it's-for) ── */
.for-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.for-item { display: flex; gap: 14px; align-items: flex-start; }
.for-item__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 7px;
}
.for-item__text {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ── GCP FEATURE BLOCK ── */
.gcp-section { padding: 64px 0; }
.gcp-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}
.gcp-text .section__h2 { margin-bottom: 20px; }
.gcp-text p { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.gcp-text p:last-of-type { margin-bottom: 28px; }
.gcp-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.gcp-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.gcp-feature__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(31, 163, 155, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.gcp-feature__title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
  margin: 0 0 6px;
}
.gcp-feature__body {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── CONTACT PAGE ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.3px;
}
.form-input, .form-select, .form-textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1.5px solid var(--hair);
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--teal);
}
.form-textarea { min-height: 130px; resize: vertical; }
.contact-info-block { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 38px;
  height: 38px;
  background: rgba(31, 163, 155, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.contact-info-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 4px;
}
.contact-info-value {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
}

/* ── RESPONSIVE ── */

/* ── ABOUT PAGE RESPONSIVE ── */
.about-hero {
  padding: 80px 0;
}
.about-journey-body,
.about-purpose-body {
  max-width: 760px;
}

@media (max-width: 768px) {
  .about-hero { padding: 60px 0; }
  .about-hero-inner { grid-template-columns: 1fr; }
  .about-anim-wrap  { display: none; }
  .about-journey-body,
  .about-purpose-body { max-width: 100%; }
}

@media (max-width: 600px) {
  .about-hero  { padding: 48px 0; }
  .svc-section { padding: 48px 0; }
  .team-tiles-grid  { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .team-tile        { padding: 18px 12px 16px; gap: 10px; }
  .team-tile__label { font-size: 12px; }
  .about-intro      { grid-template-columns: 1fr; }
  .about-logo-wrap  { display: none; }
  .dpi-for-wrap     { grid-template-columns: 1fr !important; gap: 32px; }
}

@media (max-width: 900px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .dpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dpi-pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .fn-block { grid-template-columns: 1fr; gap: 12px; }
  .svc-lead { grid-template-columns: 1fr; gap: 24px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .gcp-inner { grid-template-columns: 1fr; }
  .team-tiles-grid { grid-template-columns: repeat(2, 1fr); }
  .dpi-for-wrap { grid-template-columns: 1fr !important; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}


/* ── ABOUT PAGE HERO ANIMATION ── */
.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 42vh;
}
.about-hero-text { display: flex; flex-direction: column; justify-content: center; }
.about-anim-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}
.about-anim-svg { width: 100%; max-width: 380px; }

/* quarter-arc circumference ≈ 251 (r=160); inner ≈ 157 (r=100) */
.about-arc {
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
  animation: about-draw-arc 1.8s cubic-bezier(0.4,0,0.2,1) forwards;
}
.about-arc-1 { animation-delay: 0.1s; }
.about-arc-2 { animation-delay: 0.4s; }
.about-arc-3 { stroke-dasharray: 157; stroke-dashoffset: 157; animation-delay: 0.6s; animation-duration: 1.4s; }
.about-arc-4 { stroke-dasharray: 157; stroke-dashoffset: 157; animation-delay: 0.8s; animation-duration: 1.4s; }

.about-hline {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: about-draw-arc 1.2s cubic-bezier(0.4,0,0.2,1) 0.9s forwards;
}
.about-pulse-r1 {
  animation: about-pulse 2.4s ease-out 2.2s infinite;
}
.about-pulse-r2 {
  animation: about-pulse 2.4s ease-out 3s infinite;
}

@keyframes about-draw-arc {
  to { stroke-dashoffset: 0; }
}
@keyframes about-pulse {
  0%   { r: 5;  opacity: 0.7; }
  100% { r: 36; opacity: 0; }
}

/* Journey two-col */
.about-journey-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-anim-wrap--journey { opacity: 0.6; }
.about-anim-svg--journey { max-width: 320px; }

/* Responsive */
@media (max-width: 768px) {
  .about-hero-inner,
  .about-journey-inner { grid-template-columns: 1fr; }
  .about-anim-wrap { display: none; }
}

/* ── TEAM TILES (About page) ── */
.team-tiles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 900px) {
  .team-tiles-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
  .team-tiles-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .team-tile { padding: 16px 10px 14px; gap: 8px; }
  .team-tile__label { font-size: 11.5px; }
}
.team-tile {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: border-color 0.2s;
}
.team-tile:hover { border-color: var(--teal); }
.team-tile__icon { color: var(--teal); flex-shrink: 0; }
.team-tile__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}

/* ── DPI WHO-FOR / WHY-314 TWO-COL ── */
.dpi-for-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--hair-dark);
}
.dpi-for-wrap > div > .section__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

/* ── DPI STATS ROW ── */
.dpi-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hair-dark);
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
}
.dpi-stat {
  background: var(--ink-soft);
  padding: 28px 20px;
  text-align: center;
}
.dpi-stat__num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 4px;
  line-height: 1.2;
}
.dpi-stat__label {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
/* ══════════════════════════════════════════
   BUSINESS FUNCTIONS — TWO-PANEL EXPLORER
══════════════════════════════════════════ */
.fn-explorer {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: calc(100vh - var(--nav-h));
  align-items: start;
  border-top: 1px solid var(--hair);
}

/* Left sidebar */
.fn-sidebar {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  background: var(--paper-2);
  border-right: 1px solid var(--hair);
  padding: 36px 0 48px;
  display: flex;
  flex-direction: column;
}
.fn-sidebar__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 28px 20px;
}
.fn-sidebar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  width: 100%;
}
.fn-sidebar__item:hover { background: var(--paper); }
.fn-sidebar__item--active {
  border-left-color: var(--teal);
  background: var(--paper);
}
.fn-sidebar__num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  width: 22px;
  transition: color 0.18s;
}
.fn-sidebar__item--active .fn-sidebar__num { color: var(--teal); }
.fn-sidebar__name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.3;
  transition: color 0.18s;
}
.fn-sidebar__item--active .fn-sidebar__name,
.fn-sidebar__item:hover .fn-sidebar__name { color: var(--ink); }

/* Right content area */
.fn-content {
  background: var(--paper);
  padding: 56px 64px;
  min-height: calc(100vh - var(--nav-h));
}

/* Individual panels */
.fn-panel { display: none; }
.fn-panel--active {
  display: block;
  animation: fn-fadein 0.22s ease;
}
@keyframes fn-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fn-panel__cat {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
}
.fn-panel__h {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.fn-panel__bar {
  width: 44px;
  height: 3px;
  background: var(--teal);
  margin: 0 0 28px;
}
.fn-panel__body {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.8;
  margin: 0 0 36px;
  max-width: 580px;
}
.fn-panel__covers-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.fn-panel__covers {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 36px;
  max-width: 560px;
}
.fn-panel__covers li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
}
.fn-panel__covers li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 7px;
}
.fn-panel__prod-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

/* ── RESPONSIVE: two-panel to stacked ── */
@media (max-width: 1100px) {
  .fn-explorer { grid-template-columns: 260px 1fr; }
  .fn-content { padding: 48px 40px; }
}
@media (max-width: 900px) {
  .fn-explorer { grid-template-columns: 1fr; overflow-x: hidden; }
  .fn-content  { padding: 32px 20px; min-height: auto; }

  .fn-sidebar {
    position: static;
    flex: 1;
    min-width: 0;
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    flex-direction: row;
    padding: 0;
    border-right: none;
    border-bottom: none;
    background: transparent;
    scrollbar-width: none;
  }
  .fn-sidebar::-webkit-scrollbar { display: none; }
  .fn-sidebar__label { display: none; }
  .fn-sidebar__item {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 16px;
    border-left: none;
    border-bottom: 3px solid transparent;
    flex-shrink: 0;
    min-width: 80px;
  }
  .fn-sidebar__item--active {
    border-left-color: transparent;
    border-bottom-color: var(--teal);
  }
  .fn-sidebar__num { width: auto; font-size: 10px; }
  .fn-sidebar__name { font-size: 11px; text-align: center; }
}



/* ══════════════════════════════════════════
   HERO LOGO ANIMATION
══════════════════════════════════════════ */

/* ── Entry: draw paths on (stroke-dashoffset trick) ── */
@keyframes heroDrawArc {
  from { stroke-dashoffset: 67; }
  to   { stroke-dashoffset: 0;  }
}
@keyframes heroDrawLine {
  from { stroke-dashoffset: 101; }
  to   { stroke-dashoffset: 0;   }
}
@keyframes heroDotAppear {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1);   }
}

/* ── Continuous: arc rotation (on <g> wrappers) ── */
@keyframes heroArcSpin1 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes heroArcSpin2 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* ── Continuous: dot scans the line ── */
@keyframes heroDotScan {
  0%   { transform: translateX(0);     }
  38%  { transform: translateX(101px); }
  62%  { transform: translateX(101px); }
  100% { transform: translateX(0);     }
}

/* ── Continuous: whole icon breathes ── */
@keyframes heroLogoBreathe {
  0%, 100% { transform: scale(1);     }
  50%       { transform: scale(1.045); }
}

/* SVG root: breathe after entry finishes */
.hero-logo {
  overflow: visible;
  animation: heroLogoBreathe 7s ease-in-out 2.2s infinite;
}

/* <g> wrappers: rotate around SVG centre (60,60).
   transform-box:view-box makes transform-origin relative to the viewport. */
.hero-logo__arc-g1 {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: heroArcSpin1 55s linear 1.1s infinite;
}
.hero-logo__arc-g2 {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: heroArcSpin2 72s linear 1.1s infinite;
}

/* <path> elements: draw-on animation only (no transform conflict) */
.hero-logo__arc1 {
  stroke-dasharray: 67;
  stroke-dashoffset: 67;
  animation: heroDrawArc 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}
.hero-logo__arc2 {
  stroke-dasharray: 67;
  stroke-dashoffset: 67;
  animation: heroDrawArc 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

/* Line: draw left-to-right */
.hero-logo__line {
  stroke-dasharray: 101;
  stroke-dashoffset: 101;
  animation: heroDrawLine 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
  filter: drop-shadow(0 0 5px rgba(31,163,155,0.55));
}

/* Dot: appear, then scan */
.hero-logo__dot {
  opacity: 0;
  animation:
    heroDotAppear 0.35s ease 1.6s forwards,
    heroDotScan   4.5s ease-in-out 1.95s infinite;
  filter: drop-shadow(0 0 6px rgba(31,163,155,0.8));
}

/* Accessibility: skip all animation for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .hero-logo__arc-g1,
  .hero-logo__arc-g2,
  .hero-logo__arc1,
  .hero-logo__arc2,
  .hero-logo__line,
  .hero-logo__dot {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    transform: none !important;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — NAV BREAKPOINT ≤ 768px
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .hamburger { display: flex; }
  
.about-hero {
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '3.14159 26535 89793 23846 26433 83279 50288 41971 69399 37510 58209 74944 59230';
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-family: var(--font-mono);
  font-size: 100px;
  color: rgba(255,255,255,0.025);
  letter-spacing: -2px;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  animation: piGlow 6s ease-in-out infinite;
}
.hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__icon  { max-width: 180px; margin: 0 auto; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE ≤ 600px
══════════════════════════════════════════ */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  /* Container padding */
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .hero { padding: 72px 16px 56px; }

  /* Stack all multi-column grids */
  .services-grid    { grid-template-columns: 1fr; gap: 16px; }
  .pillars-grid     { grid-template-columns: 1fr; gap: 16px; }
  .about-intro      { grid-template-columns: 1fr; gap: 28px; }
  .principles-grid  { grid-template-columns: 1fr; gap: 16px; }
  .creds-grid       { grid-template-columns: 1fr; gap: 12px; }
  .industry-grid    { grid-template-columns: 1fr; gap: 16px; }
  .product-grid     { grid-template-columns: 1fr; gap: 16px; }
  .dpi-grid         { grid-template-columns: 1fr; gap: 16px; }
  .dpi-stats-row    { grid-template-columns: 1fr 1fr; }
  .cloud-stats      { grid-template-columns: 1fr 1fr; gap: 1px; }
  .gcp-inner        { grid-template-columns: 1fr; gap: 32px; }
  .svc-lead         { grid-template-columns: 1fr; gap: 24px; }
  .contact-wrap     { grid-template-columns: 1fr; gap: 32px; }
  .footer__top      { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom   { flex-direction: column; gap: 8px; text-align: center; }

  /* Hero adjustments */
  
.about-hero {
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '3.14159 26535 89793 23846 26433 83279 50288 41971 69399 37510 58209 74944 59230';
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-family: var(--font-mono);
  font-size: 100px;
  color: rgba(255,255,255,0.025);
  letter-spacing: -2px;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  animation: piGlow 6s ease-in-out infinite;
}
.hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero__icon  { display: none; }
  .hero__h1  { font-size: clamp(28px, 8vw, 40px); }
  .hero__sub { font-size: 15px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__ctas .btn { width: 100%; text-align: center; justify-content: center; }

  /* Section headings */
  .section__h2 { font-size: clamp(22px, 6vw, 32px); }

  /* Service cards full width */
  .service-card { padding: 24px 20px; }

  /* fn-explorer collapses at 900px — just tighten content */
  .fn-content { padding: 28px 16px; }

  /* ── DPI PILLARS ── */
  .dpi-pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  /* Reset centering rules that only work in wider grid layouts */
  #page-cloud .dpi-grid > .dpi-card:nth-child(4) { grid-column: auto; }
  .dpi-pillars-grid > .dpi-pillar:nth-child(11)  { grid-column-start: auto; }
}

/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Cloud page entry animations ── */
#page-cloud.active .dpi-grid > * {
  animation: slideUp 0.35s ease both;
}
#page-cloud.active .dpi-grid > *:nth-child(1) { animation-delay: 0.04s; }
#page-cloud.active .dpi-grid > *:nth-child(2) { animation-delay: 0.08s; }
#page-cloud.active .dpi-grid > *:nth-child(3) { animation-delay: 0.12s; }
#page-cloud.active .dpi-grid > *:nth-child(4) { animation-delay: 0.16s; }
#page-cloud.active .gcp-feature {
  animation: slideUp 0.35s ease both;
}
#page-cloud.active .gcp-feature:nth-child(1) { animation-delay: 0.10s; }
#page-cloud.active .gcp-feature:nth-child(2) { animation-delay: 0.18s; }
#page-cloud.active .gcp-feature:nth-child(3) { animation-delay: 0.26s; }

/* ── Industry solutions entry animations ── */
.page.active .industry-grid > * {
  animation: slideUp 0.35s ease both;
}
.page.active .industry-grid > *:nth-child(1) { animation-delay: 0.04s; }
.page.active .industry-grid > *:nth-child(2) { animation-delay: 0.08s; }
.page.active .industry-grid > *:nth-child(3) { animation-delay: 0.12s; }
.page.active .industry-grid > *:nth-child(4) { animation-delay: 0.16s; }
.page.active .industry-grid > *:nth-child(5) { animation-delay: 0.20s; }
.page.active .industry-grid > *:nth-child(6) { animation-delay: 0.24s; }
.page.active .industry-grid > *:nth-child(7) { animation-delay: 0.28s; }
.page.active .industry-grid > *:nth-child(8) { animation-delay: 0.32s; }

/* ── DPI pillars entry animations ── */
.page.active .dpi-pillars-grid > * {
  animation: slideUp 0.35s ease both;
}
.page.active .dpi-pillars-grid > *:nth-child(1)  { animation-delay: 0.04s; }
.page.active .dpi-pillars-grid > *:nth-child(2)  { animation-delay: 0.08s; }
.page.active .dpi-pillars-grid > *:nth-child(3)  { animation-delay: 0.12s; }
.page.active .dpi-pillars-grid > *:nth-child(4)  { animation-delay: 0.16s; }
.page.active .dpi-pillars-grid > *:nth-child(5)  { animation-delay: 0.20s; }
.page.active .dpi-pillars-grid > *:nth-child(6)  { animation-delay: 0.24s; }
.page.active .dpi-pillars-grid > *:nth-child(7)  { animation-delay: 0.28s; }
.page.active .dpi-pillars-grid > *:nth-child(8)  { animation-delay: 0.32s; }
.page.active .dpi-pillars-grid > *:nth-child(9)  { animation-delay: 0.36s; }
.page.active .dpi-pillars-grid > *:nth-child(10) { animation-delay: 0.40s; }
.page.active .dpi-pillars-grid > *:nth-child(11) { animation-delay: 0.44s; }
.page.active .dpi-pillars-grid > *:nth-child(12) { animation-delay: 0.48s; }
.page.active .dpi-pillars-grid > *:nth-child(13) { animation-delay: 0.52s; }

/* ── General page entry animations (all screen sizes) ── */
.page.active .services-grid > *,
.page.active .pillars-grid > *,
.page.active .principles-grid > *,
.page.active .product-grid > *,
.page.active .creds-grid > *,
.page.active .service-card {
  animation: slideUp 0.35s ease both;
}
.page.active .services-grid > *:nth-child(2),
.page.active .pillars-grid > *:nth-child(2),
.page.active .product-grid > *:nth-child(2) { animation-delay: 0.07s; }
.page.active .services-grid > *:nth-child(3),
.page.active .pillars-grid > *:nth-child(3),
.page.active .product-grid > *:nth-child(3) { animation-delay: 0.14s; }
.page.active .services-grid > *:nth-child(4),
.page.active .pillars-grid > *:nth-child(4),
.page.active .product-grid > *:nth-child(4) { animation-delay: 0.21s; }

/* ── Cloud: centre last card in 3-col grid (not on mobile) ── */
@media (min-width: 601px) {
  #page-cloud .dpi-grid > .dpi-card:nth-child(4) { grid-column: 2; }
}


/* ── AI AGENTS SECTION (314 Cloud and Ai page) ── */
.ai-agents-wrap {
  background: var(--ink-soft);
  border-radius: var(--radius);
  margin-top: 48px;
  padding: 48px 40px;
}
.ai-agents-lead {
  color: var(--muted);
  font-size: 16px;
  margin-top: 8px;
  margin-bottom: 36px;
}
.ai-agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ai-agent-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.ai-agent-card__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 12px;
  line-height: 1.3;
}
.ai-agent-card__body {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}
.ai-agent-card__use-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ai-agent-card__uses {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  padding-left: 16px;
  list-style: disc;
}

@media (max-width: 900px) {
  .ai-agents-grid { grid-template-columns: 1fr; }
  .ai-agents-wrap { padding: 36px 24px; }
}
@media (max-width: 600px) {
  .ai-agents-wrap { padding: 28px 16px; }
}

/* ── DPI pillars: centre last 3 in 5-col grid (not on mobile/tablet) ── */
@media (min-width: 901px) {
  .dpi-pillars-grid > .dpi-pillar:nth-child(11) { grid-column-start: 2; }
}

/* ── FN SIDEBAR SWIPE ARROWS (mobile only) ── */
.fn-sidebar-wrap {
  position: relative;
  display: contents; /* transparent on desktop — sidebar still lays out normally */
}
.fn-swipe-arrow {
  display: none; /* hidden on desktop */
}
@media (max-width: 900px) {
  .fn-sidebar-wrap {
    display: flex;
    align-items: stretch;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;           /* contain sidebar scroll — don't widen page */
    background: var(--paper-2);
    border-bottom: 2px solid var(--teal);
  }
  .fn-swipe-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    color: var(--slate);
    background: linear-gradient(to right, var(--paper-2) 60%, transparent);
    border: none;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    min-height: 56px;
  }
  .fn-swipe-arrow--right {
    background: linear-gradient(to left, var(--paper-2) 60%, transparent);
  }
  .fn-swipe-arrow--left  { order: -1; }
  .fn-swipe-arrow--right { order: 99; }
}

/* ── PAGE-SPECIFIC GRID OVERRIDES ── */
#page-cloud .dpi-grid { grid-template-columns: repeat(2, 1fr); }
.dpi-pillar[data-domain] { cursor: pointer; }

/* ── INDUSTRY TILES ── */
.industry-tiles-wrap {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--hair-dark);
}
.industry-tiles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.industry-tile {
  background: var(--ink-soft);
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}
.industry-tile:hover { border-color: var(--teal); background: rgba(31,163,155,0.06); }
.industry-tile__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(31,163,155,0.10);
  border-radius: 8px;
  color: var(--teal);
}
.industry-tile__name {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── MODAL (shared: Cloud industry + DPI domain) ── */
.ind-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14,23,38,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1100;
  padding-top: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.ind-modal-overlay.open  { opacity: 1; visibility: visible; }
.ind-modal-overlay.closing { opacity: 0; }
.ind-modal {
  background: var(--ink-soft);
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius);
  padding: 32px 32px 28px;
  max-width: 780px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1), opacity 0.28s ease;
}
.ind-modal-overlay.open .ind-modal  { transform: translateY(0) scale(1); }
.ind-modal-overlay.closing .ind-modal { transform: translateY(10px) scale(0.98); }
.ind-modal__close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: var(--muted); cursor: pointer;
  padding: 6px; border-radius: 6px; transition: color 0.15s, background 0.15s;
}
.ind-modal__close:hover { color: var(--paper); background: var(--hair-dark); }
.ind-modal__title {
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 20px;
}
.ind-modal__body { overflow-y: auto; flex: 1; margin-bottom: 20px; }
.ind-modal__cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ind-case {
  background: var(--ink);
  border: 1px solid var(--hair-dark);
  border-radius: 8px;
  padding: 16px;
  animation: caseFadeIn 0.3s ease both;
}
.ind-case:last-child:nth-child(odd) { grid-column: 1 / -1; }
@keyframes caseFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ind-case__title {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600; color: var(--paper); margin-bottom: 6px;
}
.ind-case__desc { font-size: 13px; line-height: 1.6; color: var(--muted); }
.ind-modal__cta {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0; align-self: flex-start;
}

/* ── CLOUD SECURITY ── */
.cloud-security {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--hair-dark);
}
.cloud-security__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}
.cloud-security__lead { font-size: 17px; line-height: 1.75; color: var(--muted); }
.cloud-security__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cloud-sec-card {
  background: var(--ink);
  border: 1px solid var(--hair-dark);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.cloud-sec-card__icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(31,163,155,0.12);
  border-radius: 8px; color: var(--teal); margin-bottom: 14px;
}
.cloud-sec-card__title {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 600; color: var(--paper); margin-bottom: 8px;
}
.cloud-sec-card__body { font-size: 13px; line-height: 1.65; color: var(--muted); }

/* ── RESPONSIVE: industry tiles + security ── */
@media (max-width: 900px) {
  .industry-tiles-grid { grid-template-columns: repeat(3, 1fr); }
  .cloud-security__head { grid-template-columns: 1fr; gap: 20px; }
  .cloud-security__grid { grid-template-columns: repeat(2, 1fr); }
  #page-cloud .dpi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .industry-tiles-grid { grid-template-columns: repeat(2, 1fr); }
  .cloud-security__grid { grid-template-columns: 1fr; }
  .ind-modal__cases { grid-template-columns: 1fr; }
}

/* ── MODAL MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  /* Slide up from bottom as a sheet */
  .ind-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .ind-modal {
    max-height: 88vh;
    border-radius: 16px 16px 0 0;
    padding: 16px 20px 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* prevent the modal box itself from scrolling */
  }
  /* Sticky header strip: drag handle + close always visible */
  .ind-modal::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--hair-dark);
    border-radius: 2px;
    margin: 0 auto 16px;
    flex-shrink: 0;
  }
  .ind-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: var(--hair-dark);
    color: var(--paper);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 10;
  }
  /* Label + title: fixed header inside the flex column, never scrolls */
  .ind-modal .section__label,
  .ind-modal__title {
    flex-shrink: 0;
  }
  .ind-modal__title {
    font-size: 18px;
    margin-bottom: 12px;
    padding-right: 40px;
  }
  /* Only the cases list scrolls */
  .ind-modal__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
  }
  .ind-modal__cases { grid-template-columns: 1fr; gap: 10px; }
  .ind-case:last-child:nth-child(odd) { grid-column: auto; }
  .ind-modal__cta { flex-shrink: 0; }
}

/* Tap targets: Apple/Google guidance is 44x44 minimum */
.ind-modal__close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.hamburger {
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
@media (max-width: 768px) {
  .ind-modal__close { width: 40px; height: 40px; top: 12px; right: 12px; }
}
