/* Digicon Solutions - Master Design System
 * Obsidian + Luminous Cyan + Editorial Light Sheet Transitions
 * Multi-page architecture (Home, Services, Solutions, Work, About, Contact)
 */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope.woff2") format("woff2");
}

html, body {
  background: #05070b;
  color: #f8fafc;
}

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

:root {
  --bg: #05070b;
  --bg-elevated: #0b111b;
  --bg-panel: #0e1623;
  --surface-light: #f3f5f8;
  --surface-white: #ffffff;
  --fg: #f8fafc;
  --fg-muted: #94a3b8;
  --fg-dim: #64748b;
  --ink-dark: #09111c;
  --ink-muted: #475569;
  --accent: #19d3ff;
  --accent-soft: #7dd3fc;
  --accent-deep: #0284c7;
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-light: rgba(9, 17, 28, 0.11);

  --font-sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-material: cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-offset: 96px;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
}

::selection {
  background: rgba(25, 211, 255, 0.28);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Subtle film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.036;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Typography & Micro-labels (Figma-aligned single variable sans system: Manrope) */
.mono-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: rgba(248, 250, 252, 0.78);
}

.eyebrow--light {
  color: var(--ink-muted);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(25, 211, 255, 0.7);
  flex-shrink: 0;
}

.serif-accent {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent-soft);
}

.sheet--light .serif-accent {
  color: var(--accent-deep);
}

/* Liquid Glass Material (surfaces-and-buttons.md) */
.liquid-glass {
  position: relative;
  overflow: hidden;
  border: none;
  background: rgba(255, 255, 255, 0.03);
  background-blend-mode: luminosity;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.11);
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, var(--rim-a, 0.36)) 0%,
    rgba(255, 255, 255, var(--rim-b, 0.12)) 22%,
    rgba(255, 255, 255, 0) 44%,
    rgba(255, 255, 255, 0) 58%,
    rgba(255, 255, 255, var(--rim-b, 0.12)) 80%,
    rgba(255, 255, 255, var(--rim-a, 0.36)) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.liquid-glass--strong {
  background: rgba(9, 14, 23, 0.72);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.14);
}

/* Chrome & Glass Pills / Buttons */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.28s var(--ease-out-expo), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.42) 50%, transparent 78%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn--solid {
  background: linear-gradient(180deg, #ffffff 0%, #eef2f7 52%, #dce4ee 100%);
  color: #070b12;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #ffffff, 0 8px 24px rgba(0, 0, 0, 0.28);
}

.btn--solid:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f1f9ff 50%, #dff3ff 100%);
  box-shadow: inset 0 1px 0 #ffffff, 0 0 26px rgba(25, 211, 255, 0.28), 0 10px 26px rgba(0, 0, 0, 0.35);
}

.btn--dark {
  background: #09111c;
  color: #ffffff;
  border-color: rgba(9, 17, 28, 0.9);
  box-shadow: 0 8px 22px rgba(9, 17, 28, 0.16);
}

.btn--dark:hover {
  background: #0f1b2e;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.22);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(125, 211, 252, 0.55);
  box-shadow: 0 0 22px rgba(25, 211, 255, 0.16);
}

.btn--outline-dark {
  background: transparent;
  color: var(--ink-dark);
  border-color: rgba(9, 17, 28, 0.22);
}

.btn--outline-dark:hover {
  background: rgba(9, 17, 28, 0.06);
  border-color: rgba(9, 17, 28, 0.5);
}

.btn__chip {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(7, 11, 18, 0.12);
  transition: transform 0.28s var(--ease-out-expo), background 0.28s ease;
}

.btn--dark .btn__chip {
  background: rgba(255, 255, 255, 0.16);
}

.btn--glass .btn__chip {
  background: rgba(255, 255, 255, 0.12);
}

.btn:hover .btn__chip {
  transform: translate(2px, -2px);
}

