/* ==========================================================================
   Binary Bridge AI - Premium Digital Agency
   1. Reset  2. Variables  3. Typography  4. Global  5. Layout  6. Buttons
   7. Header  8. Navigation  9. Hero  10. Sections  11. Cards  12. Forms
   13. Testimonials  14. Footer  15. Animations  16. Responsive  17. A11y
   ========================================================================== */

/* -------------------------------- 1. Reset ------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
}

/* ------------------------------ 2. Variables ------------------------------ */
:root {
  /* surfaces */
  --bg-primary: #050505;
  --bg-secondary: #0A0A0D;
  --bg-surface: #101016;
  --bg-elevated: #16161D;

  /* purple system */
  --purple-dark: #3B176D;
  --purple: #7C3AED;
  --purple-bright: #A855F7;
  --purple-light: #C084FC;
  --glow: rgba(168, 85, 247, .25);
  --glow-soft: rgba(124, 58, 237, .14);

  /* text */
  --text-primary: #F5F5F7;
  --text-secondary: #A1A1AA;
  --text-muted: #6B6B74;

  /* lines */
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);

  /* type */
  --font-display: 'Fraunces', 'Iowan Old Style', serif;
  --font-body: 'Manrope', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* rhythm */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 64px);
  --section-pad: clamp(60px, 10vw, 144px);
  --radius-sm: 2px;
  --radius-md: 4px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ----------------------------- 3. Typography ------------------------------ */
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -.02em;
}

h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 500;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: -.01em;
}

p {
  color: var(--text-secondary);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 52ch;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--purple-light);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--purple-bright);
  display: inline-block;
}

.num {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: .85rem;
  letter-spacing: .05em;
}

::selection {
  background: var(--purple);
  color: #fff;
}

/* -------------------------------- 4. Global -------------------------------- */
html,
body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

body {
  background-image:
    radial-gradient(circle at 15% 0%, var(--glow-soft), transparent 40%),
    radial-gradient(circle at 100% 30%, rgba(124, 58, 237, .08), transparent 45%);
  background-attachment: fixed;
}

main {
  display: block;
  overflow-x: hidden;
  width: 100%;
}

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

.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section-tight {
  padding-block: clamp(48px, 7vw, 96px);
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
}

.text-center {
  text-align: center;
}

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

/* -------------------------------- 5. Layout -------------------------------- */
.grid {
  display: grid;
  gap: var(--gutter);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-12 {
  grid-template-columns: repeat(12, 1fr);
}

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.15fr .85fr;
}

.split.reverse>*:first-child {
  order: 2;
}

/* -------------------------------- 6. Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 1.05em 1.8em;
  border-radius: var(--radius-sm);
  transition: transform .45s var(--ease), background .3s ease, border-color .3s ease, color .3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--purple-bright);
  color: var(--purple-light);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-strong);
  padding: .4em 0;
  border-radius: 0;
}

.btn-ghost:hover {
  color: var(--purple-light);
  border-color: var(--purple-bright);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--purple-bright);
  outline-offset: 3px;
}

/* -------------------------------- 7. Header -------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 16px;
  transition: padding .4s var(--ease), background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(5, 5, 5, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, .6);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  justify-self: start;
}

.main-nav {
  justify-self: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
}

.logo-img {
  width: auto;
  object-fit: contain;
  display: block;
  transition: filter .35s var(--ease), transform .35s var(--ease), height .35s var(--ease);
  filter: drop-shadow(0 0 0px transparent);
}

.site-header .logo-img {
  height: 70px;
  max-height: 80px;
}

.site-header.is-scrolled .logo-img {
  height: 52px;
}

.logo:hover .logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 28px rgba(168, 85, 247, 0.85)) brightness(1.15);
}

/* -------------------------------- 8. Navigation -------------------------------- */
.main-nav ul {
  display: flex;
  gap: clamp(20px, 2.4vw, 40px);
}

.main-nav a {
  font-size: .88rem;
  color: var(--text-secondary);
  position: relative;
  padding-block: 4px;
  transition: color .3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--purple-bright);
  transition: right .35s var(--ease);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--text-primary);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  z-index: 250;
  position: relative;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  width: 22px;
  transition: transform .35s var(--ease), opacity .3s ease, background .3s ease, width .3s ease;
  transform-origin: center;
}

