/* ============================================================
   DIGITSPLASH — Neo-Brutalist Creative Agency
   Create. Connect. Grow.
   Dark-first + light theme toggle. Brand colors locked.
   ============================================================ */

:root {
  /* Brand palette — LOCKED */
  --blue: #30AFFF;
  --aqua: #92EEFF;
  --lime: #D8FFC5;
  --mint: #C4F7CA;
  --white: #FFFFFF;
  --off: #F8FAFC;
  --dark: #071827;
  --charcoal: #111827;

  /* Neutral accents used only when needed */
  --blue-deep: #1f9fe6;
  --green-deep: #2bb27a;
  --olive: #6fae2f;

  --font-sans: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-display: "Archivo Black", "Space Grotesk", Impact, sans-serif;

  --border-w: 3px;

  /* Dark theme (default) */
  --bg: #071827;
  --bg-alt: #0a2033;
  --surface: #0d2436;
  --surface-2: #102b40;
  --fg: #FFFFFF;
  --muted: rgba(255,255,255,.72);
  --line: #FFFFFF;
  --accent: var(--blue);
  --shadow-color: #000000;
  --btn-fg: #071827;
}

[data-theme="light"] {
  --bg: #F8FAFC;
  --bg-alt: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #FFFFFF;
  --fg: #071827;
  --muted: rgba(7,24,39,.7);
  --line: #071827;
  --accent: var(--blue);
  --shadow-color: #071827;
  --btn-fg: #071827;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.7rem); }

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul { margin: 0 0 1em; padding-left: 1.1em; }
li { margin-bottom: .4em; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 900px; }

.section { padding: 100px 0; position: relative; }
.section--tight { padding: 64px 0; }

/* Section backgrounds resolve to theme tokens */
.bg-white { background: var(--bg-alt); }
.bg-off { background: var(--bg); }
.bg-aqua { background: var(--bg-alt); border-top: var(--border-w) solid var(--line); border-bottom: var(--border-w) solid var(--line); }
.bg-lime { background: var(--bg-alt); border-top: var(--border-w) solid var(--line); border-bottom: var(--border-w) solid var(--line); }
.bg-mint { background: var(--bg-alt); }
.bg-dark { background: #071827; color: #fff; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark .muted { color: rgba(255,255,255,.7); }

/* Brand-tinted section accents */
.edge-blue { box-shadow: inset 0 0 0 0 transparent; border-top: 3px solid var(--blue) !important; }
.edge-aqua { border-top: 3px solid var(--aqua) !important; }
.edge-lime { border-top: 3px solid var(--lime) !important; }

/* ---- Typography helpers ---- */
.eyebrow {
  display: inline-block;
  font-weight: 700; text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; background: var(--accent); color: var(--btn-fg);
  padding: 7px 15px; border: 2px solid var(--line); margin-bottom: 20px;
}
.bg-dark .eyebrow, .bg-dark .eyebrow { border-color: #fff; }

.lead { font-size: 1.15rem; max-width: 62ch; }
.muted { opacity: .78; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 34px; }

.grad-text {
  background: linear-gradient(90deg, var(--blue), var(--aqua) 45%, var(--mint));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.accent-blue { color: var(--blue); }
.accent-aqua { color: var(--aqua); }
.accent-lime { color: var(--lime); }
.accent-mint { color: var(--mint); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px; position: relative;
  font-family: var(--font-sans); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: .84rem;
  padding: 15px 24px; border: var(--border-w) solid var(--line);
  background: var(--surface); color: var(--fg);
  box-shadow: 5px 5px 0 var(--shadow-color);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--shadow-color); }
.btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--shadow-color); }
.btn:focus-visible { outline: 3px dashed var(--accent); outline-offset: 3px; }

.btn--primary { background: var(--blue); color: var(--btn-fg); border-color: var(--line); }
.btn--lime { background: var(--lime); color: var(--btn-fg); }
.btn--aqua { background: var(--aqua); color: var(--btn-fg); }
.btn--mint { background: var(--mint); color: var(--btn-fg); }
.btn--dark { background: var(--fg); color: var(--bg); }
[data-theme="light"] .btn--dark { background: var(--dark); color: #fff; }
.btn--ghost { background: transparent; }
.btn--sm { padding: 11px 18px; font-size: .78rem; }

.btn .arrow { transition: transform .18s ease; display: inline-flex; }
.btn:hover .arrow { transform: translateX(5px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--lime); color: #071827; padding: 12px 18px;
  border: var(--border-w) solid #071827; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: var(--border-w) solid var(--line);
  transition: box-shadow .2s ease, background .2s ease;
}
.nav.scrolled { box-shadow: 0 6px 0 rgba(0,0,0,.35); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 80px; }
.nav__logo img { height: 40px; width: auto; filter: none; }
[data-theme="light"] .nav__logo img { filter: none; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links li { margin: 0; }
.nav__links a {
  display: inline-block; padding: 9px 13px; font-weight: 700; font-size: .86rem;
  text-transform: uppercase; letter-spacing: .03em;
  border: 2px solid transparent; transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.nav__links a:hover { border-color: var(--line); background: var(--aqua); color: #071827; }
.nav__links a.active { border-color: var(--line); background: var(--lime); color: #071827; }

/* Desktop dropdown */
.nav__item { position: relative; }
.nav__item > a .caret { font-size: .6rem; margin-left: 4px; display: inline-block; transition: transform .18s ease; }
.nav__item:hover > a .caret { transform: rotate(180deg); }
.nav__drop {
  position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none;
  margin: 6px 0 0; padding: 10px; background: var(--bg); border: var(--border-w) solid var(--line);
  box-shadow: 8px 8px 0 var(--shadow-color); display: none; flex-direction: column; gap: 6px; z-index: 120;
}
/* Invisible bridge so the cursor can travel from the link to the menu
   without the 6px gap breaking :hover */
.nav__drop::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
  background: transparent;
}
/* Small delay on close so a quick slip does not close the menu immediately */
.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop { display: flex; }
.nav__drop a { display: block; width: 100%; padding: 11px 14px; font-size: .8rem; }
.nav__drop li { margin: 0; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__cta { display: inline-flex; }

/* Theme toggle */
.theme-toggle {
  width: 46px; height: 46px; border: var(--border-w) solid var(--line);
  background: var(--surface); color: var(--fg); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 4px 4px 0 var(--shadow-color);
  transition: transform .12s ease, background .15s ease;
}
.theme-toggle:hover { transform: translate(-2px,-2px); background: var(--aqua); color: #071827; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Burger */
.burger {
  display: none; width: 46px; height: 46px; border: var(--border-w) solid var(--line);
  background: var(--surface); cursor: pointer; padding: 0; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  box-shadow: 4px 4px 0 var(--shadow-color);
  transition: background .15s ease, transform .12s ease;
}
.burger:hover { background: var(--lime); transform: translate(-2px,-2px); }
.burger span { width: 22px; height: 3px; background: var(--fg); border-radius: 2px; transition: transform .25s ease, opacity .2s ease, background .15s ease; }
.burger:hover span { background: #071827; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 80px 0 0 0; background: var(--bg);
  border-bottom: var(--border-w) solid var(--line);
  transform: translateY(-130%); transition: transform .32s cubic-bezier(.4,0,.2,1); z-index: 90;
  padding: 20px 20px 40px; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu li { margin: 0; }

.mobile-menu a.mob-link {
  display: flex; align-items: center; flex: 1;
  border: var(--border-w) solid var(--line); background: var(--surface);
  padding: 15px 16px; font-weight: 700; text-transform: uppercase;
  font-size: .88rem; letter-spacing: .03em;
  box-shadow: 4px 4px 0 var(--shadow-color);
  transition: background .15s ease, color .15s ease, transform .12s ease;
}
.mobile-menu a.mob-link:hover { background: var(--aqua); color: #071827; }
.mobile-menu a.mob-link.active { background: var(--lime); color: #071827; }
.mobile-menu a.mob-link.active::before {
  content: ""; width: 8px; height: 8px; background: #071827; margin-right: 10px; flex: 0 0 auto;
}

/* Accordion row */
.mob-group { display: flex; flex-direction: column; gap: 10px; }
.mob-row { display: flex; gap: 10px; align-items: stretch; }
.mob-toggle {
  width: 52px; flex: 0 0 auto; cursor: pointer;
  border: var(--border-w) solid var(--line); background: var(--surface); color: var(--fg);
  box-shadow: 4px 4px 0 var(--shadow-color);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, color .15s ease;
}
.mob-toggle:hover { background: var(--aqua); color: #071827; }
.mob-caret { display: inline-block; font-size: .8rem; line-height: 1; transition: transform .25s ease; }
.mob-group.open .mob-caret { transform: rotate(180deg); }
.mob-group.open .mob-toggle { background: var(--lime); color: #071827; }

.mob-sub {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  display: flex; flex-direction: column; gap: 8px; padding-left: 16px;
  border-left: 3px solid var(--blue); margin-left: 6px;
}
.mob-group.open .mob-sub { max-height: 360px; }
.mob-sub a {
  display: block; border: 2px solid var(--line); background: var(--surface-2);
  padding: 12px 14px; font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .02em;
  transition: background .15s ease, color .15s ease;
}
.mob-sub a:hover { background: var(--aqua); color: #071827; }
.mob-sub a.active-sub { background: var(--blue); color: var(--btn-fg); border-color: var(--line); }

.mobile-menu .btn { width: 100%; justify-content: center; }

/* ============================================================
   HERO (home) — redesigned composition
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--bg); border-bottom: var(--border-w) solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; padding: 84px 0 100px; }
.hero__tag { font-size: clamp(1.05rem, 2.2vw, 1.35rem); font-weight: 700; margin-bottom: 14px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

.tagline-words { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.tword {
  border: 2px solid var(--line); padding: 10px 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; font-size: .76rem;
  box-shadow: 4px 4px 0 var(--shadow-color); color: #071827;
}
.tword--c { background: var(--aqua); }
.tword--co { background: var(--mint); }
.tword--g { background: var(--lime); }

/* New hero visual: stacked "signal" cards + orbit */
.hero-stage { position: relative; min-height: 520px; }
.hero-stage__ring {
  position: absolute; inset: 6% 8%; border: var(--border-w) solid var(--line);
  border-radius: 50%; opacity: .5;
  animation: spin 40s linear infinite;
}
.hero-stage__ring::after {
  content: ""; position: absolute; top: -14px; left: 50%; width: 26px; height: 26px;
  background: var(--lime); border: var(--border-w) solid var(--line); border-radius: 50%;
}
.hero-stage__core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 210px; height: 210px; border: var(--border-w) solid var(--line);
  background: var(--dark); color: #fff; box-shadow: 10px 10px 0 var(--blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; z-index: 4; padding: 18px;
}
.hero-stage__core .mark { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.hero-stage__core small { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; margin-top: 8px; }

/* Floating service chips around the core */
.chipcard {
  position: absolute; border: var(--border-w) solid var(--line); background: var(--surface);
  box-shadow: 8px 8px 0 var(--shadow-color); padding: 14px 16px; z-index: 5; width: 210px;
}
.chipcard h4 { font-size: .82rem; margin: 0 0 4px; letter-spacing: .04em; }
.chipcard p { font-size: .72rem; margin: 0; opacity: .75; }
.chipcard__k { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; margin-bottom: 6px; }
.chipcard--photo { top: 2%; left: -2%; animation: float 7s ease-in-out infinite; }
.chipcard--video { top: 16%; right: -3%; animation: float 9s ease-in-out infinite reverse; }
.chipcard--growth { bottom: 4%; left: 4%; animation: float 8s ease-in-out infinite; }
.chipcard--connect { bottom: 0; right: 2%; animation: float 10s ease-in-out infinite reverse; }

.tile {
  position: absolute; border: var(--border-w) solid var(--line);
  box-shadow: 6px 6px 0 var(--shadow-color); z-index: 3;
}
.tile--a { width: 92px; height: 92px; background: linear-gradient(135deg,var(--aqua),var(--blue)); top: 40%; left: -6%; transform: rotate(-6deg); }
.tile--b { width: 74px; height: 74px; background: linear-gradient(135deg,var(--mint),var(--lime)); bottom: 26%; right: -6%; transform: rotate(8deg); }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--blue); border-bottom: var(--border-w) solid var(--line); overflow: hidden; white-space: nowrap; }
.marquee__track {
  display: inline-flex; gap: 32px; padding: 15px 0;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: 1rem; letter-spacing: .04em; color: #071827;
  animation: scrollx 28s linear infinite;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 32px; }
.marquee__track .dot { width: 12px; height: 12px; background: var(--lime); border: 2px solid #071827; border-radius: 50%; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ============================================================
   PANELS / CARDS / GRIDS
   ============================================================ */
.panel { border: var(--border-w) solid var(--line); background: var(--surface); box-shadow: 8px 8px 0 var(--shadow-color); }
.panel--pad { padding: 32px; }
.panel--flat { box-shadow: 4px 4px 0 var(--shadow-color); }
.panel--blue { box-shadow: 8px 8px 0 var(--blue); }
.panel--aqua { box-shadow: 8px 8px 0 var(--aqua); }
.panel--lime { box-shadow: 8px 8px 0 var(--lime); }
.panel--mint { box-shadow: 8px 8px 0 var(--mint); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.split--top { align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.labels-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ============================================================
   SERVICE BLOCKS
   ============================================================ */
.service-block {
  display: grid; grid-template-columns: 90px 1fr 1fr; border: var(--border-w) solid var(--line);
  background: var(--surface); box-shadow: 8px 8px 0 var(--shadow-color);
  margin-bottom: 34px; overflow: hidden;
}
.service-block__num {
  background: var(--fg); color: var(--bg); font-family: var(--font-display);
  font-size: 2rem; display: flex; align-items: flex-start; justify-content: center;
  padding: 34px 0; border-right: var(--border-w) solid var(--line);
}
[data-theme="light"] .service-block__num { background: var(--dark); color: var(--lime); }
.service-block__body { padding: 34px; }
.service-block__num + .service-block__body { border-right: 0; }
.service-block__visual { border-left: var(--border-w) solid var(--line); min-height: 240px; display: flex; align-items: center; justify-content: center; padding: 22px; position: relative; overflow: hidden; }
.sv-photo { background: linear-gradient(135deg,var(--aqua),var(--blue)); }
.sv-video { background: linear-gradient(135deg,var(--mint),var(--lime)); }
.sv-growth { background: #071827; }

.mini-visual { width: 100%; max-width: 320px; border: var(--border-w) solid #071827; background: var(--white); box-shadow: 4px 4px 0 #071827; }
.timeline-strip { display: flex; gap: 6px; padding: 12px; }
.timeline-strip .clip { height: 44px; flex: 1; border: 2px solid #071827; }
.timeline-strip .clip:nth-child(odd){background:var(--aqua)}
.timeline-strip .clip:nth-child(even){background:var(--lime)}

/* Numbered feature block (detail pages) */
.feature { display: grid; grid-template-columns: 72px 1fr; gap: 22px; padding: 26px 0; border-bottom: var(--border-w) solid var(--line); }
.feature:last-child { border-bottom: 0; }
.feature__no { font-family: var(--font-display); font-size: 1.7rem; color: var(--blue); }
.feature h3 { margin-bottom: 4px; }

.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li {
  margin: 0; border: 2px solid var(--line); padding: 9px 14px; font-weight: 700;
  text-transform: uppercase; font-size: .74rem; letter-spacing: .05em; background: var(--surface);
}

/* Stats / why us */
.stats-list { display: grid; border: var(--border-w) solid var(--line); background: var(--surface); }
.stat-row { display: grid; grid-template-columns: 280px 1fr; gap: 30px; padding: 30px; border-bottom: var(--border-w) solid var(--line); align-items: center; }
.stat-row:last-child { border-bottom: 0; }
.stat-row__title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.05rem,2.4vw,1.6rem); }
.stat-row:nth-child(odd) { background: var(--surface-2); }
.big-stat { font-family: var(--font-display); font-size: clamp(2.6rem,7vw,5rem); color: var(--blue); }

/* Industries */
.ind-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.ind {
  border: var(--border-w) solid var(--line); padding: 14px 22px;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(.95rem,2vw,1.25rem); box-shadow: 4px 4px 0 var(--shadow-color);
  background: var(--surface); transition: transform .15s ease, background .15s ease, color .15s ease;
}
.ind:hover { transform: translate(-3px,-3px); background: var(--lime); color: #071827; box-shadow: 6px 6px 0 var(--shadow-color); }
.ind:nth-child(3n) { background: var(--aqua); color: #071827; }
.ind:nth-child(4n) { background: var(--mint); color: #071827; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4,1fr); border: var(--border-w) solid var(--line); box-shadow: 8px 8px 0 var(--shadow-color); background: var(--surface); }
.step { padding: 30px; border-right: var(--border-w) solid var(--line); }
.step:last-child { border-right: 0; }
.step__no { font-family: var(--font-display); font-size: 2.6rem; color: var(--blue); }
.step h3 { font-size: 1.05rem; margin-top: 8px; }
.step:nth-child(2) .step__no { color: var(--blue-deep); }
.step:nth-child(3) .step__no { color: var(--green-deep); }
.step:nth-child(4) .step__no { color: var(--olive); }

/* ============================================================
   BEFORE / AFTER SLIDER
   ============================================================ */
.ba { position: relative; border: var(--border-w) solid var(--line); box-shadow: 8px 8px 0 var(--shadow-color); height: 480px; overflow: hidden; user-select: none; background: #071827; touch-action: none; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__img--edited { z-index: 1; }
.ba__img--orig { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba__label { position: absolute; bottom: 16px; z-index: 5; background: #071827; color: #fff; border: 2px solid #fff; padding: 6px 12px; font-weight: 700; text-transform: uppercase; font-size: .7rem; letter-spacing: .1em; }
.ba__label--orig { left: 16px; }
.ba__label--edited { right: 16px; background: var(--lime); color: #071827; border-color: #071827; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 6px; background: #fff; z-index: 6; transform: translateX(-50%); cursor: ew-resize; }
.ba__knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border: var(--border-w) solid #071827; background: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: 4px 4px 0 #071827; }
.ba__hint { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 6; background: #fff; color: #071827; border: var(--border-w) solid #071827; padding: 6px 14px; font-weight: 700; text-transform: uppercase; font-size: .68rem; letter-spacing: .1em; box-shadow: 4px 4px 0 #071827; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.filter-btn { border: var(--border-w) solid var(--line); background: var(--surface); color: var(--fg); padding: 12px 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; cursor: pointer; box-shadow: 4px 4px 0 var(--shadow-color); transition: transform .12s ease, background .12s ease, color .12s ease; }
.filter-btn:hover { transform: translate(-2px,-2px); }
.filter-btn.active { background: var(--blue); color: var(--btn-fg); }

.masonry { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.p-item { border: var(--border-w) solid var(--line); box-shadow: 8px 8px 0 var(--shadow-color); background: var(--surface); position: relative; overflow: hidden; transition: transform .18s ease; color: var(--fg); text-align: left; cursor: pointer; padding: 0; font-family: inherit; display: block; width: 100%; }
.p-item:hover { transform: translate(-3px,-3px); }
.p-item--wide { grid-column: span 2; }
.p-item--tall { grid-row: span 2; }
.p-thumb { height: 270px; position: relative; overflow: hidden; }
.p-item--tall .p-thumb { height: 100%; min-height: 562px; }
.p-thumb img, .p-thumb .placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.p-item:hover .p-thumb img, .p-item:hover .p-thumb .placeholder { transform: scale(1.05); }
.p-tag { position: absolute; top: 12px; left: 12px; z-index: 3; background: #071827; color: var(--lime); border: 2px solid #fff; padding: 5px 10px; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.p-meta { padding: 18px; border-top: var(--border-w) solid var(--line); }
.p-meta h3 { font-size: 1.02rem; margin: 0 0 2px; }
.p-meta p { margin: 0; font-size: .82rem; opacity: .72; }
.p-item .play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; }

.placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 6px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; font-size: .7rem; color: #071827; text-align: center; padding: 16px;
}
.placeholder small { font-weight: 500; letter-spacing: .02em; text-transform: none; opacity: .7; font-size: .66rem; }

.play-btn { width: 60px; height: 60px; border: var(--border-w) solid #071827; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 4px 4px 0 #071827; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border: var(--border-w) solid var(--line); box-shadow: 8px 8px 0 var(--shadow-color); background: var(--surface); }
.faq__item { border-bottom: var(--border-w) solid var(--line); }
.faq__item:last-child { border-bottom: 0; }
.faq__q { width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-sans); font-weight: 700; font-size: 1rem; text-transform: uppercase; color: inherit; }
.faq__q:hover { background: var(--aqua); color: #071827; }
.faq__item.open .faq__q { background: var(--lime); color: #071827; }
.faq__icon { width: 26px; height: 26px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a-inner { padding: 0 24px 24px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tcard { border: var(--border-w) solid var(--line); background: var(--surface); box-shadow: 8px 8px 0 var(--shadow-color); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.tcard .stars { color: var(--blue); letter-spacing: .12em; font-size: 1rem; }
.tcard blockquote { margin: 0; font-size: 1.02rem; }
.tcard .who { font-weight: 700; text-transform: uppercase; font-size: .76rem; letter-spacing: .06em; opacity: .7; }
.tcard .who span { display: block; font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .9; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--aqua) 55%, var(--mint)); border-top: var(--border-w) solid var(--line); border-bottom: var(--border-w) solid var(--line); position: relative; overflow: hidden; color: #071827; }
.cta-band h2, .cta-band p { color: #071827; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

.footer { background: #071827; color: #fff; border-top: var(--border-w) solid #fff; padding: 72px 0 30px; }
.footer a { color: #fff; }
.footer a:hover { color: var(--aqua); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1.2fr; gap: 34px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.footer li { margin: 0; }
.footer__logo { height: 44px; width: auto; margin-bottom: 18px; }
.footer__bottom { margin-top: 52px; padding-top: 24px; border-top: 2px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; opacity: .82; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; transition: background .15s ease, color .15s ease, border-color .15s; }
.socials a:hover { background: var(--lime); color: #071827; border-color: var(--lime); }

/* ============================================================
   FORMS
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; text-transform: uppercase; font-size: .74rem; letter-spacing: .08em; }
.field input, .field select, .field textarea { font-family: var(--font-sans); font-size: 1rem; padding: 14px 16px; border: var(--border-w) solid var(--line); background: var(--surface); color: var(--fg); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px dashed var(--blue); outline-offset: 2px; }
.field textarea { min-height: 150px; resize: vertical; }
.field .error-msg { color: #ff8b8b; font-size: .78rem; font-weight: 700; display: none; }
[data-theme="light"] .field .error-msg { color: #c81e1e; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff8b8b; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .82rem; opacity: .7; margin-top: 6px; }
.form-success { display: none; border: var(--border-w) solid var(--line); background: var(--lime); color: #071827; box-shadow: 8px 8px 0 var(--shadow-color); padding: 26px; margin-top: 26px; }
.form-success.show { display: block; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { border-bottom: var(--border-w) solid var(--line); padding: 80px 0; position: relative; overflow: hidden; background: var(--bg-alt); }
.page-hero::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border: var(--border-w) solid var(--line); border-radius: 50%; opacity: .35; }
.breadcrumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.breadcrumbs li { margin: 0; }
.breadcrumbs a:hover { color: var(--aqua); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* Value rows */
.value-row { display: grid; grid-template-columns: 60px 1fr; gap: 22px; padding: 26px 0; border-bottom: var(--border-w) solid var(--line); }
.value-row:last-child { border-bottom: 0; }
.value-row__no { font-family: var(--font-display); font-size: 1.6rem; color: var(--blue); }

/* Team cards */
.team-card { border: var(--border-w) solid var(--line); background: var(--surface); box-shadow: 8px 8px 0 var(--shadow-color); overflow: hidden; transition: transform .15s ease; }
.team-card:hover { transform: translate(-3px,-3px); }
.team-card__photo { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border-bottom: var(--border-w) solid var(--line); position: relative; overflow: hidden; background: var(--surface-2); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card__body { padding: 20px; }
.team-card__body h3 { margin: 0 0 4px; font-size: 1.08rem; }
.team-card__body p { margin: 0; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.team-card--lead { box-shadow: 8px 8px 0 var(--blue); }
.team-card--founder { box-shadow: 8px 8px 0 var(--lime); }

/* Comparison table (digital marketing) */
.table-wrap { overflow-x: auto; border: var(--border-w) solid var(--line); box-shadow: 8px 8px 0 var(--shadow-color); background: var(--surface); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
table.cmp th, table.cmp td { padding: 16px 18px; text-align: left; border-bottom: 2px solid var(--line); font-size: .92rem; vertical-align: top; }
table.cmp thead th { background: var(--blue); color: #071827; font-family: var(--font-display); text-transform: uppercase; font-size: .82rem; letter-spacing: .04em; border-bottom: var(--border-w) solid var(--line); }
table.cmp tbody tr:nth-child(even) { background: var(--surface-2); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td:first-child { font-weight: 700; }

/* Legal / prose */
.prose { max-width: 880px; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.3rem,3vw,2rem); }
.prose h3 { margin-top: 1.2em; font-size: clamp(1.05rem,2.2vw,1.35rem); }
.prose p, .prose li { font-size: 1rem; }
.prose .updated { display: inline-block; background: var(--surface-2); border: 2px solid var(--line); padding: 6px 12px; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 24px; }
.callout { border-left: 6px solid var(--blue); background: var(--surface); padding: 18px 22px; margin: 24px 0; }

/* 404 */
.lost { min-height: 70vh; display: flex; align-items: center; }
.lost__code { font-family: var(--font-display); font-size: clamp(6rem, 30vw, 20rem); line-height: .8; color: transparent; -webkit-text-stroke: 3px var(--line); }
[data-theme="light"] .lost__code { -webkit-text-stroke: 3px var(--dark); }

/* ============================================================
   VIDEO MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal__overlay {
  position: absolute; inset: 0; background: rgba(7,24,39,.85);
  animation: fadeIn .2s ease;
}
.modal__frame {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: min(900px, calc(100% - 32px));
  background: var(--bg); border: var(--border-w) solid var(--line);
  box-shadow: 8px 8px 0 var(--shadow-color); animation: popIn .22s ease;
}
.modal__frame video, .modal__frame iframe {
  width: 100%; display: block; background: #000; max-height: 78vh;
  aspect-ratio: 16 / 9; border: 0;
}
.modal__close {
  position: absolute; top: -22px; right: -22px;
  width: 48px; height: 48px; border: var(--border-w) solid #071827; background: var(--lime);
  color: #071827; font-size: 1.6rem; font-weight: 700; cursor: pointer; line-height: 1;
  box-shadow: 4px 4px 0 #071827;
}
.modal__close:hover { background: var(--blue); }
.modal__note { margin: 0; padding: 12px 16px; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--fg); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translate(-50%,-46%) scale(.96); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@media (max-width: 600px) {
  .modal__close { top: -18px; right: -10px; width: 42px; height: 42px; }
}

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 85;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 12px;
  background: #25D366; color: #071827;
  border: var(--border-w) solid var(--line);
  box-shadow: 5px 5px 0 var(--shadow-color);
  font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .78rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-float:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--shadow-color); }
.whatsapp-float:focus-visible { outline: 3px dashed var(--blue); outline-offset: 3px; }
.whatsapp-float svg { width: 26px; height: 26px; flex: 0 0 auto; }
.whatsapp-float .wa-label { display: inline-block; }
.whatsapp-float .wa-ping {
  position: absolute; top: -6px; right: -6px; width: 14px; height: 14px;
  background: var(--lime); border: 2px solid var(--ink); border-radius: 50%;
}
@media (max-width: 600px) {
  .whatsapp-float { left: 12px; bottom: 12px; padding: 10px; }
  .whatsapp-float .wa-label { display: none; }
}

/* Custom right-click menu */
.ctx-menu {
  position: fixed; z-index: 400; min-width: 230px;
  background: var(--bg); border: var(--border-w) solid var(--line);
  box-shadow: 8px 8px 0 var(--shadow-color);
  padding: 8px; display: none;
}
.ctx-menu.open { display: block; }
.ctx-menu__title {
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; opacity: .65; padding: 6px 10px 10px;
}
.ctx-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 12px; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .04em;
  border: 2px solid transparent; color: var(--fg);
}
.ctx-menu a:hover, .ctx-menu a:focus-visible {
  background: var(--lime); color: #071827; border-color: var(--line); outline: none;
}
.ctx-menu a svg { width: 20px; height: 20px; flex: 0 0 auto; }
.ctx-menu a:nth-child(3) { margin-top: 4px; }
.ctx-menu a.ctx-mail:hover { background: var(--aqua); }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 52px; height: 52px; border: var(--border-w) solid var(--line);
  background: var(--blue); color: #071827; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 5px 5px 0 var(--shadow-color);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translate(-2px,-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-stage { min-height: 480px; }
  .service-block { grid-template-columns: 70px 1fr; }
  .service-block__visual { grid-column: 1 / -1; border-left: 0; border-top: var(--border-w) solid var(--line); min-height: 200px; }
  .process { grid-template-columns: repeat(2,1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: var(--border-w) solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .masonry { grid-template-columns: repeat(2,1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .section { padding: 66px 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .stat-row { grid-template-columns: 1fr; gap: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .ba { height: 340px; }

  /* Hero visual: stack into a clean column instead of overlapping cards */
  .hero-stage { min-height: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
  .hero-stage__ring, .tile { display: none; }
  .hero-stage__core { position: static; transform: none; width: 100%; height: auto; padding: 30px 20px; box-shadow: 8px 8px 0 var(--blue); }
  .chipcard { position: static; width: 100%; animation: none; transform: none; }
  .chipcard--connect { display: block; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .process { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: var(--border-w) solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .masonry { grid-template-columns: 1fr; }
  .p-item--wide { grid-column: auto; }
  .p-item--tall { grid-row: auto; }
  .p-item--tall .p-thumb { min-height: 300px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .service-block__num { border-right: 0; border-bottom: var(--border-w) solid var(--line); padding: 16px 0; }
  .ba { height: 300px; }
  .nav__inner { height: 68px; }
  .nav__logo img { height: 32px; }
  .mobile-menu { top: 68px; max-height: calc(100vh - 68px); }
  .to-top { right: 14px; bottom: 14px; }

  /* Modal close button stays inside the viewport */
  .modal__frame { width: calc(100% - 24px); }
  .modal__close { top: 8px; right: 8px; width: 40px; height: 40px; border-color: #071827; }
}

@media (max-width: 960px) {
  .modal__close { top: 8px; right: 8px; }
}

/* Large screens / TVs: use the extra space, keep text comfortable */
@media (min-width: 1600px) {
  .container { max-width: 1440px; }
  :root { --border-w: 4px; }
  .section { padding: 120px 0; }
}
@media (min-width: 2000px) {
  html { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