/* Header & Floating Navigation (1fr auto 1fr) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 16px var(--gutter) 0;
  pointer-events: none;
}

.header-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand-pill {
  justify-self: start;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: rgba(8, 13, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transition: border-color 0.25s ease, transform 0.25s var(--ease-out-expo);
}

.brand-pill:hover {
  border-color: rgba(125, 211, 252, 0.45);
}

.brand-pill__orb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-pill__text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-pill__name {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: nowrap;
}

.brand-pill__sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(125, 211, 252, 0.85);
  margin-top: 2px;
  white-space: nowrap;
}

.nav-pill {
  justify-self: center;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(8, 13, 22, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.nav-pill__link {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(248, 250, 252, 0.74);
  white-space: nowrap;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.nav-pill__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-pill__link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.35);
}

.header-actions {
  justify-self: end;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  height: 42px;
  padding: 0 18px 0 20px;
  font-size: 13.5px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 13, 22, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  place-items: center;
  cursor: pointer;
  z-index: 95;
}

.burger__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 17px;
}

.burger__lines span {
  display: block;
  height: 1.5px;
  background: #ffffff;
  border-radius: 1px;
  transition: transform 0.26s var(--ease-out-expo), opacity 0.2s ease;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .burger__lines span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

body.menu-open .burger__lines span:nth-child(2) {
  opacity: 0;
}

body.menu-open .burger__lines span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(5, 7, 11, 0.92);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: max(100px, calc(env(safe-area-inset-top) + 84px)) 24px max(32px, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.menu-open .mobile-drawer {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 18px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.mobile-drawer__link.is-active {
  color: #ffffff;
  border-color: rgba(25, 211, 255, 0.45);
  background: rgba(25, 211, 255, 0.08);
}

.mobile-drawer__meta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-muted);
}

@media (max-width: 960px) {
  .nav-pill,
  .header-cta {
    display: none;
  }
  .burger {
    display: grid;
  }
}

/* Entrance Motion Choreography (fail-safe: fast, crisp, never hides navbar or stalls invisible) */
.appear {
  opacity: 1;
  animation-duration: 0.52s;
  animation-fill-mode: both;
  animation-timing-function: var(--ease-out-expo);
  animation-delay: var(--d, 0s);
}

.appear--soft {
  animation-name: in-soft;
}

.appear--mask {
  animation-name: in-mask;
}

.appear--scale {
  animation-name: in-scale;
}

