/* ============================================================
   BB PRINT — DESIGN TOKENS
   ============================================================ */
:root {
  --bg: #050505;
  --bg-secondary: #0E1015;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --glass: rgba(14, 16, 21, 0.55);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --accent: #2e378d;
  --accent-light: #6D77D5;
  --accent-deep: #1A1E52;
  --white: #FFFFFF;
  --text-secondary: #9CA3AF;
  --text-tertiary: #6B7280;
  --cyan: #22D3EE;
  --magenta: #F472B6;
  --yellow: #FDE047;
  --grid-line: rgba(255, 255, 255, 0.05);
  --nav-glass: rgba(5, 5, 5, 0.65);
  --nav-glass-strong: rgba(5, 5, 5, 0.92);
  --chip-bg: rgba(255, 255, 255, 0.05);
  --title-grad-end: var(--cyan);
  color-scheme: dark;

  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.16, .8, .24, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
}

[data-theme="light"] {
  --bg: #F5F6FA;
  --bg-secondary: #FFFFFF;
  --surface: rgba(15, 17, 40, 0.035);
  --surface-strong: rgba(15, 17, 40, 0.06);
  --border: rgba(15, 17, 40, 0.10);
  --border-strong: rgba(15, 17, 40, 0.20);
  --white: #14151F;
  --text-secondary: #4B4F5E;
  --text-tertiary: #5B5F70;
  --grid-line: rgba(15, 17, 40, 0.05);
  --nav-glass: rgba(255, 255, 255, 0.72);
  --nav-glass-strong: rgba(255, 255, 255, 0.95);
  --chip-bg: rgba(15, 17, 40, 0.045);
  --accent-light: #2e378d;
  --title-grad-end: #0E7490;
  --text-light: black;
  color-scheme: light;
}

/* Modals and image-overlay text always sit on a fixed dark scrim, regardless of site theme */
.lightbox,
.service-modal,
.tile__overlay {
  --bg-secondary: #0E1015;
  --white: #FFFFFF;
  --text-secondary: #9CA3AF;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --surface: rgba(255, 255, 255, 0.035);
  --accent-light: #6D77D5;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}

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

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 15px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width:640px) {
  .container {
    padding: 0 20px;
  }
}

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

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.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.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   SHOOTING STARS EASTER EGG — random background flourish,
   sits behind all page content/images, never intercepts clicks.
   ============================================================ */
.shooting-stars {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.shooting-star {
  position: absolute;
  width: var(--len, 120px);
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-radius: 999px;
  opacity: 0;
  transform: rotate(var(--angle, 45deg)) translateX(0);
  animation: shootingStarFall var(--duration, 1.4s) linear var(--delay, 0s) forwards;
}

.shooting-star::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 1.5px rgba(255, 255, 255, 0.85);
}

@keyframes shootingStarFall {
  0% {
    opacity: 0;
    transform: rotate(var(--angle, 45deg)) translateX(0);
  }

  12% {
    opacity: 1;
  }

  82% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: rotate(var(--angle, 45deg)) translateX(var(--distance, 260px));
  }
}

[data-theme="light"] .shooting-star {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
}

[data-theme="light"] .shooting-star::after {
  background: #000;
  box-shadow: 0 0 6px 1.5px rgba(0, 0, 0, 0.7);
}

@media (prefers-reduced-motion: reduce) {
  .shooting-stars {
    display: none;
  }
}

/* ============================================================
   PRELOADER
   ============================================================ */
body.is-loading {
  overflow: hidden;
  height: 100vh;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--bg);
  opacity: 1;
  visibility: visible;
  transition: opacity .6s var(--ease), visibility .6s var(--ease), transform .6s var(--ease);
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.03);
}

.preloader__logo {
  width: 52px;
  height: 58px;
  opacity: 0;
  transform: scale(0.82);
  animation: preloaderIn .8s var(--ease-out) forwards, preloaderPulse 1.7s ease-in-out .9s infinite;
}

.preloader__logo svg {
  width: 100%;
  height: 100%;
  fill: var(--white);
}

.preloader__bar {
  position: relative;
  width: 120px;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--border);
}