.nav-toggle.is-active {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: #ffffff;
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: #ffffff;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  background: rgba(5, 5, 5, .98);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4.5vh, 44px) var(--gutter) clamp(16px, 2.5vh, 28px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  overflow: hidden !important;
  touch-action: none;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  font-size: 1.8rem;
  font-family: sans-serif;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 260;
  transition: all .3s ease;
  border-radius: 0;
  box-shadow: none;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, .22);
  color: #ffffff;
  border-color: #ffffff;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-height: 100%;
  max-width: 540px;
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
  position: relative;
}

.mobile-nav-menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-nav-menu ul {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.8vh, 16px);
  margin-block: auto;
}

.mobile-nav-menu a {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 7.5vw, 3.2rem);
  font-weight: 400;
  color: var(--text-primary);
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  transition: color .3s ease, transform .3s ease;
}

.mobile-nav-menu a span {
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.mobile-nav-menu a:hover {
  color: var(--purple-light);
  transform: translateX(8px);
}

.mobile-nav-footer {
  border-top: 1px solid var(--border);
  padding-top: clamp(12px, 1.8vh, 18px);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.4vh, 14px);
  flex-shrink: 0;
}

.mobile-nav-info span {
  display: block;
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.mobile-nav-info a {
  font-size: .9rem;
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-nav-footer .btn-large {
  padding: 12px 24px;
  font-size: .85rem;
}

/* -------------------------------- 9. Hero -------------------------------- */
/* -------------------------------- 9. Hero -------------------------------- */
.hero {
  min-height: 100svh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 20px;
  position: relative;
  text-align: center;
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, var(--glow), transparent 70%),
    radial-gradient(ellipse 50% 45% at 50% 85%, var(--glow-soft), transparent 70%);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  justify-content: space-evenly;
  max-height: 950px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--purple-light);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  padding: .4em 1.1em;
  border-radius: 100px;
  margin-bottom: 12px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 8px var(--purple-bright);
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px;
  margin-bottom: 18px;
  width: 100%;
}

.hero-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.22em;
}

.line-1 {
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  line-height: 1.02;
  font-weight: 500;
}

.line-2 {
  font-size: clamp(4.8rem, 11.5vw, 9.6rem);
  line-height: 1.02;
  margin-top: -4px;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  animation: dropImpact 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.word-1 {
  animation-delay: 0.12s;
}

.word-2 {
  animation-delay: 0.72s;
}

.word-3 {
  animation-delay: 1.35s;
  color: var(--purple-light);
  font-style: italic;
  font-weight: 300;
  text-shadow: 0 0 28px var(--glow);
}

@keyframes dropImpact {
  0% {
    opacity: 0;
    transform: translateY(-140px) scale(1.08, 0.92);
  }

  65% {
    opacity: 1;
    transform: translateY(14px) scale(0.94, 1.06);
  }

  80% {
    transform: translateY(-6px) scale(1.03, 0.97);
  }

  90% {
    transform: translateY(2px) scale(0.99, 1.01);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1, 1);
  }
}

.hero-lede {
  font-size: clamp(.98rem, 1.5vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 54ch;
  line-height: 1.55;
  margin-bottom: 24px;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.btn-large {
  padding: 15px 32px;
  font-size: .92rem;
  border-radius: 0;
}

.btn-primary.btn-large {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: 0;
  box-shadow: 0 0 24px var(--glow-soft);
}

.btn-primary.btn-large:hover {
  background: var(--purple-light);
  color: var(--bg-primary);
  box-shadow: 0 0 32px var(--glow);
}

.btn-secondary.btn-large {
  border-radius: 0;
}

.hero-meta-bar {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 2.2vw, 32px);
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px clamp(12px, 2.5vw, 30px);
  border-radius: 0;
  flex-wrap: nowrap;
  justify-content: center;
}

.meta-item {
  text-align: left;
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  flex-shrink: 0;
}

.meta-item strong {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: .85rem;
  text-transform: none;
  letter-spacing: normal;
  margin-top: 2px;
  white-space: nowrap;
}

.meta-divider {
  width: 1px;
  height: 22px;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* Simple page hero (inner pages) */
.page-hero {
  padding-top: calc(var(--section-pad) + 60px);
  padding-bottom: var(--section-pad);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 55% 60% at 85% 0%, var(--glow-soft), transparent 60%);
}

.page-hero h1 {
  max-width: 18ch;
  margin-top: 18px;
}

.page-hero .lede {
  margin-top: 22px;
}

/* -------------------------------- 10. Sections -------------------------------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: clamp(40px, 6vw, 72px);
  flex-wrap: wrap;
}

.section-head h2 {
  margin-top: 16px;
  max-width: 14ch;
}

.section-head .lede {
  margin-top: 0;
}

/* marquee */
.marquee-wrap {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
  padding-block: 40px;
  background: transparent;
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(60px, 12vw, 160px);
  z-index: 3;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary) 0%, rgba(5, 5, 5, 0) 100%);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-primary) 0%, rgba(5, 5, 5, 0) 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 96px;
  width: max-content;
  will-change: transform;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding-inline: 20px;
}