.appear.is-in {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

@keyframes in-soft {
  from { opacity: 0.05; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes in-mask {
  from { opacity: 0.08; transform: translate3d(0, 32%, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes in-scale {
  from { opacity: 0.08; transform: scale(0.95); }
  to { opacity: 1; transform: none; }
}

.headline-line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.06em 0.1em 0;
}

/* Scroll Reveals */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(var(--rx, 0px), var(--ry, 14px), 0);
  transition: opacity var(--rdur, 0.44s) var(--ease-out-quint) var(--rd, 0s),
              transform var(--rdur, 0.44s) var(--ease-out-quint) var(--rd, 0s);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Hero Sections */
.hero {
  position: relative;
  min-height: clamp(680px, 100vh, 960px);
  min-height: clamp(680px, 100dvh, 960px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #05070b;
  padding: calc(var(--nav-offset) + 32px) 0 44px;
}

.hero__media-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__poster,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero__video {
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 1.5s var(--ease-out-expo);
}

.hero__video.is-ready {
  opacity: 0.56;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.94) 0%, rgba(5, 7, 11, 0.78) 46%, rgba(5, 7, 11, 0.25) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.52) 0%, rgba(5, 7, 11, 0.08) 38%, rgba(5, 7, 11, 0.96) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 40px;
  align-items: end;
}

.hero__title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 76px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero__lede {
  margin-top: 22px;
  max-width: 34rem;
  font-size: clamp(15.5px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.58;
  color: #a1b0c4;
}

.hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__side-card {
  padding: 22px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__side-logo {
  width: 48px;
  height: auto;
  object-fit: contain;
}

.hero__side-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.hero__side-copy {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fg-muted);
}

.hero__stats {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.hero-stat__val {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.hero-stat__lbl {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

@media (max-width: 960px) {
  .hero {
    min-height: 100svh;
    padding-top: 112px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero__actions .btn {
    width: 100%;
  }
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Sub-page Editorial Hero */
.page-hero {
  position: relative;
  min-height: clamp(380px, 48vh, 540px);
  display: flex;
  align-items: flex-end;
  padding: 136px 0 56px;
  overflow: hidden;
  background: #05070b;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img,
.page-hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.64;
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.92) 0%, rgba(5, 7, 11, 0.68) 52%, rgba(5, 7, 11, 0.24) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.42) 0%, rgba(5, 7, 11, 0.12) 45%, #05070b 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 32px;
  align-items: end;
}

.page-hero__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 66px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.page-hero__lede {
  margin-top: 18px;
  max-width: 38rem;
  font-size: clamp(15px, 1.15vw, 17.5px);
  color: #a1b0c4;
}

.page-hero__mark {
  width: 84px;
  opacity: 0.85;
}

@media (max-width: 760px) {
  .page-hero {
    min-height: auto;
    padding: 124px 0 48px;
  }
  .page-hero__inner {
    grid-template-columns: 1fr;
  }
  .page-hero__mark {
    display: none;
  }
}

/* Scroll-linked Manifesto Section */
.manifesto {
  padding: clamp(88px, 11vw, 144px) 0 clamp(120px, 13vw, 176px);
  background: #05070b;
  position: relative;
}

.manifesto__wrap {
  max-width: 980px;
}

.manifesto__text {
  margin-top: 24px;
  font-size: clamp(28px, 3.6vw, 50px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.manifesto__word {
  color: rgba(203, 213, 225, 0.48);
  transition: color 0.18s linear;
}

.manifesto__word.is-lit {
  color: #ffffff;
}

.manifesto__meta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  color: var(--fg-muted);
}

/* Curved Sheet Transitions (craft.md) */
.sheet {
  position: relative;
  z-index: 5;
  padding: clamp(76px, 8vw, 128px) 0;
}

.sheet--light {
  background: var(--surface-light);
  color: var(--ink-dark);
  border-radius: 40px 40px 0 0;
  margin-top: -36px;
}

.sheet--dark {
  background: #070b12;
  color: var(--fg);
  border-radius: 40px 40px 0 0;
  margin-top: -36px;
}

.sheet--flat-dark {
  background: #05070b;
  color: var(--fg);
}

.sheet--flat-light {
  background: var(--surface-light);
  color: var(--ink-dark);
}

@media (max-width: 760px) {
  .sheet--light,
  .sheet--dark {
    border-radius: 28px 28px 0 0;
    margin-top: -24px;
  }
}

/* Light Brand Bar Header (Hosts light-mode horizontal Digicon logos cleanly) */
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-dark);
}

.sheet--light .section-head,
.sheet--flat-light .section-head {
  border-bottom-color: var(--border-light);
}

.section-head__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.3vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 19ch;
}

.section-head__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.section-head__logo--tall {
  height: 76px;
}

/* Editorial Capability Index Rows */
.cap-list {
  display: flex;
  flex-direction: column;
}

.cap-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 16px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.28s ease, padding-inline 0.28s var(--ease-out-expo);
}

.cap-row:hover {
  background: rgba(9, 17, 28, 0.035);
  padding-inline: 22px;
}

.cap-row__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent-deep);
}

.cap-row__title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink-dark);
}

.cap-row__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.cap-row__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(9, 17, 28, 0.16);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease-out-expo), background 0.25s ease, color 0.25s ease;
}

.cap-row:hover .cap-row__arrow {
  background: var(--ink-dark);
  color: #ffffff;
  transform: translate(2px, -2px);
}

@media (max-width: 900px) {
  .cap-row {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px 16px;
    padding-inline: 0;
  }
  .cap-row:hover {
    padding-inline: 8px;
  }
  .cap-row__desc {
    grid-column: 2 / -1;
  }
  .cap-row__arrow {
    grid-column: 3;
    grid-row: 1;
  }
}

/* Bento & Media Showcase Grids */
.bento-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .span-7, .span-5, .span-6, .span-4, .span-8 {
    grid-column: span 12;
  }
}

.card-dark {
  border-radius: 26px;
  background: #0b111b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out-expo);
}

.card-dark:hover {
  border-color: rgba(125, 211, 252, 0.32);
}

.card-light {
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(9, 17, 28, 0.09);
  box-shadow: 0 12px 34px rgba(9, 17, 28, 0.045);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #070b12;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.card-media--tallorder {
  aspect-ratio: 2 / 1;
  background: #276e81;
}

.card-media--tallorder img {
  object-fit: contain;
}

.card-media--sage {
  aspect-ratio: 1024 / 584;
  background: #ffffff;
}

.card-media--sage img {
  object-fit: contain;
}

.card-media--pharmark {
  aspect-ratio: 16 / 9;
  background: #070b12;
}

.card-media--pharmark img {
  object-fit: cover;
  object-position: center 20%;
}

.card-media--portrait {
  aspect-ratio: 4 / 5;
  background: #050c12;
}

.card-media--portrait img {
  object-fit: cover;
  object-position: center 78%;
}