.preloader__bar-fill {
  position: absolute;
  inset: 0;
  width: 45%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--magenta) 34%, var(--yellow) 67%, var(--accent) 100%);
  animation: preloaderSweep 1.25s ease-in-out infinite;
}

@keyframes preloaderIn {
  from {
    opacity: 0;
    transform: scale(0.82);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes preloaderPulse {

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

  50% {
    opacity: 0.72;
    transform: scale(0.94);
  }
}

@keyframes preloaderSweep {
  0% {
    transform: translateX(-115%);
  }

  100% {
    transform: translateX(215%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader {
    transition: opacity .3s linear;
  }

  .preloader__logo {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .preloader__bar-fill {
    animation: none;
    width: 100%;
  }
}

/* ============================================================
   SCROLL PROGRESS — CMYK COLOR BAR (signature element)
   ============================================================ */
.progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--border);
  z-index: 1000;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--magenta) 34%, var(--yellow) 67%, var(--accent) 100%);
  transform-origin: left;
  transition: width 0.05s linear;
}

/* ============================================================
   CROP-MARK FRAME (signature element)
   ============================================================ */
.crop-frame {
  position: relative;
}

.crop-frame::before,
.crop-frame::after,
.crop-frame .crop {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 3;
  opacity: 0.55;
  transition: opacity .4s var(--ease);
}

.crop-frame::before {
  top: -8px;
  left: -8px;
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}

.crop-frame::after {
  bottom: -8px;
  right: -8px;
  border-bottom: 1px solid var(--border-strong);
  border-right: 1px solid var(--border-strong);
}

.crop-frame .crop.tr {
  top: -8px;
  right: -8px;
  border-top: 1px solid var(--border-strong);
  border-right: 1px solid var(--border-strong);
}

.crop-frame .crop.bl {
  bottom: -8px;
  left: -8px;
  border-bottom: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}

.crop-frame:hover::before,
.crop-frame:hover::after,
.crop-frame:hover .crop {
  opacity: 1;
  border-color: var(--accent-light);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out), border-color .35s var(--ease-out);
  white-space: nowrap;
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  border-color: var(--border-strong);
  background: var(--surface-strong);
  transform: translateY(-2px);
}

.btn--accent {
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -10px rgba(46, 55, 141, 0.6);
}

.btn--accent:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 14px 32px -8px rgba(46, 55, 141, 0.8);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ============================================================
   GLASS PANEL
   ============================================================ */
.glass {
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: var(--nav-glass);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo svg {
  height: 44px;
  width: auto;
  display: block;
  fill: var(--white);
  transition: fill .4s var(--ease);
}

.footer__logo svg {
  height: 56px;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 14.5px;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color .3s var(--ease);
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width .35s var(--ease-out);
}

.nav__links a:hover {
  color: var(--white);
}

.nav__links a:hover::after {
  width: 100%;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease-out);
}