.marquee-item img {
  height: 72px;
  max-height: 84px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) invert(90%) opacity(0.65);
}

/* problem list */
.problem-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}

.problem-item {
  background: var(--bg-primary);
  padding: 28px 32px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.problem-item .num {
  padding-top: .2em;
}

/* BUILD MARKET OPTIMIZE triptych */
.bmo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  margin-top: 56px;
}

.bmo-panel {
  padding: 44px 34px;
  border-right: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: background .5s var(--ease), flex-grow .5s var(--ease);
}

.bmo-panel:last-child {
  border-right: none;
}

.bmo-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s var(--ease);
  background: linear-gradient(180deg, var(--glow-soft), transparent 70%);
}

.bmo-panel.is-active::before,
.bmo-panel:hover::before {
  opacity: 1;
}

.bmo-panel .num {
  display: block;
  margin-bottom: 28px;
}

.bmo-panel h3 {
  margin-bottom: 14px;
}

.bmo-panel p {
  font-size: .92rem;
  margin-bottom: 22px;
}

.bmo-services {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .5s var(--ease), opacity .4s ease;
}

.bmo-panel.is-active .bmo-services,
.bmo-panel:hover .bmo-services {
  max-height: 260px;
  opacity: 1;
}

.bmo-services li {
  font-size: .85rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.bmo-services li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--purple-bright);
}

/* process milestones timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: clamp(12px, 1.8vw, 28px);
  margin-top: 56px;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-bright) 0%, rgba(255, 255, 255, 0.18) 100%);
  z-index: 1;
}

.process-milestone {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.milestone-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--purple-bright);
  box-shadow: 0 0 12px var(--glow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  color: var(--purple-light);
  margin-bottom: 24px;
  transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}

.process-milestone:hover .milestone-node {
  transform: scale(1.12);
  border-color: var(--text-primary);
  box-shadow: 0 0 18px var(--glow);
}

.process-milestone h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
  font-family: var(--font-body);
}

.process-milestone p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 24ch;
}

/* industries */
.industry-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  padding: 20px 28px;
  border-radius: 16px;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  white-space: nowrap;
  transition: border-color .3s ease, background .3s ease, transform .3s ease, box-shadow .3s ease;
  flex-shrink: 0;
  min-width: 140px;
}

.industry-item i {
  color: var(--purple-light);
  font-size: 1.4rem;
  transition: transform .3s ease, color .3s ease;
}

.industry-item:hover {
  border-color: var(--purple-bright);
  background: var(--bg-elevated);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px -8px var(--glow-soft);
  color: #ffffff;
}

.industry-item:hover i {
  transform: scale(1.15);
  color: var(--purple-bright);
}

/* final CTA */
.final-cta {
  text-align: left;
  position: relative;
  border-top: 1px solid var(--border);
  overflow: hidden;
  padding-block: var(--section-pad);
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, var(--glow), transparent 70%);
}

.final-cta .eyebrow {
  margin-bottom: 14px;
}

.final-cta h2 {
  max-width: 16ch;
  margin-top: 6px;
}

.final-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}


