/* ── TOKENS ── */
:root {
  --acid:    #E6F247;
  --lilac:   #C9C3FF;
  --ink:     #0D0D0D;
  --white:   #F2F0EB;
  --mid:     #6B6B6B;
  --fd: 'Barlow Condensed', sans-serif;
  --fb: 'Space Mono', monospace;
  --p: 20px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 13px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--p);
  background: var(--white);
  border-bottom: 1px solid rgba(13,13,13,0.08);
}
.nav-logo {
  font-family: var(--fd); font-weight: 900; font-size: 20px;
  letter-spacing: 0.02em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); line-height: 1;
}
.nav-logo-dot { color: var(--lilac); }

.nav-burger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; height: 1.5px; background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav-burger span:nth-child(2) { width: 65%; }
nav.open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.open .nav-burger span:nth-child(2) { opacity: 0; }
nav.open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer */
.nav-drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px var(--p) 40px;
  pointer-events: none; opacity: 0;
  transition: opacity 0.3s;
}
nav.open ~ .nav-drawer { opacity: 1; pointer-events: all; }
.nav-drawer ul { list-style: none; }
.nav-drawer a {
  display: block; padding: 14px 0;
  font-family: var(--fd); font-weight: 900; font-size: 48px;
  line-height: 1; text-transform: uppercase; text-decoration: none;
  color: var(--white); letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(242,240,235,0.08);
}
.nav-drawer a:active { color: var(--acid); }
.nav-drawer-foot {
  margin-top: 40px; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(242,240,235,0.3);
}

/* Desktop nav links */
.nav-links { display: none; }

/* ── HERO ── */
.hero {
  padding: 90px var(--p) 0;
  min-height: 100svh;
  display: flex; flex-direction: column;
}
.hero-tag {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 20px;
}
.hero-title {
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(80px, 22vw, 160px);
  line-height: 0.87; text-transform: uppercase; letter-spacing: -0.02em;
}
.ht-white  { color: var(--ink); }
.ht-lilac  { color: var(--lilac); }
.ht-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.hero-sub {
  margin-top: 28px; font-size: 12px; color: var(--mid);
  line-height: 1.9; max-width: 340px;
}
.hero-btns {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px;
}
.hero-strip {
  margin-top: auto;
  background: var(--ink);
  margin-left: calc(-1 * var(--p));
  margin-right: calc(-1 * var(--p));
  padding: 24px var(--p);
  display: grid; grid-template-columns: repeat(3,1fr);
  border-top: 3px solid var(--acid);
}
.hs-num {
  font-family: var(--fd); font-weight: 900;
  font-size: 40px; color: var(--white); line-height: 1;
}
.hs-lbl {
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(242,240,235,0.4); margin-top: 3px;
}