.theme-toggle:hover {
  background: var(--surface-strong);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.theme-toggle__icon {
  width: 20px;
  height: 20px;
  overflow: visible;
  transition: transform .5s var(--ease-out);
}

.theme-toggle__orb {
  fill: currentColor;
}

.theme-toggle__mask-circle {
  transform: translate(0, 0);
  transform-origin: 17px 7px;
  transition: transform .55s var(--ease-out);
}

.theme-toggle__rays {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transform-origin: 12px 12px;
  opacity: 0;
  transform: scale(0.4) rotate(-90deg);
  transition: opacity .4s var(--ease), transform .5s var(--ease-out);
}

[data-theme="light"] .theme-toggle__mask-circle {
  transform: translate(12px, -12px);
}

[data-theme="light"] .theme-toggle__rays {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

[data-theme="light"] .theme-toggle__icon {
  transform: rotate(20deg);
}

@media (prefers-reduced-motion:reduce) {

  .theme-toggle__icon,
  .theme-toggle__mask-circle,
  .theme-toggle__rays {
    transition: none !important;
  }
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav__toggle span,
.nav__toggle::before,
.nav__toggle::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.nav__toggle::before {
  transform: translateY(-5px);
}

.nav__toggle::after {
  transform: translateY(5px);
}

.nav__toggle.is-open::before {
  transform: translateY(0) rotate(45deg);
}

.nav__toggle.is-open::after {
  transform: translateY(0) rotate(-45deg);
}

.nav__toggle.is-open span {
  opacity: 0;
}

.nav__mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 550;
  opacity: 0;
  pointer-events: none;
  background: rgba(5, 5, 10, 0.35);
  backdrop-filter: blur(2px);
  transition: opacity .45s var(--ease);
}

.nav__mobile-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 600;
  width: min(360px, 86vw);
  height: 100dvh;
  height: 100vh;
  background: linear-gradient(160deg, var(--nav-glass-strong), var(--nav-glass));
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-left: 1px solid var(--border-strong);
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform .5s var(--ease), background .4s var(--ease);
  overflow-y: auto;
}

.nav__mobile.is-open {
  transform: translateX(0);
}

.nav__mobile-inner {
  padding: 100px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 100%;
}

.nav__mobile-inner a {
  padding: 16px 6px;
  font-size: 17px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  opacity: 0;
  transform: translateX(18px);
  transition: color .3s var(--ease), opacity .45s var(--ease), transform .45s var(--ease);
}

.nav__mobile-inner a:hover {
  color: var(--white);
}

.nav__mobile-inner .btn {
  margin-top: 20px;
  width: 100%;
  border-bottom: none;
}

.nav__mobile.is-open .nav__mobile-inner a {
  opacity: 1;
  transform: translateX(0);
}

.nav__mobile.is-open .nav__mobile-inner a:nth-child(1) {
  transition-delay: .08s;
}

.nav__mobile.is-open .nav__mobile-inner a:nth-child(2) {
  transition-delay: .14s;
}

.nav__mobile.is-open .nav__mobile-inner a:nth-child(3) {
  transition-delay: .2s;
}

.nav__mobile.is-open .nav__mobile-inner a:nth-child(4) {
  transition-delay: .26s;
}

.nav__mobile.is-open .nav__mobile-inner a:nth-child(5) {
  transition-delay: .32s;
}

@media (prefers-reduced-motion:reduce) {

  .nav__mobile,
  .nav__mobile-backdrop,
  .nav__mobile-inner a {
    transition: none !important;
  }
}

@media (max-width:900px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__mobile {
    display: block;
  }
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
section {
  position: relative;
  padding: 150px 0;
}

@media (max-width:900px) {
  section {
    padding: 100px 0;
  }
}

.section__head {
  max-width: 640px;
  margin-bottom: 72px;
}

.section__head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px rgba(46, 55, 141, 0.8);
}

.section__head h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.12;
  margin-bottom: 18px;
}

.section__lead {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal-line>span {
  display: inline-block;
  transform: translateY(110%);
}

.reveal-line {
  overflow: hidden;
  display: block;
}

.no-js .reveal,
.no-js .reveal-line>span {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion:reduce) {

  .reveal,
  .reveal-line>span {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__grid,
  .hero__scroll span {
    animation: none !important;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}

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

.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 900px;
  max-width: 160vw;
  background: radial-gradient(circle at 50% 30%, rgba(46, 55, 141, 0.35), rgba(46, 55, 141, 0.08) 45%, transparent 70%);
  filter: blur(10px);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 10%, transparent 75%);
  animation: gridDrift 34s linear infinite;
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 64px 128px, 64px 128px;
  }
}

.hero__halftone {
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: 520px;
  height: 520px;
  opacity: 0.18;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 64px;
  align-items: center;
}

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

.hero__title {
  font-size: clamp(46px, 6.6vw, 84px);
  line-height: 1;
  margin-bottom: 26px;
}

.hero__title span {
  display: block;
}