/* -------------------------------- 11. Cards -------------------------------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 38px 32px;
  border-radius: var(--radius-md);
  transition: border-color .35s ease, transform .35s var(--ease);
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 8px;
}

.service-card {
  background: var(--bg-primary);
  padding: 44px 34px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card h3 {
  margin-top: 20px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: .92rem;
  flex: 1;
  margin-bottom: 24px;
}

.work-list {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}

.work-item {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(28px, 5vw, 48px);
  border-top: 1px solid var(--border);
  position: relative;
}

.work-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.work-split.reverse {
  grid-template-columns: .9fr 1.1fr;
}

.work-split.reverse>*:first-child {
  order: 2;
}

.work-list .work-item:last-child {
  border-bottom: 1px solid var(--border);
}

.work-media {
  aspect-ratio: 16/9;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.work-media::after {
  content: 'Binary Bridge AI Case Study';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-muted);
  text-align: center;
  padding: 12px;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  transition: transform .6s var(--ease);
}

.work-item:hover .work-media img {
  transform: scale(1.04);
}

.work-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.work-item h3 {
  margin-bottom: 12px;
}

.work-item p {
  max-width: 48ch;
  margin-bottom: 18px;
}

.career-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding-block: clamp(32px, 5vw, 48px);
  border-top: 1px solid var(--border);
  width: 100%;
  box-sizing: border-box;
  transition: background .35s ease;
}

.work-list .career-card:last-child {
  border-bottom: 1px solid var(--border);
}

.career-card-content {
  flex: 1;
  min-width: 0;
}

.career-card h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  margin-bottom: 12px;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: -.01em;
}

.career-card p {
  font-size: .96rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 62ch;
}

.career-card .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.faq-item {
  border-top: 1px solid var(--border);
}

.faq-list {
  margin-top: 20px;
}

.faq-list .faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
  padding-block: 26px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
}

.faq-q .plus {
  font-family: var(--font-mono);
  color: var(--purple-light);
  transition: transform .35s var(--ease);
  flex-shrink: 0;
}

.faq-item.is-open .faq-q .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}

.faq-a p {
  padding-bottom: 26px;
  max-width: 60ch;
}

/* -------------------------------- 12. Forms -------------------------------- */
.form-field {
  margin-bottom: 26px;
}

.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-strong);
  font-size: 1rem;
  color: var(--text-primary);
  background: transparent;
  transition: border-color .3s ease;
}

.form-field select {
  padding-block: 14px;
}

.form-field select option {
  background: var(--bg-surface);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--purple-bright);
  outline: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

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

.form-field.error input,
.form-field.error textarea,
.form-field.error select {
  border-color: #E4574C;
}

.field-error {
  display: none;
  font-size: .78rem;
  color: #E4574C;
  margin-top: 8px;
  font-family: var(--font-mono);
}

.form-field.error .field-error {
  display: block;
}

.form-note {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 22px;
}

.form-success {
  display: none;
  border: 1px solid var(--purple-bright);
  background: var(--glow-soft);
  padding: 22px 24px;
  margin-top: 24px;
  font-size: .9rem;
}

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

.contact-map-wrap {
  margin-top: 28px;
  width: 100%;
  max-width: 100%;
  height: 360px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 0;
  position: relative;
  box-sizing: border-box;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  inset: 0;
  filter: grayscale(100%) invert(92%) contrast(83%);
  pointer-events: auto;
}

/* -------------------------------- 13. Testimonials -------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  aspect-ratio: 9/16;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.testimonial-card .poster-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
}

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .3s ease, background .3s ease;
}

.play-btn::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--text-primary);
  margin-left: 3px;
}

.testimonial-card:hover .play-btn {
  border-color: var(--purple-bright);
  background: var(--glow-soft);
}

.testimonial-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.testimonial-card.is-playing video {
  display: block;
}

.testimonial-card.is-playing .poster-label {
  display: none;
}

/* journey milestones */
.journey-split {
  align-items: flex-start;
}

.journey-timeline {
  position: relative;
  padding-left: 36px;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-strong);
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -36px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--purple-bright);
  box-shadow: 0 0 0 3px var(--glow-soft), 0 0 12px var(--glow);
  transition: transform .3s var(--ease), border-color .3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  border-color: var(--purple-light);
}

.timeline-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}

.timeline-content p {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* founder note */
.founder {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.founder-img-wrap {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.founder-img {
  aspect-ratio: 3/4;
  background: var(--bg-surface);
  border: none;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.founder-img::after {
  content: 'Sagnik Das — Founder & Director';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--text-muted);
}

.founder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}

.founder-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-primary);
}

.founder-quote::before {
  content: '“';
  color: var(--purple-light);
}

.founder-quote::after {
  content: '”';
  color: var(--purple-light);
}

.founder-attribution {
  margin-top: 28px;
}

.founder-attribution strong {
  display: block;
  font-family: var(--font-body);
  font-size: 1.05rem;
}

.founder-attribution span {
  font-size: .85rem;
  color: var(--text-muted);
}

/* 13. Testimonials */
.testimonial-slider-wrap {
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin-inline: auto;
  padding-block: 20px 10px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.testimonial-track {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  padding-inline: 110px;
}

.testimonial-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.testimonial-card {
  aspect-ratio: 9 / 16;
  width: 210px;
  flex-shrink: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple-bright);
  box-shadow: 0 16px 40px -12px var(--glow-soft);
}