/* ── BUTTONS ── */
.btn {
  font-family: var(--fb); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; display: inline-block;
  padding: 13px 24px; border: 1.5px solid var(--ink);
  color: var(--ink); background: transparent;
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn-fill { background: var(--ink); color: var(--white); }
.btn-fill:hover, .btn:hover { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.btn-on-dark { border-color: var(--white); color: var(--white); }
.btn-on-dark:hover { background: var(--acid); color: var(--ink); border-color: var(--acid); }

/* ── TICKER ── */
.ticker {
  overflow: hidden; background: var(--acid);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  padding: 11px 0;
}
.ticker-track {
  display: flex; white-space: nowrap;
  animation: ticker 20s linear infinite;
}
.ticker-item {
  font-family: var(--fd); font-weight: 900; font-size: 15px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0 28px; display: flex; align-items: center; gap: 14px;
}
.t-dot { width: 5px; height: 5px; background: var(--ink); border-radius: 50%; flex-shrink: 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTION SCAFFOLDING ── */
section { padding: 72px var(--p); }
.eyebrow {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content:''; display:block; width:18px; height:1.5px; background: var(--lilac); }
.section-title {
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(44px, 12vw, 88px);
  line-height: 0.9; text-transform: uppercase; letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--lilac); }

/* ── SERVICES ── */
.services { padding-top: 0; }
.services-head { padding: 72px var(--p) 0; }
.service-list { border-top: 1px solid rgba(13,13,13,0.1); }
.service {
  display: grid; grid-template-columns: 36px 1fr 24px;
  gap: 14px; align-items: start;
  padding: 24px var(--p);
  border-bottom: 1px solid rgba(13,13,13,0.1);
  text-decoration: none; color: var(--ink);
}
.service:active { background: var(--acid); }
.svc-num {
  font-family: var(--fd); font-weight: 700; font-size: 11px;
  color: var(--lilac); padding-top: 5px; letter-spacing: 0.05em;
}
.svc-name {
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(26px, 7vw, 44px);
  line-height: 1; text-transform: uppercase;
}
.svc-desc {
  font-size: 11px; color: var(--mid); margin-top: 8px; line-height: 1.8;
}
.svc-arrow { font-size: 18px; padding-top: 4px; color: var(--mid); }

/* ── WORK ── */
.work { background: var(--ink); padding: 72px 0; }
.work-head { padding: 0 var(--p) 32px; }
.work-head .section-title { color: var(--white); }
.work-head .section-title em { color: var(--lilac); }
.work-head .eyebrow { color: rgba(242,240,235,0.4); }
.work-head .eyebrow::before { background: var(--lilac); }
.work-grid { display: flex; flex-direction: column; gap: 2px; }
.work-card {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  display: flex; align-items: flex-end;
}
.work-card-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1a1a2e 0%, #0d0d0d 100%);
}
.wc-accent {
  position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.wc-lilac { width: 200px; height: 200px; background: var(--lilac); opacity: 0.15; top: 10%; left: 10%; }
.wc-acid  { width: 160px; height: 160px; background: var(--acid);  opacity: 0.1;  bottom: 20%; right: 10%; }
.wc-red   { width: 160px; height: 160px; background: #FF6B6B;      opacity: 0.12; top: 20%; right: 20%; }
.work-bg-num {
  position: absolute; bottom: -10px; right: -8px;
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(120px, 36vw, 240px);
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.05);
  line-height: 1; letter-spacing: -0.04em; user-select: none;
}
.work-info {
  position: relative; z-index: 1;
  padding: 24px var(--p);
  background: linear-gradient(to top, rgba(13,13,13,0.95) 60%, transparent);
  width: 100%;
}
.work-tag {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--acid); margin-bottom: 6px;
}
.work-name {
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(24px, 7vw, 40px);
  text-transform: uppercase; color: var(--white); line-height: 1;
}
.work-foot { padding: 28px var(--p) 0; }

/* ── MARQUEE DIVIDER ── */
.marquee-divider { overflow: hidden; padding: 40px 0; border-top: 1px solid rgba(13,13,13,0.08); }
.marquee-track {
  display: flex; white-space: nowrap;
  animation: ticker 26s linear infinite;
}
.md-item {
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(36px, 10vw, 72px);
  text-transform: uppercase; padding: 0 28px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
  letter-spacing: -0.02em;
}
.md-item.fill  { color: var(--ink); -webkit-text-stroke: none; }
.md-item.lilac { color: var(--lilac); -webkit-text-stroke: none; }

/* ── PROCESS ── */
.process { background: var(--ink); color: var(--white); padding: 72px 0; }
.process-head { padding: 0 var(--p) 48px; }
.process-head .section-title { color: var(--white); }
.process-head .section-title span { color: var(--lilac); }
.process-head .eyebrow { color: rgba(242,240,235,0.35); }
.process-head .eyebrow::before { background: var(--lilac); }
.process-steps { display: flex; flex-direction: column; }
.process-step {
  padding: 28px var(--p);
  border-top: 1px solid rgba(242,240,235,0.07);
  display: grid; grid-template-columns: 48px 1fr;
  gap: 16px; align-items: start;
}
.ps-num {
  font-family: var(--fd); font-weight: 900; font-size: 13px;
  color: var(--lilac); letter-spacing: 0.05em; padding-top: 2px;
}
.ps-name {
  font-family: var(--fd); font-weight: 900; font-size: 28px;
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 1;
  margin-bottom: 10px;
}
.ps-desc { font-size: 11px; color: rgba(242,240,235,0.4); line-height: 1.9; }

/* ── ABOUT ── */
.about {}
.about-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  margin-top: 40px;
}
.ac {
  padding: 24px 20px;
  background: var(--ink); color: var(--white);
}
.ac:nth-child(2) { background: var(--lilac); color: var(--ink); }
.ac:nth-child(3) { background: var(--acid);  color: var(--ink); }
.ac:nth-child(4) { background: #1a1a2e; color: var(--white); }
.ac-num {
  font-family: var(--fd); font-weight: 900;
  font-size: 48px; line-height: 1; margin-bottom: 4px;
}
.ac-lbl { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; }

/* ── CONTACT ── */
.contact {
  background: var(--ink); color: var(--white);
  text-align: center; padding: 80px var(--p);
  position: relative; overflow: hidden;
}
.contact-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(201,195,255,0.07);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.cr1 { width: 280px; height: 280px; }
.cr2 { width: 520px; height: 520px; border-color: rgba(201,195,255,0.04); }
.cr3 { width: 760px; height: 760px; border-color: rgba(201,195,255,0.02); }
.contact-eyebrow {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--lilac); margin-bottom: 20px; position: relative; z-index: 1;
}
.contact-title {
  font-family: var(--fd); font-weight: 900;
  font-size: clamp(52px, 15vw, 120px);
  line-height: 0.88; text-transform: uppercase;
  margin-bottom: 36px; position: relative; z-index: 1;
}
.contact-title em { font-style: italic; color: var(--acid); }
.contact-email {
  font-family: var(--fd); font-weight: 700;
  font-size: clamp(15px, 4vw, 24px);
  color: var(--white); text-decoration: none;
  display: inline-block; position: relative; z-index: 1;
  border-bottom: 1px solid rgba(242,240,235,0.2); padding-bottom: 3px;
  word-break: break-all;
}