.hero__title .grad {
  background: linear-gradient(130deg, var(--white) 0%, var(--accent-light) 60%, var(--title-grad-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 38px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero__meta {
  display: flex;
  gap: 22px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  flex-wrap: wrap;
}

.hero__meta .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-tertiary);
}

.hero__visual {
  position: relative;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

@media (max-width:1080px) {
  .hero__visual {
    margin-top: 12px;
    height: 460px;
  }
}

@media (max-width:640px) {
  .hero__visual {
    height: 360px;
  }
}

.hero__slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__slider-track {
  display: flex;
  height: 100%;
  transition: transform .9s var(--ease-out);
}

@media (prefers-reduced-motion:reduce) {
  .hero__slider-track {
    transition: none;
  }
}

.hero__slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero__slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

.hero__slide-label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero__slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero__slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  transition: background .3s var(--ease), transform .3s var(--ease);
}

.hero__slider-dots button.is-active {
  background: #fff;
  transform: scale(1.3);
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--border-strong);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--text-secondary);
  animation: scrollDot 2s ease infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  70% {
    opacity: 0;
    transform: translateY(14px);
  }

  100% {
    opacity: 0;
  }
}

@media (max-width:900px) {
  .hero__scroll {
    display: none;
  }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width:960px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .45s var(--ease-out), border-color .45s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease);
  overflow: hidden;
  width: 100%;
  text-align: left;
  display: block;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s var(--ease);
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(46, 55, 141, 0.16), transparent 60%);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
  box-shadow: 0 30px 60px -30px rgba(46, 55, 141, 0.35);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(46, 55, 141, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 22px;
  transition: background .4s var(--ease);
}

.service-card:hover .service-card__icon {
  background: rgba(46, 55, 141, 0.22);
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
  color: var(--text-light);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin-bottom: 18px;
}

.service-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--accent-light);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-card__arrow svg {
  width: 14px;
  height: 14px;
  transition: transform .35s var(--ease-out);
}

.service-card__arrow svg path {
  fill: var(--accent-light);
}

.service-card:hover .service-card__arrow svg {
  transform: translateX(5px);
}



/* ============================================================
   PORTFOLIO — MASONRY
   ============================================================ */
.portfolio__grid {
  column-count: 3;
  column-gap: 20px;
}

@media (max-width:960px) {
  .portfolio__grid {
    column-count: 2;
  }
}

@media (max-width:600px) {
  .portfolio__grid {
    column-count: 1;
  }
}

.tile {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  background: none;
  padding: 0;
  transition: transform .5s var(--ease-out), border-color .5s var(--ease);
}

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

.tile__visual {
  width: 100%;
  height: 100%;
  position: relative;
}

.tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  text-align: left;
}

.tile:hover .tile__overlay {
  opacity: 1;
}

.tile__cat {
  font-size: 10.5px;
  color: var(--accent-light);
  margin-bottom: 4px;
}

.tile__title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--white);
}

/* ============================================================
   PROCESS — VECTOR PARALLAX ILLUSTRATION
   ============================================================ */
.process {
  padding-top: 60px;
  padding-bottom: 130px;
  overflow: hidden;
}

.process__scene {
  position: relative;
  height: 440px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-secondary);
}

@media (max-width:900px) {
  .process__scene {
    height: 340px;
  }
}

@media (max-width:600px) {
  .process__scene {
    height: 270px;
  }
}

.process__layer {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  height: 124%;
  will-change: transform;
}

.process__layer--back {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 50% 50%, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 65% 70% at 50% 50%, black 20%, transparent 80%);
}

.process__layer--back::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(circle, rgba(46, 55, 141, 0.28), transparent 70%);
  filter: blur(20px);
}

.process__layer--mid {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.process__layer--mid svg {
  width: 100%;
  max-width: 1100px;
  height: auto;
  padding: 0 24px;
}

.proc-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--text-tertiary);
}

.proc-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  fill: var(--text-tertiary);
  opacity: 0.8;
}

.proc-chip {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.45);
  animation: procFloat 6.5s ease-in-out infinite;
}

