:root {
  --bg: #FDFBF4;
  --ink: #0B0B0F;
  --ink-2: #2A2A33;
  --muted: #6B6B75;
  --line: #0B0B0F;
  --paper: #FFFFFF;
  --blue: #3B5BFF;
  --lime: #C6FF3D;
  --magenta: #FF3DA8;
  --yellow: #FFD93D;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1240px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

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

/* ==== Nav ==== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 2px solid var(--ink);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 32px; height: 32px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700;
  font-size: 14px;
}
.brand-name { font-size: 17px; }
.nav-links {
  display: flex; gap: 24px;
  font-size: 14px; font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  position: relative;
  padding: 4px 2px;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform .15s ease;
}
.nav-cta:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--lime); }
@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ==== Section ==== */
section {
  padding: 96px 0;
  position: relative;
  border-bottom: 2px solid var(--ink);
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: var(--ink);
  color: var(--bg);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  animation: blink 1.6s infinite;
}
@keyframes blink {
  0%, 60% { opacity: 1; }
  61%, 100% { opacity: .25; }
}
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}
.section-sub {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 640px;
  margin: 0 0 48px;
  text-wrap: pretty;
}

/* ==== Card ==== */
.card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ==== Hero ==== */
.hero {
  padding: 64px 0 96px;
  border-bottom: 2px solid var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(198,255,61,.35), transparent 38%),
    radial-gradient(circle at 88% 22%, rgba(255,61,168,.20), transparent 42%),
    radial-gradient(circle at 50% 95%, rgba(59,91,255,.18), transparent 45%),
    var(--bg);
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero-tag .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 0 rgba(255,61,168,.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,61,168,.7); }
  70% { box-shadow: 0 0 0 10px rgba(255,61,168,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,61,168,0); }
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: .98;
  letter-spacing: -0.03em;
  margin: 18px 0 22px;
}
.hero h1 .swatch {
  display: inline-block;
  background: var(--blue);
  color: var(--bg);
  padding: 0 .15em;
  transform: rotate(-1.2deg);
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero h1 .swatch.lime { background: var(--lime); color: var(--ink); }
.hero h1 .swatch.magenta { background: var(--magenta); color: var(--bg); }
.hero p.lead {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 520px;
  margin: 0 0 28px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
  font-family: var(--body);
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { box-shadow: 6px 6px 0 var(--lime); }
.btn-blue { background: var(--blue); color: var(--bg); }
.btn-magenta { background: var(--magenta); color: var(--bg); }

.hero-meta {
  margin-top: 36px;
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 13px;
  color: var(--ink-2);
}
.hero-meta b { color: var(--ink); }

/* Hero right column wraps dashboard + floating photo */
.hero-right {
  position: relative;
}

/* Floating photo */
.hero-photo-wrap {
  position: absolute;
  right: -36px;
  bottom: -88px;
  z-index: 4;
  pointer-events: none;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}
.hero-photo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 4px solid var(--ink);
  background: var(--lime);
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-tag {
  position: absolute;
  top: -8px; left: -32px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transform: rotate(-6deg);
}
.hero-photo-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--magenta);
}
@media (max-width: 920px) {
  .hero-right {
    display: flex;
    flex-direction: column;
    padding-top: 110px; /* room for overlapping photo */
  }
  .hero-photo-wrap {
    position: absolute;
    top: -10px;
    right: -8px;
    bottom: auto;
    margin: 0;
    display: block;
    width: fit-content;
    order: -1;
    z-index: 3;
    transform: rotate(4deg);
  }
  .hero-photo {
    width: 160px;
    height: 160px;
    box-shadow: 5px 5px 0 var(--ink);
  }
  .hero-photo-tag {
    top: -4px;
    left: -16px;
    font-size: 11px;
  }
  .hero-grid > div:first-child { order: 2; }
  .hero-right { order: 1; position: relative; }
  /* dashboard pulls slightly under photo */
  .hero-right .dash {
    margin-top: -40px;
  }
}