/* ── FOOTER ── */
footer {
  background: var(--ink); color: rgba(242,240,235,0.3);
  padding: 20px var(--p);
  border-top: 1px solid rgba(242,240,235,0.06);
  font-size: 10px; letter-spacing: 0.08em;
  display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center;
}
.footer-logo {
  font-family: var(--fd); font-weight: 900; font-size: 17px;
  text-transform: uppercase; color: var(--white);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: inherit; text-decoration: none; }

/* ══════════════════════════
   TABLET ≥ 640px
══════════════════════════ */
@media (min-width: 640px) {
  :root { --p: 32px; }
  .hero-title { font-size: clamp(88px, 18vw, 160px); }
  .work-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .work-card:first-child { grid-column: 1 / -1; aspect-ratio: 16/7; }
  .process-steps { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════
   DESKTOP ≥ 1024px
══════════════════════════ */
@media (min-width: 1024px) {
  :root { --p: 56px; }

  nav { padding: 20px var(--p); }
  .nav-burger { display: none; }
  .nav-drawer { display: none; }
  .nav-links {
    display: flex; gap: 36px; list-style: none; align-items: center;
  }
  .nav-links a {
    text-decoration: none; color: var(--ink);
    font-family: var(--fb); font-size: 10px;
    letter-spacing: 0.14em; text-transform: uppercase;
    transition: color 0.15s;
  }
  .nav-links a:hover { color: var(--mid); }
  .nav-links .btn-fill { color: var(--white); }
  .nav-links .btn-fill:hover { color: var(--ink); }

  /* Hero split */
  .hero {
    flex-direction: row; min-height: 100svh; padding: 0;
  }
  .hero-left {
    flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 140px var(--p) 80px;
  }
  .hero-right {
    width: 44%; background: var(--ink);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 80px var(--p);
    position: relative; overflow: hidden;
  }
  .hero-right-blob {
    position: absolute; border-radius: 50%; filter: blur(80px);
    pointer-events: none;
  }
  .hrb1 { width: 320px; height: 320px; background: var(--lilac); opacity: 0.22; top: 8%; left: 15%; }
  .hrb2 { width: 200px; height: 200px; background: var(--acid);  opacity: 0.15; bottom: 25%; right: 8%; }
  .hero-right-label {
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(242,240,235,0.3); margin-bottom: 14px; position: relative; z-index: 1;
  }
  .hero-right-stats { position: relative; z-index: 1; }
  .hero-right-stat { margin-bottom: 28px; }
  .hrs-num {
    font-family: var(--fd); font-weight: 900;
    font-size: 56px; color: var(--white); line-height: 1;
  }
  .hrs-lbl {
    font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(242,240,235,0.35); margin-top: 3px;
  }
  .hero-strip { display: none; }

  /* Services two-col */
  .services-head, .services { padding-left: var(--p); padding-right: var(--p); }
  .services-layout { display: grid; grid-template-columns: 220px 1fr; gap: 0; }
  .services-sidebar { padding: 72px 0; }
  .services-sidebar .eyebrow { writing-mode: vertical-rl; rotate: 180deg; }
  .service { padding-left: 0; padding-right: 0; }

  /* Work */
  .work-head, .work-foot { padding-left: var(--p); padding-right: var(--p); }
  .process-head { padding-left: var(--p); padding-right: var(--p); }
  .process-steps { grid-template-columns: repeat(4, 1fr); }
  .process-step { padding-left: var(--p); padding-right: var(--p); }

  /* About two-col */
  .about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .about-cards { margin-top: 0; }

  footer { flex-direction: row; justify-content: space-between; text-align: left; }
}