.proc-chip--1 {
  top: 16%;
  left: 6%;
  width: 36px;
  height: 24px;
  background: linear-gradient(155deg, #22D3EE, #2e378d);
}

.proc-chip--2 {
  top: 64%;
  left: 16%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(155deg, #F472B6, #2e378d);
  animation-delay: 1.2s;
}

.proc-chip--3 {
  top: 14%;
  right: 16%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(155deg, #FDE047, #2e378d);
  animation-delay: 2.4s;
}

.proc-chip--4 {
  top: 66%;
  right: 6%;
  width: 38px;
  height: 24px;
  background: linear-gradient(155deg, #6D77D5, #0E1015);
  animation-delay: 3.6s;
}

@keyframes procFloat {

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

  50% {
    transform: translateY(-12px);
  }
}

@media (max-width:600px) {
  .proc-chip {
    display: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  .proc-chip {
    animation: none;
  }
}

/* ============================================================
   WHY BB PRINT
   ============================================================ */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 32px;
}

@media (max-width:900px) {
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.why-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--chip-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.why-item__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.why-item p {
  color: var(--text-secondary);
  font-size: 14.5px;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: 90px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width:760px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 600;
  background: linear-gradient(180deg, var(--white), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

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

.contact__info h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 16px;
}

.contact__info>p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 420px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__list svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent-light);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.contact__list span.mono {
  display: block;
  font-size: 10px;
  color: var(--text-tertiary);
  margin-bottom: 3px;
}

.contact__list a,
.contact__list span.val {
  font-size: 15.5px;
}

.contact__social {
  display: flex;
  gap: 12px;
}

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

.social-icon:hover {
  color: var(--white);
  border-color: var(--accent-light);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.map {
  border-radius: var(--radius-lg);
  height: 100%;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: invert(92%) hue-rotate(180deg) brightness(0.95) contrast(0.9);
  transition: filter .4s var(--ease);
}

[data-theme="light"] .map iframe {
  filter: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 80px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 56px;
}

@media (max-width:760px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer__brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 14px;
  max-width: 280px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

.footer__cols h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-weight: 500;
  margin-bottom: 18px;
}

.footer__cols a {
  display: block;
  font-size: 14.5px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  transition: color .3s var(--ease);
}

.footer__cols a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom span {
  font-size: 12.5px;
  color: var(--text-tertiary);
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(3, 3, 4, 0.86);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__content {
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  transform: scale(0.94);
  transition: transform .4s var(--ease-out);
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.lightbox.is-open .lightbox__content {
  transform: scale(1);
}

.lightbox__content::-webkit-scrollbar {
  width: 6px;
}

.lightbox__content::-webkit-scrollbar-track {
  background: transparent;
}

.lightbox__content::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 3px;
}

.lightbox__gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox__img {
  width: 100%;
  flex: 0 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  display: block;
}

img.lightbox__img {
  height: auto;
}

div.lightbox__img {
  height: 340px;
  object-fit: cover;
}

.lightbox__meta {
  margin-bottom: 20px;
}

.lightbox__meta h3 {
  font-size: 22px;
  color: var(--white);
}

.lightbox__close {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 16px;
}

/* ============================================================
   SERVICE DETAIL MODAL
   ============================================================ */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(3, 3, 4, 0.86);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}

.service-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.service-modal__content {
  max-width: 800px;
  width: 100%;
  max-height: 86vh;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: stretch;
  transform: scale(0.94);
  transition: transform .4s var(--ease-out);
}

.service-modal.is-open .service-modal__content {
  transform: scale(1);
}

@media (max-width:720px) {
  .service-modal__content {
    flex-direction: column;
    max-height: 90vh;
    overflow: auto;
  }
}

.service-modal__visual {
  position: relative;
  overflow: hidden;
  flex: 0 0 44%;
  min-height: 320px;
}

.service-modal__visual:not(.has-img) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(155deg, var(--accent), var(--cyan));
}

@media (max-width:720px) {
  .service-modal__visual {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    aspect-ratio: 4/3;
  }
}

.service-modal__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-modal__ph-icon {
  width: 44px;
  height: 44px;
  opacity: 0.85;
  color: rgba(255, 255, 255, 0.95);
}

.service-modal__ph-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-modal__ph-label {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
}

.service-modal__body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-modal__body h3 {
  font-size: 26px;
  margin-bottom: 14px;
  color: var(--white);
}

.service-modal__body p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
}

.service-modal__close {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 16px;
  z-index: 2;
}

.magnetic {
  will-change: transform;
}