/* Hero dashboard */
.dash {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 12px 12px 0 var(--ink);
  padding: 22px;
  transform: rotate(.6deg);
}
.dash-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--ink);
}
.dash-dots span:nth-child(1) { background: var(--magenta); }
.dash-dots span:nth-child(2) { background: var(--yellow); }
.dash-dots span:nth-child(3) { background: var(--lime); }
.dash-title {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
}
.dash-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.tile {
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 14px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.tile.kpi { background: var(--bg); }
.tile.chart { grid-row: span 2; background: #fff; }
.tile.bars { background: var(--bg); }
.tile-label {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2);
}
.tile-value {
  font-family: var(--display);
  font-size: 30px; font-weight: 700; letter-spacing: -.02em;
  margin-top: 4px;
}
.tile-delta {
  font-family: var(--mono); font-size: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px;
  color: #1f8a3a;
}
.tile-delta.down { color: #c0392b; }
.spark { width: 100%; height: 78px; }
.bars-svg { width: 100%; height: 96px; }
.line-svg { width: 100%; height: 100%; min-height: 200px; }

/* Marquee */
.marquee {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex; gap: 48px;
  white-space: nowrap;
  animation: scroll 30s linear infinite;
  font-family: var(--display); font-weight: 600;
  font-size: 22px; letter-spacing: -.01em;
}
.marquee span { display: inline-flex; align-items: center; gap: 48px; }
.marquee em {
  font-style: normal;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 18px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==== About ==== */
.about-head { margin-bottom: 36px; max-width: 760px; }
.about-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .about-body { grid-template-columns: 1fr; gap: 24px; } }
.polaroid {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 12px 12px 14px;
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-3deg);
  transition: transform .25s ease;
  width: 240px;
  max-width: 100%;
  align-self: start;
}
.polaroid:hover { transform: rotate(-1deg) translateY(-3px); }
.polaroid img {
  display: block;
  width: 100%;
  height: 216px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--ink);
}
.polaroid-caption {
  font-family: var(--mono);
  font-size: 12px;
  text-align: center;
  margin-top: 10px;
  color: var(--ink);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--lime);
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}
.about-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-photo .placeholder {
  font-family: var(--mono); font-size: 12px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 6px 10px;
  position: absolute; bottom: 14px; left: 14px;
  z-index: 1;
}
.about-text p {
  font-size: 18px;
  margin: 0 0 16px;
  text-wrap: pretty;
}
.about-text p:first-child { margin-top: 0; }
.timeline {
  display: grid; gap: 14px;
}
.tl-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
}
.tl-row.blue { background: #EAF0FF; }
.tl-row.lime { background: #F2FFD6; }
.tl-row.magenta { background: #FFE6F2; }
.tl-when {
  font-family: var(--mono); font-size: 13px; font-weight: 600;
}
.tl-where { font-family: var(--display); font-weight: 700; font-size: 18px; }
.tl-role { font-size: 14px; color: var(--ink-2); }
.tl-clients {
  margin-top: 6px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.chip {
  font-family: var(--mono); font-size: 11px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  padding: 2px 8px;
  border-radius: 999px;
}

/* ==== Services ==== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 920px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 240px;
  display: flex; flex-direction: column;
}
.svc:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--ink); }
.svc-num {
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-2);
}
.svc-icon {
  width: 56px; height: 56px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  display: grid; place-items: center;
  margin: 8px 0 14px;
}
.svc:nth-child(1) .svc-icon { background: var(--lime); }
.svc:nth-child(2) .svc-icon { background: var(--blue); color: var(--bg); }
.svc:nth-child(3) .svc-icon { background: var(--magenta); color: var(--bg); }
.svc:nth-child(4) .svc-icon { background: var(--yellow); }
.svc:nth-child(5) .svc-icon { background: var(--ink); color: var(--lime); }
.svc:nth-child(6) .svc-icon { background: var(--paper); }
.svc h3 {
  font-family: var(--display);
  font-size: 22px; font-weight: 700; letter-spacing: -.01em;
  margin: 0 0 8px;
}
.svc p { color: var(--ink-2); margin: 0 0 14px; font-size: 15px; flex-grow: 1; }
.svc-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ==== Cases ==== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .cases-grid { grid-template-columns: 1fr; } }
.case {
  perspective: 1400px;
  height: 360px;
}
.case-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform .7s cubic-bezier(.7,.1,.2,1);
  transform-style: preserve-3d;
  cursor: pointer;
}
.case.flipped .case-inner { transform: rotateY(180deg); }
.case-face {
  position: absolute; inset: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 24px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.case-back { transform: rotateY(180deg); background: var(--paper); }
.case-tag {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .1em;
  align-self: flex-start;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.case-title {
  font-family: var(--display);
  font-size: 26px; font-weight: 700; letter-spacing: -.01em;
  line-height: 1.1;
  margin: 4px 0 8px;
}
.case-desc { font-size: 15px; color: var(--ink-2); }
.case-metric {
  margin-top: auto;
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--display);
}
.case-metric .num { font-size: 56px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.case-metric .lbl { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.case-flip-cue {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--mono); font-size: 11px;
  background: var(--ink); color: var(--bg);
  padding: 4px 8px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.case-back h4 {
  font-family: var(--display); font-size: 17px; font-weight: 700;
  margin: 14px 0 6px;
}
.case-back ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.case-back li { margin-bottom: 4px; }

.case .face-1 { background: linear-gradient(160deg, #DCE5FF 0%, #B6C4FF 100%); }
.case .face-2 { background: linear-gradient(160deg, #F2FFC9 0%, #C6FF3D 100%); }
.case .face-3 { background: linear-gradient(160deg, #FFD1E8 0%, #FF9DC9 100%); }
.case .face-4 { background: linear-gradient(160deg, #FFF1B5 0%, #FFD93D 100%); }

/* ==== Process ==== */
.process-list { display: grid; gap: 14px; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.step:hover { background: var(--bg); }
.step.active { background: var(--ink); color: var(--bg); }
.step.active .step-num { color: var(--lime); border-color: var(--lime); }
.step.active .step-meta { color: rgba(253,251,244,.7); }
.step-num {
  font-family: var(--display);
  font-size: 38px; font-weight: 700;
  width: 64px; height: 64px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  background: transparent;
}
.step h3 { margin: 0 0 4px; font-family: var(--display); font-size: 22px; }
.step-meta { font-size: 14px; color: var(--ink-2); }
.step-detail {
  display: none;
  grid-column: 2 / -1;
  font-size: 14px; line-height: 1.55;
  margin-top: 8px;
}
.step.active .step-detail { display: block; }
.step .step-arrow {
  font-family: var(--mono); font-size: 13px;
}
@media (max-width: 720px) {
  .step { grid-template-columns: 56px 1fr; }
  .step-arrow { display: none; }
  .step-num { width: 48px; height: 48px; font-size: 26px; }
}

/* ==== GTM Demo ==== */
.gtm-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 920px) { .gtm-wrap { grid-template-columns: 1fr; } }
.gtm-page {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.gtm-bar {
  background: var(--ink); color: var(--bg);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px;
}
.gtm-bar .url-pill {
  flex: 1;
  background: rgba(255,255,255,.1);
  border-radius: 999px;
  padding: 4px 10px;
}
.gtm-body { padding: 26px; flex: 1; display: grid; gap: 14px; }
.fake-h {
  font-family: var(--display); font-weight: 700; font-size: 26px;
  letter-spacing: -.01em;
}
.fake-row { display: flex; gap: 10px; flex-wrap: wrap; }
.fake-product {
  flex: 1; min-width: 140px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 14px;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 6px;
}
.fake-product .ph {
  height: 60px; border-radius: 8px;
  background: repeating-linear-gradient(45deg, rgba(0,0,0,.06) 0 8px, transparent 8px 16px), var(--paper);
  border: 1.5px solid var(--ink);
}
.fake-product b { font-family: var(--display); font-size: 14px; }
.fake-product span { font-family: var(--mono); font-size: 12px; }
.fake-cta {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.fake-btn {
  font-family: var(--body); font-weight: 600; font-size: 13px;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, background .2s;
}
.fake-btn:hover { transform: translate(-2px,-2px); box-shadow: 3px 3px 0 var(--ink); }
.fake-btn.primary { background: var(--blue); color: var(--bg); }
.fake-btn.lime { background: var(--lime); }
.fake-btn.magenta { background: var(--magenta); color: var(--bg); }
.fake-form { display: flex; gap: 8px; flex-wrap: wrap; }
.fake-form input {
  flex: 1; min-width: 160px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--body); font-size: 14px;
  background: var(--paper);
}
.fake-form input:focus { outline: none; box-shadow: 3px 3px 0 var(--ink); }

.gtm-console {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #0B0B0F;
  color: #E8E8EE;
  font-family: var(--mono);
  font-size: 12.5px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
}
.gtm-console-head {
  background: rgba(255,255,255,.06);
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.gtm-console-head .left { display: flex; gap: 8px; align-items: center; }
.gtm-console-head .left b { color: var(--lime); }
.gtm-console-head button {
  font-family: var(--mono); font-size: 11px;
  background: transparent; color: var(--bg);
  border: 1px solid rgba(255,255,255,.3);
  padding: 3px 9px; border-radius: 6px; cursor: pointer;
}
.gtm-events {
  flex: 1;
  overflow-y: auto;
  padding: 10px 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.gtm-event {
  border-left: 3px solid var(--lime);
  padding: 8px 10px;
  background: rgba(255,255,255,.04);
  border-radius: 6px;
  animation: slideIn .3s ease;
}
.gtm-event .ev-h { display: flex; justify-content: space-between; gap: 8px; }
.gtm-event .ev-name { color: var(--lime); font-weight: 600; }
.gtm-event .ev-time { color: rgba(255,255,255,.4); font-size: 11px; }
.gtm-event .ev-pl { margin-top: 4px; color: rgba(255,255,255,.75); font-size: 11.5px; line-height: 1.5; }
.gtm-event.click { border-color: var(--blue); }
.gtm-event.click .ev-name { color: var(--blue); }
.gtm-event.purchase { border-color: var(--magenta); }
.gtm-event.purchase .ev-name { color: var(--magenta); }
.gtm-event.form { border-color: var(--yellow); }
.gtm-event.form .ev-name { color: var(--yellow); }
.gtm-empty {
  color: rgba(255,255,255,.4);
  font-style: italic;
  padding: 30px 8px;
  text-align: center;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==== Skills ==== */
.skills-wrap {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 30%, rgba(59,91,255,.08), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255,61,168,.08), transparent 50%),
    var(--paper);
  box-shadow: var(--shadow);
  height: 480px;
  overflow: hidden;
  cursor: grab;
}
.skills-wrap.dragging { cursor: grabbing; }
.skills-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.skill-node {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 2px solid var(--ink);
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  user-select: none;
}
.skill-node:hover {
  transform: translate(-50%, -50%) scale(1.05);
  z-index: 5;
}
.skill-node.cat-tracking { background: var(--lime); }
.skill-node.cat-analytics { background: var(--blue); color: var(--bg); }
.skill-node.cat-ads { background: var(--magenta); color: var(--bg); }
.skill-node.cat-data { background: var(--yellow); }
.skill-node.cat-other { background: var(--paper); }
.skill-node.center {
  background: var(--ink); color: var(--bg);
  font-family: var(--display); font-size: 16px;
  padding: 14px 20px;
}
.skills-legend {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 18px;
  font-family: var(--mono); font-size: 12px;
}
.skills-legend span {
  display: inline-flex; align-items: center; gap: 6px;
}
.skills-legend i {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: inline-block;
}

/* ==== Contact ==== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 920px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--ink);
  color: var(--bg);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.contact-card .glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(198,255,61,.18), transparent 60%);
  pointer-events: none;
  animation: rotate 12s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.contact-card h3 {
  font-family: var(--display); font-size: 32px; font-weight: 700;
  margin: 0 0 12px; letter-spacing: -.02em;
  position: relative;
}
.contact-card p { color: rgba(253,251,244,.75); position: relative; }
.contact-channels { margin-top: 22px; display: grid; gap: 10px; position: relative; }
.contact-row {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.04);
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  font-family: var(--mono); font-size: 14px;
}
.contact-row:hover { background: rgba(255,255,255,.08); }
.contact-row .ic {
  width: 32px; height: 32px;
  background: var(--lime); color: var(--ink);
  border-radius: 8px; display: grid; place-items: center;
  font-weight: 700;
}

.form {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 16px; }
.form label {
  display: block; font-family: var(--mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 6px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--body); font-size: 15px;
  background: var(--bg);
  resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--paper);
}
.form-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.budget-options { display: flex; gap: 8px; flex-wrap: wrap; }
.budget-pill {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono); font-size: 13px;
  cursor: pointer;
  transition: transform .15s ease;
}
.budget-pill.active { background: var(--lime); }
.budget-pill:hover { transform: translate(-2px,-2px); box-shadow: 3px 3px 0 var(--ink); }

.success {
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--mono); font-size: 13px;
  margin-bottom: 16px;
}

/* ==== Footer ==== */
footer {
  padding: 40px 0;
  background: var(--ink);
  color: var(--bg);
}
footer .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap;
}
footer .small {
  font-family: var(--mono); font-size: 12px;
  color: rgba(253,251,244,.6);
}

/* tweaks panel scope */
[data-component="tweaks-panel"] .tweaks-panel {
  font-family: var(--body);
}
