/* ═══════════════════════════════════════════
   HJC MEDIA GROUP — SELF-CONTAINED STYLESHEET
   No external dependencies required
═══════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #ffffff; color: #1a1a2e; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, .inquire-title, .text-gradient { font-family: 'Plus Jakarta Sans', Manrope, sans-serif; }
img { max-width: 100%; display: block; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }
a { text-decoration: none; }
ul { list-style: none; }
input { font-family: inherit; }

/* ─── DIAMOND PATTERN BACKGROUND ─── */
.diamond-bg {
  background-color: #0a1628;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cdefs%3E%3Cstyle%3E.d%7Bfill:none;stroke-width:1%7D%3C/style%3E%3C/defs%3E%3Crect width='100' height='100' fill='%230a1628'/%3E%3Cpolygon class='d' points='50,4 96,50 50,96 4,50' stroke='%23162444' opacity='0.9'/%3E%3Cpolygon class='d' points='50,18 82,50 50,82 18,50' stroke='%230f1d38' opacity='0.7'/%3E%3Cpolygon class='d' points='0,50 50,0 100,50 50,100' stroke='%231a2d4a' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}
/* ─── PAGE SWITCHING — Motion JS handles entrance, CSS handles exit ─── */
.page { display: none; }
.page.active { display: block; }

/* Exit animation when site.js adds .fade-out */
.page.fade-out {
  pointer-events: none;
  animation: pageExit 0.2s ease-in forwards;
}
@keyframes pageExit {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}

/* Reduced-motion fallback */
.motion-reduced .page.active  { opacity: 1 !important; transform: none !important; }
.motion-reduced .page.fade-out { animation: none !important; }
.motion-reduced .reveal        { opacity: 1 !important; transform: none !important; }

/* Will-change hints for GPU compositing */
.page.active h1,
.page.active h2,
.page.active .reveal {
  will-change: transform, opacity;
}


/* ─── CUSTOM COMPONENTS ─── */
.glass-card { background: rgba(18,20,20,0.2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid rgba(255,255,255,0.15); border-left: 1px solid rgba(255,255,255,0.15); border-right: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.glass-card-light { background: rgba(255,255,255,0.04); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); box-shadow: inset 0 1px 1px rgba(255,255,255,0.08); }
.glow-hover:hover { filter: drop-shadow(0 0 15px rgba(0,185,241,0.5)); }
.cyan-glow { filter: drop-shadow(0 0 8px rgba(0,185,241,0.4)); }
.text-gradient { background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-image: linear-gradient(to right, #ffffff, #73d2ff); }
.hero-overlay { background: linear-gradient(to bottom, rgba(18,20,20,0.85) 0%, rgba(18,20,20,0.5) 50%, rgba(18,20,20,1) 100%); }
.bg-mesh { background-image: radial-gradient(circle at 15% 50%, rgba(0,185,241,0.05), transparent 25%), radial-gradient(circle at 85% 30%, rgba(0,185,241,0.08), transparent 25%); }
.mesh-gradient { background: radial-gradient(at top right, #00455d55, transparent), radial-gradient(at bottom left, #121414, #0c0f0f); }
.project-overlay { background: linear-gradient(to top, rgba(7,15,38,0.92) 0%, rgba(7,15,38,0.4) 50%, transparent 100%); }

/* ─── ANIMATIONS ─── */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; } .d5 { transition-delay: 0.5s; } .d6 { transition-delay: 0.6s; }

/* ─── OUR WORK / PORTFOLIO ─── */
.work-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.work-card {
  display: block;
  position: relative;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0b0f16;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}
.work-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(115, 210, 255, 0.12) 0%, transparent 42%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 2;
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(115, 210, 255, 0.45);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(115, 210, 255, 0.15),
    0 0 32px rgba(0, 185, 241, 0.12);
}
.work-card:hover::before {
  opacity: 1;
}
.work-card:focus-visible {
  outline: none;
  border-color: #73d2ff;
  box-shadow: 0 0 0 2px #121414, 0 0 0 4px rgba(115, 210, 255, 0.55);
}
.work-card__preview {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f1628;
  overflow: hidden;
}
.work-card__preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(4, 7, 13, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.work-card:hover .work-card__preview::after {
  opacity: 1;
}
.work-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #0f1628;
  transition: filter 0.5s ease;
}
.work-card:hover .work-card__preview img {
  filter: brightness(1.06);
}
.work-card__body {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1322;
  transition: background-color 0.45s ease;
}
.work-card:hover .work-card__body {
  background: #0f1729;
}
.work-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.work-card__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #73d2ff;
}
.work-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(115, 210, 255, 0.35);
  color: #73d2ff;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition:
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.4s ease;
}
.work-card:hover .work-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}
.work-card__arrow .material-symbols-outlined {
  font-size: 14px;
}
.work-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #e2e2e2;
  transition: color 0.35s ease;
}
.work-card:hover .work-card__title {
  color: #fff;
}
.work-card__desc {
  font-size: 13px;
  color: #bcc8d0;
  margin-top: 0.35rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease,
    margin-top 0.45s ease;
}
.work-card:hover .work-card__desc {
  max-height: 4rem;
  opacity: 1;
  margin-top: 0.5rem;
}
.work-past-card {
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}
.work-past-card:hover {
  transform: translateY(-4px);
  border-color: rgba(115, 210, 255, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
@media (prefers-reduced-motion: reduce) {
  .work-reveal,
  .work-card,
  .work-card__preview img,
  .work-card__arrow,
  .work-card__desc,
  .work-past-card {
    transition: none !important;
    animation: none !important;
  }
  .work-reveal {
    opacity: 1;
    transform: none;
  }
  .work-card:hover {
    transform: none;
  }
  .work-card__arrow {
    opacity: 1;
    transform: none;
  }
  .work-card__desc {
    max-height: none;
    opacity: 1;
  }
}

/* ─── MARQUEE ─── */
.marquee-wrapper { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── FLOATING CTA ─── */
#float-cta { position: fixed; bottom: 28px; right: 28px; z-index: 200; background: linear-gradient(135deg,#00b9f1,#0090c5); color: #001e2b; padding: 13px 22px; border-radius: 50px; font-size: 13px; font-weight: 700; border: none; cursor: pointer; box-shadow: 0 8px 32px rgba(0,185,241,0.45), 0 0 0 0 rgba(0,185,241,0.3); opacity: 0; transform: translateY(16px); transition: opacity 0.4s ease, transform 0.4s ease; pointer-events: none; display: flex; align-items: center; gap: 8px; letter-spacing: 0.02em; }
#float-cta.show { opacity: 1; transform: translateY(0); pointer-events: all; animation: ctaPulse 3s ease-in-out infinite; }
#float-cta:hover { filter: brightness(1.1); box-shadow: 0 12px 40px rgba(0,185,241,0.6); animation: none; transform: translateY(-2px); }
@keyframes ctaPulse { 0%,100% { box-shadow: 0 8px 32px rgba(0,185,241,0.45), 0 0 0 0 rgba(0,185,241,0.3); } 50% { box-shadow: 0 8px 32px rgba(0,185,241,0.45), 0 0 0 10px rgba(0,185,241,0); } }

/* ─── DISPLAY ─── */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

/* ─── POSITION ─── */
.static { position: static; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.left-0 { left: 0; }
.bottom-0 { bottom: 0; }
.top-1\/2 { top: 50%; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }

/* ─── Z-INDEX ─── */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ─── FLEX ─── */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-grow { flex-grow: 1; }
.shrink-0 { flex-shrink: 0; }
.self-start { align-self: flex-start; }

/* ─── GRID ─── */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-7 { grid-column: span 7 / span 7; }

/* ─── GAP ─── */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-16 { gap: 4rem; }

/* ─── SPACING (MARGIN) ─── */
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.mt-0 { margin-top: 0; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.m-4 { margin: 1rem; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-x-px { transform: translateX(-1px); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-y-px { transform: translateY(-1px); }

/* ─── SPACING (PADDING) ─── */
.p-1 { padding: 0.25rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pt-28 { padding-top: 7rem; }
.pt-36 { padding-top: 9rem; }
.pb-0\.5 { padding-bottom: 0.125rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-24 { padding-bottom: 6rem; }
.pr-20 { padding-right: 5rem; }

/* ─── SIZING ─── */
.w-full { width: 100%; }
.w-0 { width: 0; }
.w-0\.5 { width: 0.125rem; }
.w-2 { width: 0.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.w-64 { width: 16rem; }
.w-\[94\%\] { width: 94%; }
.w-\[calc\(100\%-3rem\)\] { width: calc(100% - 3rem); }
.h-full { height: 100%; }
.h-0 { height: 0; }
.h-0\.5 { height: 0.125rem; }
.h-1 { height: 0.25rem; }
.h-2 { height: 0.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-28 { height: 7rem; }
.h-32 { height: 8rem; }
.h-36 { height: 9rem; }
.h-40 { height: 10rem; }
.h-44 { height: 11rem; }
.h-48 { height: 12rem; }
.h-56 { height: 14rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.min-h-\[85vh\] { min-height: 85vh; }
.min-h-\[90vh\] { min-height: 90vh; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-\[1440px\] { max-width: 1800px; }
.max-w-none { max-width: none; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }

/* ─── TYPOGRAPHY ─── */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[-0\.02em\] { letter-spacing: -0.02em; }
.leading-\[1\.1\] { line-height: 1.1; }
.leading-\[80px\] { line-height: 80px; }
.leading-snug { line-height: 1.375; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[12px\] { font-size: 12px; }
.text-\[13px\] { font-size: 13px; }
.text-\[14px\] { font-size: 14px; }
.text-\[15px\] { font-size: 15px; }
.text-\[16px\] { font-size: 16px; }
.text-\[18px\] { font-size: 18px; }
.text-\[20px\] { font-size: 20px; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-\[32px\] { font-size: 32px; }
.text-\[40px\] { font-size: 40px; }
.text-\[48px\] { font-size: 48px; }
.text-\[72px\] { font-size: 72px; }

/* ─── COLORS (TEXT) ─── */
.text-white { color: #ffffff; }
.text-\[\#e2e2e2\] { color: #e2e2e2; }
.text-\[\#bcc8d0\] { color: #bcc8d0; }
.text-\[\#73d2ff\] { color: #73d2ff; }
.text-\[\#00b9f1\] { color: #00b9f1; }
.text-\[\#001e2b\] { color: #001e2b; }
.text-\[\#003547\] { color: #003547; }
.text-\[\#00455d\] { color: #00455d; }
.text-\[\#3e465f\] { color: #3e465f; }
.text-\[\#1a1c1c\] { color: #1a1c1c; }
.text-\[\#febb00\] { color: #febb00; }
.text-\[\#261900\] { color: #261900; }
.text-\[\#87929a\] { color: #87929a; }
.text-white\/60 { color: rgba(255,255,255,0.6); }
.text-white\/80 { color: rgba(255,255,255,0.8); }
.text-white\/90 { color: rgba(255,255,255,0.9); }

/* ─── COLORS (BACKGROUND) ─── */
.bg-white { background-color: #ffffff; }
.bg-\[\#121414\] { background-color: #121414; }
.bg-\[\#0c0f0f\] { background-color: #0c0f0f; }
.bg-\[\#1a1c1c\] { background-color: #1a1c1c; }
.bg-\[\#1e2020\] { background-color: #1e2020; }
.bg-\[\#282a2b\] { background-color: #282a2b; }
.bg-\[\#333535\] { background-color: #333535; }
.bg-\[\#001e2b\] { background-color: #001e2b; }
.bg-\[\#00b9f1\] { background-color: #00b9f1; }
.bg-\[\#73d2ff\] { background-color: #73d2ff; }
.bg-\[\#febb00\] { background-color: #febb00; }
.bg-\[\#121414\]\/80 { background-color: rgba(18,20,20,0.8); }
.bg-white\/5 { background-color: rgba(255,255,255,0.05); }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-white\/20 { background-color: rgba(255,255,255,0.2); }
.bg-white\/40 { background-color: rgba(255,255,255,0.4); }
.bg-white\/80 { background-color: rgba(255,255,255,0.8); }
.bg-\[\#73d2ff\]\/10 { background-color: rgba(115,210,255,0.1); }
.bg-\[\#73d2ff\]\/20 { background-color: rgba(115,210,255,0.2); }
.bg-\[\#73d2ff\]\/30 { background-color: rgba(115,210,255,0.3); }
.bg-\[\#73d2ff\]\/40 { background-color: rgba(115,210,255,0.4); }
.bg-\[\#73d2ff\]\/60 { background-color: rgba(115,210,255,0.6); }
.bg-\[\#73d2ff\]\/80 { background-color: rgba(115,210,255,0.8); }
.bg-\[\#00b9f1\]\/40 { background-color: rgba(0,185,241,0.4); }
.bg-\[\#00455d\]55 { background-color: rgba(0,69,93,0.33); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent)); }
.from-\[\#121414\]\/80 { --tw-gradient-from: rgba(18,20,20,0.8); }
.to-transparent { --tw-gradient-to: transparent; }

/* ─── BORDER ─── */
.border { border-width: 1px; border-style: solid; }
.border-0 { border-width: 0; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-y { border-top-width: 1px; border-top-style: solid; border-bottom-width: 1px; border-bottom-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border-none { border: none; }
.border-white\/5 { border-color: rgba(255,255,255,0.05); }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-white\/15 { border-color: rgba(255,255,255,0.15); }
.border-white\/20 { border-color: rgba(255,255,255,0.2); }
.border-gray-200 { border-color: #e5e7eb; }
.border-\[\#3d484f\] { border-color: #3d484f; }
.border-\[\#73d2ff\] { border-color: #73d2ff; }
.border-\[\#00b9f1\] { border-color: #00b9f1; }
.border-\[\#00b9f1\]\/30 { border-color: rgba(0,185,241,0.3); }
.border-\[\#00b9f1\]\/40 { border-color: rgba(0,185,241,0.4); }
.border-\[\#73d2ff\]\/20 { border-color: rgba(115,210,255,0.2); }
.border-\[\#73d2ff\]\/40 { border-color: rgba(115,210,255,0.4); }
.border-\[\#87929a\] { border-color: #87929a; }
.border-l-transparent { border-left-color: transparent; }
.border-r-transparent { border-right-color: transparent; }
.border-l-\[8px\] { border-left-width: 8px; }
.border-r-\[8px\] { border-right-width: 8px; }
.border-t-\[10px\] { border-top-width: 10px; }
.border-t-\[\#00b9f1\]\/50 { border-top-color: rgba(0,185,241,0.5); }
.border-t-\[\#73d2ff\]\/40 { border-top-color: rgba(115,210,255,0.4); }
.border-2 { border-width: 2px; border-style: solid; }

/* ─── BORDER RADIUS ─── */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-t { border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; }

/* ─── SHADOW ─── */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); }
.shadow-\[0_0_15px_rgba\(0\2c 185\2c 241\2c 0\.5\)\] { box-shadow: 0 0 15px rgba(0,185,241,0.5); }
.shadow-\[0_0_20px_rgba\(0\2c 185\2c 241\2c 0\.2\)\] { box-shadow: 0 0 20px rgba(0,185,241,0.2); }
.shadow-\[0_0_12px_rgba\(0\2c 185\2c 241\2c 0\.3\)\] { box-shadow: 0 0 12px rgba(0,185,241,0.3); }

/* ─── OVERFLOW ─── */
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

/* ─── OBJECT FIT ─── */
.object-cover { object-fit: cover; }
.object-center { object-position: center; }

/* ─── OPACITY ─── */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

/* ─── TRANSITION ─── */
.transition-all { transition: all 0.15s cubic-bezier(0.4,0,0.2,1); }
.transition-colors { transition: color 0.15s cubic-bezier(0.4,0,0.2,1), background-color 0.15s cubic-bezier(0.4,0,0.2,1), border-color 0.15s cubic-bezier(0.4,0,0.2,1); }
.transition-opacity { transition: opacity 0.15s cubic-bezier(0.4,0,0.2,1); }
.transition-transform { transition: transform 0.15s cubic-bezier(0.4,0,0.2,1); }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

/* ─── TRANSFORM ─── */
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:scale-105:hover { transform: scale(1.05); }

/* ─── POINTER EVENTS ─── */
.pointer-events-none { pointer-events: none; }

/* ─── MISC ─── */
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.blur-\[180px\] { filter: blur(180px); }
.mix-blend-screen { mix-blend-mode: screen; }
.mix-blend-luminosity { mix-blend-mode: luminosity; }
.order-1 { order: 1; }
.order-2 { order: 2; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.w-fit { width: fit-content; }
.focus\:ring-0:focus { outline: none; box-shadow: none; }
.w-0\.5 { width: 0.125rem; }

/* ─── GRADIENT HELPERS ─── */
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops, transparent, transparent)); }
.from-transparent { --tw-gradient-from: transparent; }
.to-transparent { --tw-gradient-to: transparent; }
.via-\[\#73d2ff\]\/50 { --tw-gradient-via: rgba(115,210,255,0.5); }

/* ─── NAV SPECIFIC ─── */
nav { background-color: rgba(18,20,20,0.8); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); position: fixed; top: 0; width: 100%; z-index: 50; border-bottom: 1px solid rgba(255,255,255,0.1); }
nav.fixed { height: 88px !important; display: flex !important; align-items: center !important; overflow: visible !important; }
.nav-bar-inner { width: 100% !important; flex: 1 1 auto !important; display: grid !important; grid-template-columns: 1fr auto 1fr !important; align-items: center !important; gap: 1rem !important; min-width: 0 !important; }
nav .nav-inner { max-width: 1440px; margin: 0 auto; padding: 0 1rem; height: 4rem; display: flex; justify-content: space-between; align-items: center; }
.nav-link,
#mobile-menu .mobile-nav-link { text-decoration: none; color: inherit; }
.nav-logo-link { display: inline-block; line-height: 0; text-decoration: none; }
.nav-link { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.15s; color: #bcc8d0; background: none; border: none; cursor: pointer; }
.nav-link:hover { color: #73d2ff; }
.nav-link.active-nav { color: #73d2ff; border-bottom: 2px solid #73d2ff; padding-bottom: 0.125rem; }

/* ─── HOVER STATES ─── */
.hover\:text-\[\#73d2ff\]:hover { color: #73d2ff; }
.hover\:text-\[\#00b9f1\]:hover { color: #00b9f1; }
.hover\:border-\[\#73d2ff\]:hover { border-color: #73d2ff; }
.hover\:bg-white\/10:hover { background-color: rgba(255,255,255,0.1); }
.hover\:bg-white\/20:hover { background-color: rgba(255,255,255,0.2); }
.hover\:brightness-110:hover { filter: brightness(1.1); }
.hover\:gap-2:hover { gap: 0.5rem; }
.hover\:gap-3:hover { gap: 0.75rem; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:mix-blend-normal { mix-blend-mode: normal; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:border-\[\#73d2ff\] { border-color: #73d2ff; }
.group:hover .group-hover\:bg-\[\#73d2ff\] { background-color: #73d2ff; }
.group:hover .group-hover\:gap-2 { gap: 0.5rem; }

/* ─── BEFORE PSEUDO (timeline) ─── */
.before\:absolute::before { position: absolute; content: ''; }
.before\:inset-0::before { top: 0; right: 0; bottom: 0; left: 0; }
.before\:ml-4::before { margin-left: 1rem; }
.before\:h-full::before { height: 100%; }
.before\:w-0\.5::before { width: 0.125rem; }
.before\:bg-gradient-to-b::before { background-image: linear-gradient(to bottom, transparent, rgba(115,210,255,0.5), transparent); }
.before\:from-transparent::before { }
.before\:via-\[\#73d2ff\]\/50::before { }
.before\:to-transparent::before { }
.-translate-x-1\/2 { transform: translateX(-50%); }
.md\:odd\:flex-row-reverse:nth-child(odd) { flex-direction: row-reverse; }

/* ─── FOOTER INPUT ─── */
footer input[type="email"] { background: #1e2020; border: none; color: #e2e2e2; padding: 0.5rem 0.75rem; width: 100%; font-size: 13px; outline: none; min-width: 0; }
footer input[type="email"]::placeholder { color: #bcc8d0; }

/* ══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   sm: 640px | md: 768px | lg: 1024px | xl: 1280px
══════════════════════════════════════ */

/* ─── SM (640px+) ─── */
@media (min-width: 640px) {
  nav .nav-inner { padding: 0 2rem; }
  .sm\:inline-block { display: inline-block; }
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:block { display: block; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:text-5xl { font-size: 3rem; }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:text-\[10px\] { font-size: 10px; }
  .sm\:h-96 { height: 24rem; }
  .sm\:h-48 { height: 12rem; }
  .sm\:p-4 { padding: 1rem; }
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-\[11px\] { font-size: 11px; }
  .sm\:min-h-\[90vh\] { min-height: 90vh; }
}

/* ─── MD (768px+) ─── */
@media (min-width: 768px) {
  nav .nav-inner { height: 5rem; }
  .md\:h-20 { height: 5rem; }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:col-span-1 { grid-column: span 1 / span 1; }
  .md\:items-center { align-items: center; }
  .md\:text-xl { font-size: 1.25rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:text-\[32px\] { font-size: 32px; }
  .md\:text-\[40px\] { font-size: 40px; }
  .md\:text-\[48px\] { font-size: 48px; }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-lg { font-size: 1.125rem; }
  .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:pt-36 { padding-top: 9rem; }
  .md\:pb-24 { padding-bottom: 6rem; }
  .md\:p-5 { padding: 1.25rem; }
  .md\:p-6 { padding: 1.5rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:h-24 { height: 6rem; }
  .md\:h-32 { height: 8rem; }
  .md\:h-40 { height: 10rem; }
  .md\:h-48 { height: 12rem; }
  .md\:h-56 { height: 14rem; }
  .md\:h-64 { height: 16rem; }
  .md\:h-64 { height: 16rem; }
  .md\:mb-12 { margin-bottom: 3rem; }
  .md\:mb-16 { margin-bottom: 4rem; }
  .md\:mt-0 { margin-top: 0; }
  .md\:ml-0 { margin-left: 0; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:gap-16 { gap: 4rem; }
  .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:pt-20 { padding-top: 5rem; }
  .md\:gap-4 { gap: 1rem; }
  .md\:mb-12 { margin-bottom: 3rem; }
  .md\:before\:mx-auto::before { margin-left: auto; margin-right: auto; }
  .md\:before\:translate-x-0::before { transform: translateX(0); }
  .md\:left-1\/2 { left: 50%; }
  .md\:w-\[calc\(50\%-2\.5rem\)\] { width: calc(50% - 2.5rem); }
  .md\:odd\:flex-row-reverse:nth-child(odd) { flex-direction: row-reverse; }
  .md\:items-center { align-items: center; }
}

/* ─── LG (1024px+) ─── */
@media (min-width: 1024px) {
  nav .nav-inner { padding: 0 4rem; }
  .lg\:flex { display: flex; }
  .lg\:block { display: block; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:text-\[48px\] { font-size: 48px; }
  .lg\:text-\[72px\] { font-size: 72px; }
  .lg\:text-\[40px\] { font-size: 40px; }
  .lg\:leading-\[80px\] { line-height: 80px; }
  .lg\:gap-6 { gap: 1.5rem; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:gap-10 { gap: 2.5rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:px-16 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:max-w-none { max-width: none; }
  .lg\:mt-0 { margin-top: 0; }
  .lg\:mb-16 { margin-bottom: 4rem; }
  .lg\:h-\[560px\] { height: 560px; }
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:pt-36 { padding-top: 9rem; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
}

/* ─── XL (1280px+) ─── */
@media (min-width: 1280px) {
  .xl\:w-72 { width: 18rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   PREMIUM WHITE THEME — nav & footer untouched, everything else white
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Root background & body ── */
body { background: #ffffff !important; color: #1a1a2e !important; }

/* ── 2. Page containers ── */
.page,
#page-home, #page-services, #page-portfolio, #page-about {
  background: #ffffff;
}

/* ── 3. Strip ALL dark inline-style section backgrounds ──
   The HTML has inline style="background:#0d1a2e" etc. on sections.
   We need to override those with [style] attribute selectors. */
#page-home section[style*="background"]:not(.site-cta-section),
#page-services section[style*="background"],
#page-portfolio section[style*="background"],
#page-about section[style*="background"] {
  background: #f6f7fb !important;
}

/* ── 4. All sections: white base ── */
#page-home section:not(.site-cta-section),
#page-services section,
#page-portfolio section,
#page-about section:not(.ab-hero):not(.ab-cta-section):not(.site-cta-section) {
  background: #ffffff !important;
  backdrop-filter: none !important;
  position: relative; /* For pseudo-element backgrounds */
  border-top: none !important; /* Remove half-width horizontal borders */
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  z-index: 1; /* Establish stacking context so ::before remains above parent page bg */
}

/* Fix for side gutters: extend background to full viewport width */
#page-services section::before,
#page-portfolio section::before,
#page-about section:not(.ab-hero):not(.ab-cta-section):not(.ab-band):not(.ab-band--alt)::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1; /* Put behind section content but in front of parent page bg */
  pointer-events: none;
}

/* Alternating rhythm & merging of specific blocks */
#page-home section:nth-child(even):not(.site-cta-section) { background: #f5f6fa !important; }

/* Merge all three services sections on the Services page into one unified light-gray block */
#page-services section:nth-child(n+2)::before {
  background: #f5f6fa !important;
}
#page-services section:nth-child(n+2) {
  background: #f5f6fa !important;
}

/* Page-portfolio alternating background stretching */
#page-portfolio section:nth-child(even)::before {
  background: #f5f6fa !important;
}
#page-portfolio section:nth-child(odd)::before {
  background: #ffffff !important;
}

/* Page-about alternating background stretching */
#page-about section:nth-child(even):not(.ab-hero):not(.ab-cta-section):not(.ab-band):not(.ab-band--alt)::before {
  background: #f5f6fa !important;
}
#page-about section:nth-child(odd):not(.ab-hero):not(.ab-cta-section):not(.ab-band):not(.ab-band--alt)::before {
  background: #ffffff !important;
}
#page-about .ab-band::before,
#page-about .ab-band--alt::before {
  display: none !important;
  content: none !important;
}
#page-about .ab-band {
  background: #ffffff !important;
}
#page-about .ab-band--alt {
  background: #f5f6fa !important;
}
#page-about .ab-hero {
  background: #0a1628 !important;
}
#page-about .ab-cta-section {
  background: #081020 !important;
}

/* ── 5. Diamond / mesh / gradient backgrounds ── */
.diamond-bg { background-color: #ffffff !important; background-image: none !important; }
.mesh-gradient { background: #ffffff !important; }
.bg-mesh { background-image: none !important; }
#page-services { background: #ffffff !important; }
#page-services.mesh-gradient { background: #ffffff !important; }
#page-portfolio.bg-\[\#121414\] { background: #ffffff !important; }
#page-about[style] { background: #ffffff !important; }

/* ── 6. Dark Tailwind bg classes inside pages → white ── */
#page-home .bg-\[\#121414\], #page-services .bg-\[\#121414\],
#page-portfolio .bg-\[\#121414\], #page-about .bg-\[\#121414\] { background-color: #ffffff !important; }
#page-home .bg-\[\#0c0f0f\], #page-services .bg-\[\#0c0f0f\],
#page-portfolio .bg-\[\#0c0f0f\], #page-about .bg-\[\#0c0f0f\] { background-color: #f5f6fa !important; }
#page-home .bg-\[\#1a1c1c\], #page-services .bg-\[\#1a1c1c\],
#page-portfolio .bg-\[\#1a1c1c\], #page-about .bg-\[\#1a1c1c\] { background-color: #eef0f4 !important; }
#page-home .bg-\[\#1e2020\], #page-about .bg-\[\#1e2020\] { background-color: #eef0f4 !important; }
[class*="bg-surface"] { background-color: #ffffff !important; }
.bg-surface-container-low  { background-color: #f4f5f8 !important; }
.bg-surface-container-lowest { background-color: #eef0f4 !important; }
.bg-surface-container      { background-color: #eaecf1 !important; }
.bg-surface-container-high { background-color: #e4e6ed !important; }
.bg-surface-container-highest { background-color: #dde0e8 !important; }

/* ── 7. Text colours: dark navy on white ── */
#page-home .text-white, #page-services .text-white,
#page-portfolio .text-white, #page-about .text-white { color: #0f1628 !important; }
#page-home .text-white\/60, #page-services .text-white\/60,
#page-portfolio .text-white\/60, #page-about .text-white\/60 { color: rgba(15,22,40,0.58) !important; }
#page-home .text-white\/80, #page-services .text-white\/80,
#page-portfolio .text-white\/80, #page-about .text-white\/80 { color: rgba(15,22,40,0.78) !important; }
#page-home .text-white\/90, #page-services .text-white\/90,
#page-portfolio .text-white\/90, #page-about .text-white\/90 { color: rgba(15,22,40,0.88) !important; }
#page-home .text-\[\#e2e2e2\], #page-services .text-\[\#e2e2e2\],
#page-portfolio .text-\[\#e2e2e2\], #page-about .text-\[\#e2e2e2\] { color: #0f1628 !important; }
#page-home .text-\[\#bcc8d0\], #page-services .text-\[\#bcc8d0\],
#page-portfolio .text-\[\#bcc8d0\], #page-about .text-\[\#bcc8d0\] { color: rgba(15,22,40,0.55) !important; }
.text-on-surface { color: #0f1628 !important; }
.text-on-surface-variant { color: rgba(15,22,40,0.55) !important; }

/* ── 8. Cyan accent text: darken for white-bg contrast ──
   #73d2ff is sky-light and near-invisible on white.
   Override with a stronger brand blue. */
#page-services .text-\[\#73d2ff\],
#page-about .text-\[\#73d2ff\],
#page-portfolio .text-\[\#73d2ff\],
#page-home section:not(:first-child) .text-\[\#73d2ff\] { color: #006699 !important; font-weight: 700; letter-spacing: -0.01em; }

/* Fix light ghost buttons in light sections (Technical Stack) */
#page-services button.bg-white\/5.text-\[\#e2e2e2\] {
  color: #0f1628 !important;
  border-color: rgba(15,22,40,0.15) !important;
  background: transparent !important;
  font-weight: 600;
}
#page-services button.bg-white\/5.text-\[\#e2e2e2\]:hover {
  background: rgba(15,22,40,0.05) !important;
}


/* ── 9. Glass cards → iOS 26 Liquid Glass ── */
#page-home .glass-card, #page-services .glass-card,
#page-portfolio .glass-card, #page-about .glass-card {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(40px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.9), 
    inset 0 0 20px rgba(255, 255, 255, 0.5), 
    0 8px 32px rgba(15, 22, 40, 0.04) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease !important;
}
#page-home .glass-card:hover, #page-services .glass-card:hover,
#page-portfolio .glass-card:hover, #page-about .glass-card:hover {
  background: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 1), 
    inset 0 0 20px rgba(255, 255, 255, 0.8), 
    0 16px 48px rgba(15, 22, 40, 0.08) !important;
  transform: translateY(-4px) scale(1.01) !important;
}
#page-home .glass-card-light, #page-services .glass-card-light,
#page-portfolio .glass-card-light, #page-about .glass-card-light {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(40px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 4px 16px rgba(15, 22, 40, 0.03) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease !important;
}
#page-home .glass-card-light:hover, #page-services .glass-card-light:hover,
#page-portfolio .glass-card-light:hover, #page-about .glass-card-light:hover {
  background: rgba(255, 255, 255, 0.7) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(15, 22, 40, 0.06) !important;
}

/* ── 10. Work portfolio cards ── */
.work-card { 
  background: rgba(255, 255, 255, 0.45) !important; 
  backdrop-filter: blur(40px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
  border-color: rgba(255, 255, 255, 0.8) !important; 
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 0 20px rgba(255, 255, 255, 0.5), 
    0 8px 32px rgba(15, 22, 40, 0.04) !important; 
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important; 
}
.work-card:hover { 
  background: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(0, 102, 153, 0.3) !important; 
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 1),
    inset 0 0 20px rgba(255, 255, 255, 0.8), 
    0 16px 48px rgba(15, 22, 40, 0.08) !important; 
  transform: translateY(-4px) scale(1.01) !important; 
}
.work-card__body { 
  background: rgba(255, 255, 255, 0.3) !important; 
  border-top-color: rgba(255, 255, 255, 0.4) !important; 
  transition: all 0.3s ease !important; 
}
.work-card:hover .work-card__body { 
  background: rgba(255, 255, 255, 0.6) !important; 
}
.work-card__title { color: #0f1628 !important; font-weight: 700; letter-spacing: -0.01em; }
.work-card:hover .work-card__title { color: #000814 !important; }
.work-card__desc { color: rgba(15,22,40,0.6) !important; }
.work-card__preview { background: rgba(15, 22, 40, 0.03) !important; backdrop-filter: none !important; }
.work-card__tag { color: #006699 !important; font-weight: 700; }
.work-card__arrow { border-color: rgba(0,102,153,0.3) !important; color: #006699 !important; background: transparent !important; }
.work-card:hover .work-card__arrow { background: #006699 !important; color: #ffffff !important; border-color: #006699 !important; }

/* ── 11. Borders → light navy ── */
#page-home .border-white\/5, #page-services .border-white\/5,
#page-portfolio .border-white\/5, #page-about .border-white\/5 { border-color: rgba(15,22,40,0.06) !important; }
#page-home .border-white\/10, #page-services .border-white\/10,
#page-portfolio .border-white\/10, #page-about .border-white\/10 { border-color: rgba(15,22,40,0.09) !important; }
#page-home .border-white\/20, #page-services .border-white\/20,
#page-portfolio .border-white\/20, #page-about .border-white\/20 { border-color: rgba(15,22,40,0.14) !important; }
[class*="border-outline"] { border-color: rgba(15,22,40,0.12) !important; }

/* ── 12. Low-contrast utility bg pills ── */
#page-home section:not(:first-child) .bg-white\/5 { background-color: rgba(15,22,40,0.04) !important; }
#page-home section:not(:first-child) .bg-white\/10 { background-color: rgba(15,22,40,0.06) !important; }
#page-services .bg-white\/5 { background-color: rgba(15,22,40,0.04) !important; }
#page-services .bg-white\/10 { background-color: rgba(15,22,40,0.06) !important; }
#page-about .bg-white\/5 { background-color: rgba(15,22,40,0.04) !important; }
#page-about .bg-white\/10 { background-color: rgba(15,22,40,0.06) !important; }

/* ── 13. Chart bars in services (light mode) ── */
#page-services .bg-\[\#121414\] { background-color: #f0f2f7 !important; }
#page-services .border-white\/5 { border-color: rgba(15,22,40,0.07) !important; }

/* ── 14. Timeline dot backgrounds ── */
#page-about [class*="bg-\[#121414\]"].absolute,
#page-about [class*="bg-\[#121414\]"].rounded-full,
#page-home [class*="bg-\[#121414\]"].rounded-full { background-color: #ffffff !important; }

/* ── 15. Liquid Ambient Lighting (Glow Blobs) ── */
#page-home .blur-\[180px\], #page-services .blur-\[180px\],
#page-about .blur-\[180px\] { 
  opacity: 0.8 !important; 
  filter: blur(140px) saturate(150%) !important;
  mix-blend-mode: normal !important;
  background: linear-gradient(135deg, rgba(0,185,241,0.25), rgba(200,80,192,0.15), rgba(255,204,112,0.2)) !important;
}

/* ══════════════════════════════════════════════════════
   HERO SECTION EXCEPTION — dark photo, keep text WHITE
   ══════════════════════════════════════════════════════ */
/* Hero is the first section inside #page-home */
#page-home section:first-child { background: transparent !important; }

/* Restore white text */
#page-home section:first-child .text-white   { color: #ffffff !important; }
#page-home section:first-child .text-white\/60 { color: rgba(255,255,255,0.60) !important; }
#page-home section:first-child .text-white\/80 { color: rgba(255,255,255,0.80) !important; }
#page-home section:first-child .text-white\/90 { color: rgba(255,255,255,0.90) !important; }
#page-home section:first-child .text-\[\#e2e2e2\] { color: #e2e2e2 !important; }
#page-home section:first-child .text-\[\#bcc8d0\] { color: #bcc8d0 !important; }
#page-home section:first-child .text-\[\#73d2ff\] { color: #73d2ff !important; }

/* Restore hero badge pill */
#page-home section:first-child .bg-white\/5  { background-color: rgba(255,255,255,0.05) !important; }
#page-home section:first-child .bg-white\/10 { background-color: rgba(255,255,255,0.10) !important; }
#page-home section:first-child .border-white\/10 { border-color: rgba(255,255,255,0.10) !important; }
#page-home section:first-child .border-white\/20 { border-color: rgba(255,255,255,0.22) !important; }

/* Restore "View Case Studies" ghost button — catch all border buttons in hero */
#page-home section:first-child button[class*="border"] { 
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.30) !important;
  background: rgba(255,255,255,0.08) !important;
}
#page-home section:first-child button[class*="border"]:hover { 
  background: rgba(255,255,255,0.16) !important;
}
#page-home section:first-child button.border-white\/20 { 
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.25) !important;
}

/* Restore glass stat cards in hero */
#page-home section:first-child .glass-card {
  background: rgba(10,15,30,0.25) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(255,255,255,0.18) !important;
  border-left: 1px solid rgba(255,255,255,0.18) !important;
  border-right: 1px solid rgba(255,255,255,0.06) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
  color: #e2e2e2 !important;
}
#page-home section:first-child .glass-card .text-\[\#bcc8d0\] { color: #bcc8d0 !important; }
#page-home section:first-child .glass-card .text-3xl { color: #73d2ff !important; }
#page-home section:first-child .glass-card .text-\[\#73d2ff\] { color: #73d2ff !important; }
#page-home section:first-child .glass-card .bg-white\/10 { background: rgba(0,185,241,0.15) !important; }
#page-home section:first-child .glass-card .bg-\[\#00b9f1\] { background-color: #00b9f1 !important; }
#page-home section:first-child .glass-card .bg-\[\#00b9f1\]\/40 { background-color: rgba(0,185,241,0.40) !important; }
#page-home section:first-child .glass-card .bg-white\/10.rounded { background-color: rgba(255,255,255,0.10) !important; }
#page-home section:first-child .glass-card .text-\[\#e2e2e2\] { color: #e2e2e2 !important; }
#page-home section:first-child .glass-card .text-\[\#00b9f1\] { color: #00b9f1 !important; }
#page-home section:first-child .glass-card .bg-\[\#73d2ff\]\/20 { background-color: rgba(115,210,255,0.2) !important; }
#page-home section:first-child .glass-card .bg-\[\#73d2ff\]\/40 { background-color: rgba(115,210,255,0.4) !important; }
#page-home section:first-child .glass-card .bg-\[\#73d2ff\]\/60 { background-color: rgba(115,210,255,0.6) !important; }
#page-home section:first-child .glass-card .bg-\[\#73d2ff\] { background-color: #73d2ff !important; }


/* ── Page div containers ── */
#page-home, #page-services, #page-portfolio, #page-about { background: #ffffff; }

/* ── Strip dark section backgrounds ── */
#page-home section:not(.site-cta-section),
#page-services section,
#page-portfolio section,
#page-about section:not(.ab-hero):not(.ab-cta-section):not(.site-cta-section) { background: #ffffff !important; backdrop-filter: none !important; }

/* Alternating tint */
#page-home section:nth-child(even):not(.site-cta-section),
#page-services section:nth-child(even),
#page-portfolio section:nth-child(even),
#page-about section:nth-child(even):not(.ab-hero):not(.ab-cta-section):not(.ab-band):not(.ab-band--alt) { background: #f6f7fa !important; }

/* ── Mesh / diamond bg ── */
.diamond-bg { background-color: #ffffff !important; background-image: none !important; }
.mesh-gradient { background: #ffffff !important; }
.bg-mesh { background-image: none !important; }
#page-services.mesh-gradient { background: #ffffff !important; }

/* ── Dark Tailwind bg classes inside pages ── */
#page-home .bg-\[\#121414\], #page-services .bg-\[\#121414\],
#page-portfolio .bg-\[\#121414\], #page-about .bg-\[\#121414\] { background-color: #ffffff !important; }
#page-home .bg-\[\#0c0f0f\], #page-services .bg-\[\#0c0f0f\],
#page-portfolio .bg-\[\#0c0f0f\], #page-about .bg-\[\#0c0f0f\] { background-color: #f6f7fa !important; }
#page-home .bg-\[\#1a1c1c\], #page-services .bg-\[\#1a1c1c\],
#page-portfolio .bg-\[\#1a1c1c\], #page-about .bg-\[\#1a1c1c\] { background-color: #f0f1f5 !important; }

/* ── Surface class overrides ── */
[class*="bg-surface"] { background-color: #ffffff !important; }
.bg-surface-container-low { background-color: #f4f5f8 !important; }
.bg-surface-container-lowest { background-color: #f0f1f5 !important; }
.bg-surface-container { background-color: #eef0f4 !important; }
.bg-surface-container-high { background-color: #e8eaef !important; }
.bg-surface-container-highest { background-color: #e2e4ea !important; }

/* ── Text: dark text on white ── */
#page-home .text-white, #page-services .text-white,
#page-portfolio .text-white, #page-about .text-white { color: #0f1628 !important; }
#page-home .text-white\/60, #page-services .text-white\/60,
#page-portfolio .text-white\/60, #page-about .text-white\/60 { color: rgba(15,22,40,0.60) !important; }
#page-home .text-white\/80, #page-services .text-white\/80,
#page-portfolio .text-white\/80, #page-about .text-white\/80 { color: rgba(15,22,40,0.80) !important; }
#page-home .text-white\/90, #page-services .text-white\/90,
#page-portfolio .text-white\/90, #page-about .text-white\/90 { color: rgba(15,22,40,0.90) !important; }
#page-home .text-\[\#e2e2e2\], #page-services .text-\[\#e2e2e2\],
#page-portfolio .text-\[\#e2e2e2\], #page-about .text-\[\#e2e2e2\] { color: #0f1628 !important; }
#page-home .text-\[\#bcc8d0\], #page-services .text-\[\#bcc8d0\],
#page-portfolio .text-\[\#bcc8d0\], #page-about .text-\[\#bcc8d0\] { color: rgba(15,22,40,0.58) !important; }
.text-on-surface { color: #0f1628 !important; }
.text-on-surface-variant { color: rgba(15,22,40,0.58) !important; }

/* ── Glass cards → clean white ── */
#page-home .glass-card, #page-services .glass-card,
#page-portfolio .glass-card, #page-about .glass-card {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(15,22,40,0.09) !important;
  box-shadow: 0 2px 16px rgba(15,22,40,0.06) !important;
}
#page-home .glass-card-light, #page-services .glass-card-light,
#page-portfolio .glass-card-light, #page-about .glass-card-light {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(15,22,40,0.08) !important;
  box-shadow: 0 1px 8px rgba(15,22,40,0.05) !important;
}

/* ── Work cards ── */
.work-card { background: #ffffff !important; border-color: rgba(15,22,40,0.10) !important; box-shadow: 0 2px 12px rgba(15,22,40,0.06) !important; }
.work-card:hover { border-color: rgba(0,185,241,0.35) !important; box-shadow: 0 16px 48px rgba(15,22,40,0.09), 0 0 20px rgba(0,185,241,0.08) !important; }
.work-card__body { background: #f6f7fa !important; border-top-color: rgba(15,22,40,0.07) !important; }
.work-card:hover .work-card__body { background: #eef0f6 !important; }
.work-card__title { color: #0f1628 !important; }
.work-card:hover .work-card__title { color: #000 !important; }
.work-card__desc { color: rgba(15,22,40,0.58) !important; }
.work-card__preview { background: #e4e6ed !important; }
.work-card__tag { color: #0090c5 !important; }

/* ── Borders ── */
#page-home .border-white\/5, #page-services .border-white\/5,
#page-portfolio .border-white\/5, #page-about .border-white\/5 { border-color: rgba(15,22,40,0.06) !important; }
#page-home .border-white\/10, #page-services .border-white\/10,
#page-portfolio .border-white\/10, #page-about .border-white\/10 { border-color: rgba(15,22,40,0.09) !important; }
#page-home .border-white\/20, #page-services .border-white\/20,
#page-portfolio .border-white\/20, #page-about .border-white\/20 { border-color: rgba(15,22,40,0.14) !important; }
[class*="border-outline"] { border-color: rgba(15,22,40,0.12) !important; }

/* ── Subtle bg white/5 pills → light ── */
#page-home .bg-white\/5 { background-color: rgba(15,22,40,0.04) !important; }
#page-home .bg-white\/10 { background-color: rgba(15,22,40,0.06) !important; }

/* ── Glow blobs ── */
#page-home .blur-\[180px\], #page-services .blur-\[180px\],
#page-about .blur-\[180px\] { opacity: 0.10 !important; }

/* ── Timeline dot backgrounds ── */
#page-about .bg-\[\#121414\].absolute,
#page-home .bg-\[\#121414\].absolute { background-color: #ffffff !important; }

/* ── View Case Studies outline button ── */
#page-home .border.border-white\/20.bg-white\/10 {
  background: rgba(15,22,40,0.05) !important;
  border-color: rgba(15,22,40,0.18) !important;
  color: #0f1628 !important;
}
#page-home .border.border-white\/20.bg-white\/10:hover {
  background: rgba(15,22,40,0.09) !important;
}

/* ── Hero section: dark photo bg — keep text WHITE ── */
/* The first section in page-home is a full-bleed image with a dark overlay,
   so all text/elements inside it must stay white for legibility. */
#page-home section:first-child .text-white { color: #ffffff !important; }
#page-home section:first-child .text-white\/60 { color: rgba(255,255,255,0.60) !important; }
#page-home section:first-child .text-white\/80 { color: rgba(255,255,255,0.80) !important; }
#page-home section:first-child .text-white\/90 { color: rgba(255,255,255,0.90) !important; }
#page-home section:first-child .text-\[\#e2e2e2\] { color: #e2e2e2 !important; }
#page-home section:first-child .text-\[\#bcc8d0\] { color: #bcc8d0 !important; }
#page-home section:first-child .text-gradient { color: transparent !important; }
/* Breadcrumb & badge text */
#page-home section:first-child span,
#page-home section:first-child p { color: inherit; }
/* Glass stat cards inside hero stay white-on-dark */
#page-home section:first-child .glass-card {
  background: rgba(18,20,20,0.2) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(255,255,255,0.15) !important;
  border-left: 1px solid rgba(255,255,255,0.15) !important;
  border-right: 1px solid rgba(255,255,255,0.05) !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  box-shadow: none !important;
  color: #e2e2e2 !important;
}
#page-home section:first-child .glass-card * { color: inherit; }
#page-home section:first-child .glass-card .text-\[\#bcc8d0\] { color: #bcc8d0 !important; }
#page-home section:first-child .glass-card .text-3xl { color: #73d2ff !important; }
/* bg pill badge */
#page-home section:first-child .bg-white\/5 { background-color: rgba(255,255,255,0.05) !important; }
#page-home section:first-child .bg-white\/10 { background-color: rgba(255,255,255,0.10) !important; }
#page-home section:first-child .border-white\/10 { border-color: rgba(255,255,255,0.10) !important; }
#page-home section:first-child .border-white\/20 { border-color: rgba(255,255,255,0.20) !important; }
/* also restore the hero section bg to transparent so the photo shows */
#page-home section:first-child { background: transparent !important; }


/* Remove dark diamond bg from main sections */
main .diamond-bg,
main section.diamond-bg { background-color: #ffffff !important; background-image: none !important; }

/* All sections inside main get white/near-white */
main { background: #ffffff; }
main section { background: #ffffff; }

/* Alternating light tint for visual rhythm */
main section:nth-child(even) { background: #f7f8fb; }

/* Dark surface overrides → white */
main .bg-\[\#121414\] { background-color: #ffffff !important; }
main .bg-\[\#0c0f0f\] { background-color: #f7f8fb !important; }
main .bg-\[\#1a1c1c\] { background-color: #f0f1f5 !important; }
main .bg-\[\#1e2020\] { background-color: #f0f1f5 !important; }
main .bg-\[\#282a2b\] { background-color: #e8eaef !important; }

/* Tailwind dark surface classes inside main */
main [class*="bg-surface"] { background-color: #ffffff !important; }
main .bg-surface-container-low { background-color: #f4f5f8 !important; }
main .bg-surface-container-lowest { background-color: #f0f1f5 !important; }
main .bg-surface-container { background-color: #eef0f4 !important; }
main .bg-surface-container-high { background-color: #e8eaef !important; }
main .bg-surface-container-highest { background-color: #e2e4ea !important; }

/* Text overrides: light text → dark navy */
main .text-white { color: #0f1628 !important; }
main .text-white\/60 { color: rgba(15,22,40,0.60) !important; }
main .text-white\/80 { color: rgba(15,22,40,0.80) !important; }
main .text-white\/90 { color: rgba(15,22,40,0.90) !important; }
main .text-\[\#e2e2e2\] { color: #1a1a2e !important; }
main .text-on-surface { color: #0f1628 !important; }
main .text-on-surface-variant { color: rgba(15,22,40,0.60) !important; }

/* Glass cards → clean white cards */
main .glass-card {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(15,22,40,0.09) !important;
  box-shadow: 0 2px 16px rgba(15,22,40,0.06) !important;
}
main .glass-card:hover {
  box-shadow: 0 12px 40px rgba(15,22,40,0.10) !important;
}
main .glass-card-light {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(15,22,40,0.09) !important;
}

/* Work cards */
main .work-card {
  background: #ffffff !important;
  border-color: rgba(15,22,40,0.10) !important;
  box-shadow: 0 2px 12px rgba(15,22,40,0.06) !important;
}
main .work-card:hover {
  border-color: rgba(0,185,241,0.40) !important;
  box-shadow: 0 16px 48px rgba(15,22,40,0.10), 0 0 20px rgba(0,185,241,0.10) !important;
}
main .work-card__body {
  background: #f7f8fb !important;
  border-top-color: rgba(15,22,40,0.08) !important;
}
main .work-card:hover .work-card__body { background: #f0f2f7 !important; }
main .work-card__title { color: #0f1628 !important; }
main .work-card:hover .work-card__title { color: #000 !important; }
main .work-card__desc { color: rgba(15,22,40,0.60) !important; }
main .work-card__preview { background: #e8eaef !important; }

/* White borders → subtle dark */
main .border-white\/5 { border-color: rgba(15,22,40,0.06) !important; }
main .border-white\/10 { border-color: rgba(15,22,40,0.09) !important; }
main .border-white\/15 { border-color: rgba(15,22,40,0.12) !important; }
main .border-white\/20 { border-color: rgba(15,22,40,0.15) !important; }
main [class*="border-outline"] { border-color: rgba(15,22,40,0.12) !important; }

/* Mesh/gradient bg inside main → invisible on white */
main .bg-mesh { background-image: none !important; }
main .mesh-gradient { background: #ffffff !important; }

/* Radial glow blobs inside main: soften */
main .blur-\[180px\] { opacity: 0.15 !important; filter: blur(180px) saturate(0.5) !important; }

/* Timeline dots */
main .bg-surface.border-primary { background: #ffffff !important; }

/* CTA button accent stays cyan — keep as-is */

/* Section with border-y border-white/5 → light border */
main .border-y { border-color: rgba(15,22,40,0.07) !important; }
main .border-t { border-color: rgba(15,22,40,0.07) !important; }
main .border-b { border-color: rgba(15,22,40,0.07) !important; }

/* Hide scrollbars for carousels */
.hide-scrollbars::-webkit-scrollbar { display: none; }
.hide-scrollbars { -ms-overflow-style: none; scrollbar-width: none; }

/* ─── SHARED MOBILE MENU STYLES ─── */
#mobile-menu {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease;
  opacity: 0;
  visibility: hidden;
  background: #0a1628;
}
#mobile-menu.open {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
}
#mobile-menu .mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: #bcc8d0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 8px;
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  border-radius: 8px;
}
#mobile-menu .mobile-nav-link:hover,
#mobile-menu .mobile-nav-link:active {
  color: #73d2ff;
  background: rgba(0, 185, 241, 0.06);
}
#mobile-menu .mobile-nav-link.active {
  color: #00b9f1;
  background: rgba(0, 185, 241, 0.08);
}
#mobile-menu .mobile-nav-link .material-symbols-outlined {
  font-size: 20px;
  color: rgba(255,255,255,0.3);
}
#mobile-menu .mobile-nav-link.active .material-symbols-outlined {
  color: #00b9f1;
}
#mobile-menu .mobile-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 4px 0;
}
#mobile-menu .mobile-menu-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  padding: 14px;
  background: #00b9f1;
  color: #001e2b;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}
#mobile-menu .mobile-menu-cta:hover {
  background: #73d2ff;
}

.nav-logo-img {
  height: 72px !important;
  width: auto !important;
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;
}

/* ─── MOBILE ONLY (max-width: 767px) ─── */
@media (max-width: 767px) {

  /* ── Nav ── */
  nav.fixed {
    height: 72px !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
  }
  .nav-bar-inner {
    /* On mobile the centre column is hidden, collapse to simple flex */
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .nav-logo-img {
    height: 52px !important;
    max-height: 52px !important;
    width: auto !important;
    mix-blend-mode: screen !important;
  }

  /* ── Tap targets ── */
  button, .btn, a.btn, .mobile-nav-link, .mobile-menu-cta {
    min-height: 44px;
  }
  .mobile-nav-link {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    font-size: 15px !important;
  }

  /* ── Hero sections ── */
  /* Home hero padding */
  #page-home section:first-of-type {
    padding-top: 72px !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  /* Hero buttons — full width and equal on mobile */
  #page-home section:first-of-type .flex.flex-col button,
  #page-home section:first-of-type .flex.flex-col a,
  .services-hero-section .flex.flex-col button,
  .services-hero-section .flex.flex-col a,
  .ab-hero .flex.flex-col button,
  .ab-hero .flex.flex-col a.btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Keep button font reasonable — 14px, not oversized */
  #page-home button, #page-services button, #page-about button, #page-portfolio button {
    font-size: 14px !important;
  }
  /* Nav lang buttons stay small */
  #lang-btn-en, #lang-btn-fr, #mobile-lang-btn-en, #mobile-lang-btn-fr {
    font-size: 11px !important;
    min-height: unset !important;
    padding: 4px 8px !important;
  }

  /* ── Typography scale ── */
  .ab-headline-luxe {
    font-size: 2rem !important;
    line-height: 1.15 !important;
  }
  .inquire-title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }

  /* ── Modal ── */
  #consultation-modal > div {
    margin: 1rem auto !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
  }
  .inquire-container {
    padding: 20px 16px !important;
  }

  /* ── Audit teaser card ── */
  .audit-teaser {
    max-width: 100% !important;
    padding: 1rem !important;
  }
  .audit-teaser span.inline-flex {
    width: 100% !important;
    justify-content: center !important;
  }

  /* ── General section horizontal padding ── */
  #page-home > div.max-w-\[1440px\],
  #page-services > div.max-w-\[1440px\],
  #page-about > div.max-w-\[1440px\],
  #page-portfolio > div.max-w-\[1440px\] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* ── Service cards carousel arrows ── */
  .svc-arrow {
    width: 44px !important;
    height: 44px !important;
  }

  /* ── Stats grids — 2-col stays 2-col, 3+ cols collapse ── */
  .ab-stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  /* ── Services hero ── */
  .services-hero-section {
    padding-bottom: 4rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* ── Footer ── */
  .footer-newsletter-row {
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
  /* Footer newsletter input+button — full width stack */
  .footer-newsletter-row input,
  .footer-newsletter-row button {
    width: 100% !important;
  }

  /* ── Float CTA — safe area on iOS ── */
  .float-cta {
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
    right: 1rem !important;
  }

  /* ── Prevent horizontal overflow globally ── */
  #page-home, #page-services, #page-about, #page-portfolio, #page-inquire {
    overflow-x: hidden !important;
  }
}

/* ═══ ABOUT PAGE — override global white theme for readability ═══ */
#page-about {
  background: #ffffff !important;
  color: #001e2b !important;
}
#page-about section:not(.ab-hero):not(.ab-cta-section) {
  background: transparent !important;
}
#page-about .ab-band {
  background: #ffffff !important;
}
#page-about .ab-band--alt {
  background: #f5f6fa !important;
}
#page-about .ab-band::before,
#page-about .ab-band--alt::before,
#page-about .ab-hero::before,
#page-about .ab-cta-section::before {
  display: none !important;
  content: none !important;
}
#page-about .ab-hero {
  background: #0a1628 !important;
}
#page-about .ab-cta-section {
  background: #081020 !important;
}
#page-about .text-on-background,
#page-about .text-on-surface,
#page-about h1, #page-about h2, #page-about h3, #page-about h4 {
  color: #001e2b !important;
}
#page-about .text-on-surface-variant,
#page-about .font-body-md,
#page-about .font-body-lg,
#page-about p {
  color: #2d3648 !important;
}
#page-about .text-primary,
#page-about .text-label-caps {
  color: #00455d !important;
}
#page-about .ab-hero .text-on-background,
#page-about .ab-hero h1,
#page-about .ab-hero h2 {
  color: #ffffff !important;
}
#page-about .ab-hero .text-on-surface-variant,
#page-about .ab-hero p {
  color: #c8d4dc !important;
}
#page-about .ab-hero .text-primary,
#page-about .ab-hero .ab-label {
  color: #73d2ff !important;
}
#page-about .ab-hero h1 span {
  color: #00b9f1 !important;
}
#page-about .ab-cta-section h2,
#page-about .ab-cta-section .ab-label {
  color: #ffffff !important;
}
#page-about .ab-cta-section p {
  color: #d8e4ec !important;
}
#page-about .ab-cta-section .ab-label {
  color: #73d2ff !important;
}
#page-about .glass-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
#page-about .glass-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(0, 185, 241, 0.1) !important;
}
#page-about .ab-cta-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* ── Consultation CTA (Home + About) ── */
.site-cta-section,
#page-home .site-cta-section,
#page-about .site-cta-section,
#page-about .ab-cta-section.site-cta-section {
  background: #081020 !important;
}
.site-cta-section .site-cta-label,
#page-about .site-cta-section .ab-label {
  color: #73d2ff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-cta-section .site-cta-heading,
.site-cta-section h2,
#page-home .site-cta-section .text-\[\#e2e2e2\],
#page-home .site-cta-section h2 {
  color: #ffffff !important;
}
.site-cta-section .site-cta-body,
.site-cta-section p,
#page-home .site-cta-section .text-\[\#bcc8d0\],
#page-home .site-cta-section p {
  color: #d8e4ec !important;
}
.site-cta-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.site-cta-section .site-cta-btn-primary {
  background: #00b9f1 !important;
  color: #001e2b !important;
}
.site-cta-section .site-cta-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  background: transparent !important;
}
.site-cta-section .site-cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

.services-hero-section {
  position: relative;
  background: transparent !important;
}
.services-hero-section::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-image: url('assets/services-hero-bg.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: -1;
  pointer-events: none;
}

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 100000;
  padding: 0.75rem 1.25rem;
  background: #00b9f1;
  color: #001e2b;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 6px 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ─── TRUST / TESTIMONIALS ─── */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.trust-card {
  margin: 0;
  padding: 1.5rem 1.35rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 185, 241, 0.35);
  box-shadow: 0 12px 40px rgba(0, 185, 241, 0.1);
}
.trust-quote {
  font-size: 15px;
  line-height: 1.65;
  color: #2d3648;
  margin: 0 0 1rem;
}
.trust-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00455d;
}
.trust-meta cite { font-style: normal; }

/* ─── FAQ ─── */
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #f5f6fa;
  padding: 0 1.25rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #001e2b;
  padding: 1rem 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: #00455d; }
.faq-item p {
  padding: 0 0 1rem;
  font-size: 15px;
  line-height: 1.6;
  color: #3e465f;
}
.work-card__metric {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00b9f1;
  margin-bottom: 0.35rem;
}
.form-field-error {
  color: #e63a2e;
  font-size: 12px;
  margin-top: 0.35rem;
}
.inquire-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.inquire-privacy-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 13px;
  color: #bcc8d0;
  line-height: 1.5;
}
.inquire-privacy-label a { color: #73d2ff; text-decoration: underline; }
.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;
}
.nav-link:focus-visible,
.mobile-nav-link:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #73d2ff;
  outline-offset: 2px;
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right, .work-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .page.active { animation: none !important; }
  .preloader-glow, .preloader-logo, .animate-pulse { animation: none !important; }
  #site-preloader { transition: none !important; }
}