.hardware-split {
  margin-top: 28px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b111b;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
}

@media (max-width: 860px) {
  .hardware-split {
    grid-template-columns: 1fr;
  }
}

.card-dark:hover .card-media img,
.card-light:hover .card-media img {
  transform: scale(1.045);
}

.card-body {
  padding: clamp(22px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card-body__title {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.card-body__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-muted);
}

.sheet--light .card-body__text,
.sheet--flat-light .card-body__text {
  color: var(--ink-muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.tag-pill {
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
}

.sheet--light .tag-pill,
.sheet--flat-light .tag-pill {
  border-color: rgba(9, 17, 28, 0.14);
  color: var(--ink-dark);
  background: rgba(9, 17, 28, 0.035);
}

/* Silver Logo Smoked-Glass Card Showcase */
.ecosystem-panel {
  padding: clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 100%;
  background: radial-gradient(circle at 80% 10%, rgba(25, 211, 255, 0.11), transparent 55%), #0a101a;
}

.ecosystem-panel__logo {
  width: 148px;
  height: auto;
  object-fit: contain;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: #cbd5e1;
}

.sheet--light .check-list li,
.sheet--flat-light .check-list li {
  color: var(--ink-muted);
}

.check-list__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(25, 211, 255, 0.45);
  background: rgba(25, 211, 255, 0.12);
  color: var(--accent);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.sheet--light .check-list__dot,
.sheet--flat-light .check-list__dot {
  border-color: rgba(2, 132, 199, 0.35);
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-deep);
}

/* Interactive Tabs (Solutions Stack Switcher) */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.tab-btn {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn:hover {
  color: #ffffff;
  border-color: rgba(125, 211, 252, 0.45);
}

.tab-btn.is-active {
  background: #ffffff;
  color: #070b12;
  border-color: #ffffff;
}

.tab-panel {
  display: none;
  margin-top: 28px;
  padding: clamp(26px, 3vw, 42px);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b111b;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.tab-panel.is-active {
  display: grid;
}

@media (max-width: 860px) {
  .tab-panel.is-active {
    grid-template-columns: 1fr;
  }
}

/* Dark Banner Partnership Feature */
.banner-cta {
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #0b1929 0%, #070c14 60%, #0d2136 100%);
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 36px;
  align-items: center;
}

.banner-cta__art {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.2);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.banner-cta__art img {
  width: 100%;
  height: auto;
}

@media (max-width: 860px) {
  .banner-cta {
    grid-template-columns: 1fr;
  }
}

/* Contact Page Form & Scope Chips */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
}

@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scope-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.22s var(--ease-out-expo);
}

.scope-chip:hover {
  border-color: rgba(125, 211, 252, 0.5);
  color: #ffffff;
}

.scope-chip.is-selected {
  background: rgba(25, 211, 255, 0.14);
  border-color: var(--accent);
  color: #ffffff;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  font-size: 15px;
  color: #ffffff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field select option {
  background: #0b111b;
  color: #ffffff;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(25, 211, 255, 0.05);
}

.qr-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 20px;
  background: #f8fafc;
  color: var(--ink-dark);
  border: 1px solid rgba(9, 17, 28, 0.08);
}

.qr-card__img {
  width: 112px;
  height: 112px;
  border-radius: 12px;
  background: #ffffff;
  padding: 6px;
  border: 1px solid rgba(9, 17, 28, 0.1);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .qr-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.form-status {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status--ok {
  background: rgba(25, 211, 255, 0.12);
  border: 1px solid rgba(25, 211, 255, 0.4);
  color: #e0f2fe;
}

/* Global Dark Footer (hosts White Stacked Logo) */
.site-footer {
  background: #04060a;
  color: var(--fg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-logo-white {
  width: 136px;
  height: auto;
  object-fit: contain;
}

.footer-tagline {
  margin-top: 18px;
  max-width: 28ch;
  font-size: 14.5px;
  color: var(--fg-muted);
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: #cbd5e1;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-dim);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Portfolio Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s ease;
}

.filter-btn:hover {
  color: #ffffff;
  border-color: rgba(125, 211, 252, 0.45);
}

.filter-btn.is-active {
  background: #ffffff;
  color: #070b12;
  border-color: #ffffff;
}

.work-card.is-hidden {
  display: none;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal],
  .appear {
    opacity: 1 !important;
    transform: none !important;
  }
  .manifesto__word {
    color: #ffffff;
  }
}