.testimonial-meta {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 210px;
}

.client-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.client-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--purple-light);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.testimonial-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.testimonial-arrow:hover {
  background: var(--purple-dark);
  border-color: var(--purple-bright);
  color: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--glow-soft);
}

.testimonial-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poster-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(10, 10, 13, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px;
  text-align: center;
  transition: opacity 0.4s var(--ease), visibility 0.4s ease;
}

.testimonial-card.is-playing .poster-label {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--purple);
  color: #ffffff;
  border: 1px solid var(--purple-light);
  box-shadow: 0 0 20px var(--glow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.play-btn::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 3px;
}

.play-btn:hover {
  transform: scale(1.1);
  background: var(--purple-bright);
  box-shadow: 0 0 28px var(--glow);
}

.poster-label span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* newsletter */
.newsletter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 4vw, 48px);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.newsletter-text {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

.newsletter-inner h3 {
  font-size: clamp(1.25rem, 3.5vw, 2.1rem);
  line-height: 1.25;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.newsletter-note {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
}

.newsletter-form input[type="email"] {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: .95rem;
  border-radius: 0;
  transition: border-color .3s ease, background .3s ease;
  box-sizing: border-box;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--purple-bright);
  outline: none;
  background: rgba(255, 255, 255, .07);
}

.newsletter-form button[type="submit"] {
  padding: 14px 28px;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: 1px solid var(--text-primary);
  white-space: nowrap;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
  flex-shrink: 0;
  border-radius: 0;
  box-sizing: border-box;
}

.newsletter-form button[type="submit"]:hover {
  background: var(--purple-light);
  border-color: var(--purple-light);
  color: var(--bg-primary);
}

/* -------------------------------- 14. Footer -------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: clamp(54px, 7vw, 84px);
  padding-bottom: 36px;
  position: relative;
}

.site-footer .logo-img {
  height: 110px;
  max-height: 130px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 32ch;
  font-size: .9rem;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple-light);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: .9rem;
  color: var(--text-secondary);
  transition: color .3s ease;
}

.footer-col a:hover {
  color: var(--purple-light);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-secondary);
  word-break: break-word;
}

.footer-contact-list li i {
  color: var(--purple-light);
  margin-top: 4px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .3s ease, color .3s ease;
}

.footer-social a:hover {
  border-color: var(--purple-bright);
  color: var(--purple-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: .8rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: .8rem;
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--purple-light);
}

/* -------------------------------- 15. Animations -------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="stagger"]>* {
  transition-delay: calc(var(--i, 0) * 90ms);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------------------- 16. Responsive -------------------------------- */
@media (max-width:1080px) {
  .footer-top {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width:900px) {

  .testimonial-slider-wrap {
    max-width: 310px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
  }

  .testimonial-track {
    gap: 16px;
    padding-inline: 60px;
  }

  .testimonial-card-item {
    gap: 12px;
  }

  .testimonial-card {
    width: 190px;
  }

  .marquee-wrap {
    padding-block: 20px;
  }

  .marquee-wrap::before,
  .marquee-wrap::after {
    width: 28px;
  }

  .marquee-track {
    gap: 28px;
  }

  .marquee-item {
    padding-inline: 0;
  }

  .marquee-item img {
    height: 32px;
    max-height: 38px;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .main-nav,
  .header-actions .btn-secondary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: clamp(80px, 12vh, 110px);
    padding-bottom: clamp(32px, 5vh, 64px);
    box-sizing: border-box;
    overflow: hidden;
  }

  .hero-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-title .line-1 {
    font-size: clamp(3.0rem, 10.5vw, 4.8rem);
  }

  .hero-title .line-2 {
    font-size: clamp(4.0rem, 14.5vw, 6.8rem);
  }

  .hero-lede {
    font-size: clamp(1.05rem, 3.8vw, 1.25rem);
    margin-bottom: 0;
    max-width: 44ch;
    line-height: 1.5;
    padding-inline: 6px;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
    gap: 14px;
    margin-bottom: 0;
  }

  .hero-actions .btn-large {
    width: 100%;
    max-width: 340px;
    padding: 16px 28px;
    font-size: .95rem;
    text-align: center;
    justify-content: center;
  }

  .hero-meta-bar {
    display: none !important;
  }

  .split,
  .split.reverse,
  .work-split,
  .work-split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse>*:first-child,
  .work-split.reverse>*:first-child {
    order: 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .bmo {
    grid-template-columns: 1fr;
  }

  .bmo-panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .bmo-services {
    max-height: none !important;
    opacity: 1 !important;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .problem-list {
    grid-template-columns: 1fr;
  }

  .work-item {
    grid-template-columns: 1fr;
  }

  .career-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .career-card .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .process-timeline {
    display: flex;
    flex-direction: column;
    gap: 36px;
    position: relative;
    margin-top: 40px;
    padding-left: 0;
  }

  .process-timeline::before {
    display: block !important;
    content: '';
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 22px;
    width: 2px;
    right: auto;
    height: auto;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--purple-bright) 0%, rgba(255, 255, 255, 0.15) 100%);
    z-index: 1;
  }

  .process-milestone {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 8px;
    align-items: center;
    border-left: none !important;
    padding-left: 0 !important;
    position: relative;
    z-index: 2;
  }

  .milestone-node {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    font-size: .78rem;
    margin: 0 !important;
    background: var(--bg-primary);
    z-index: 2;
    flex-shrink: 0;
  }

  .process-milestone h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.2rem;
    margin: 0 !important;
    align-self: center;
  }

  .process-milestone p {
    grid-column: 2;
    grid-row: 2;
    font-size: .88rem;
    max-width: 100%;
    color: var(--text-secondary);
    margin: 0 !important;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .founder {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 28px;
  }

  .founder-img-wrap {
    max-width: 280px;
    width: 100%;
  }

  .hero-top,
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: clamp(20px, 4vw, 32px);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .newsletter-text {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button[type="submit"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
    text-align: center;
  }

  .contact-map-wrap {
    height: 280px;
    margin-top: 20px;
  }
}

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  :root {
    --section-pad: 56px;
  }
}

/* -------------------------------- 17. Accessibility -------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--purple);
  color: #fff;
  padding: 14px 20px;
  z-index: 999;
  font-family: var(--font-mono);
  font-size: .85rem;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

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

/* -------------------------------- 18. Cookie Consent Banner -------------------------------- */
.cookie-banner {
  position: fixed;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Desktop / Laptop: Bottom Left */
@media (min-width: 768px) {
  .cookie-banner {
    bottom: 24px;
    left: 24px;
    width: 400px;
    max-width: calc(100vw - 48px);
    transform: translateY(24px);
  }
}

/* Mobile: Bottom Full Width */
@media (max-width: 767px) {
  .cookie-banner {
    bottom: 16px;
    left: 16px;
    right: 16px;
    width: calc(100% - 32px);
    transform: translateY(20px);
  }
}

.cookie-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-banner-inner {
  background: rgba(18, 16, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(124, 58, 237, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-banner-header .cookie-icon {
  font-size: 1.25rem;
  color: var(--purple-light, #a78bfa);
}

.cookie-banner-header h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary, #ffffff);
  margin: 0;
}

.cookie-banner-content p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted, #94a3b8);
  margin: 6px 0 0 0;
}

.cookie-banner-content p a {
  color: var(--purple-light, #a78bfa);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cookie-banner-content p a:hover {
  color: #ffffff;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.cookie-banner-actions .btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
  border-radius: 10px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-banner-actions .btn-sm {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

/* -------------------------------- 19. Team Members Section -------------------------------- */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  width: 100%;
}

.team-card {
  flex: 0 0 calc(25% - 21px);
  max-width: 270px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover {
  transform: translateY(-6px);
}

/* Curved rectangular frame for image */
.team-img-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface-card, rgba(255, 255, 255, 0.03));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover .team-img-frame {
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(124, 58, 237, 0.15);
}

.team-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-img-frame img {
  transform: scale(1.04);
}

.team-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--text-muted);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(124, 58, 237, 0.08));
}

/* Hover Social Overlay */
.team-social-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 18, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-social-overlay {
  opacity: 1;
  pointer-events: auto;
}

.team-social-overlay a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transform: translateY(12px) scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.team-card:hover .team-social-overlay a {
  transform: translateY(0) scale(1);
}

.team-social-overlay a:hover {
  background: var(--purple);
  border-color: var(--purple-light);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
}

.team-info {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.team-role {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--purple-light);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .team-card {
    flex: 0 0 calc(33.333% - 20px);
    max-width: 260px;
  }
}

@media (max-width: 640px) {
  .team-card {
    flex: 0 0 calc(50% - 14px);
    max-width: 220px;
    min-width: 140px;
  }
}

@media (max-width: 420px) {
  .team-card {
    flex: 0 0 100%;
    max-width: 260px;
  }
}