:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --lime: #c6ff1a;
  --blue: #1e3fff;
  --gray-line: #e2e2e2;
  --gray-soft: #f4f4f4;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--ink);
  padding: 12px 20px; z-index: 200; font-weight: 700;
}
.skip-link:focus { left: 0; }

a { color: inherit; }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-display); margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.03em; text-decoration: none; border: 2px solid var(--ink);
  border-radius: 999px; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #b0e60c; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-black { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-black:hover { background: var(--blue); border-color: var(--blue); }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; }
.logo {
  display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.1rem;
  letter-spacing: 0.04em; text-decoration: none; color: var(--ink);
}
.logo-mark { font-family: var(--font-mono); color: var(--blue); }
.main-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--blue); }
.nav-cta {
  background: var(--ink); color: var(--paper) !important; padding: 10px 20px;
  border-radius: 999px; font-weight: 700 !important;
}
.nav-cta:hover { background: var(--blue) !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 3px; background: var(--ink); display: block; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* HERO */
.hero { padding: 72px 0 40px; border-bottom: 2px solid var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.eyebrow-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--blue); font-weight: 700; }
.eyebrow-dot { color: var(--gray-line); }
.hero-headline {
  font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 0.98; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 24px; text-transform: uppercase;
}
.hero-headline span { display: block; }
.accent-blue { color: var(--blue); }
.hero-desc { font-size: 1.05rem; color: #333; max-width: 46ch; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 40px; margin: 0; }
.hero-stats dt { font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700; color: var(--ink); }
.hero-stats dd { margin: 4px 0 0; font-size: 0.78rem; color: #666; text-transform: uppercase; letter-spacing: 0.04em; }

.hero-portrait-wrap { position: relative; display: flex; align-items: center; justify-content: center; min-height: 380px; }
.cross-shape { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.cross-bar { position: absolute; width: 440px; height: 90px; border-radius: 8px; }
.cross-bar--lime { background: var(--lime); transform: rotate(45deg); }
.cross-bar--blue { background: var(--blue); transform: rotate(-45deg); }
.portrait {
  position: relative; z-index: 2; width: 220px; height: 300px; background: var(--ink);
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.portrait-face {
  width: 140px; height: 180px; background: linear-gradient(160deg, #2a2a2a, #050505);
  border-radius: 60px 60px 20px 20px; position: relative; overflow: hidden;
}
.portrait-visor {
  position: absolute; top: 55px; left: 10px; right: 10px; height: 34px;
  background: linear-gradient(90deg, var(--blue), var(--lime)); border-radius: 12px; opacity: 0.85;
}
.portrait-tag {
  position: absolute; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.05em;
  background: var(--paper); color: var(--ink); padding: 4px 8px; border-radius: 4px; border: 1px solid var(--ink);
}
.portrait-tag--top { top: 14px; right: -18px; }
.portrait-tag--bottom { bottom: 14px; left: -18px; }

/* MARQUEE */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 14px 0; border-bottom: 2px solid var(--ink); }
.marquee-track {
  display: flex; white-space: nowrap; font-family: var(--font-mono); font-size: 0.85rem;
  letter-spacing: 0.06em; animation: scroll-left 22s linear infinite;
}
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SECTION HEAD */
.section-head { margin-bottom: 44px; max-width: 720px; }
.section-head--light .section-title, .section-head--light .section-kicker { color: var(--paper); }
.section-kicker { font-family: var(--font-mono); font-size: 0.75rem; color: var(--blue); letter-spacing: 0.06em; display: block; margin-bottom: 10px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; }
.section-sub { color: #555; margin-top: 14px; max-width: 60ch; }

/* WORK */
.work { padding: 90px 0; border-bottom: 2px solid var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card {
  border: 2px solid var(--ink); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.work-card--blue { background: var(--blue); color: var(--paper); }
.work-card--lime { background: var(--lime); color: var(--ink); }
.work-card--dark { background: var(--ink); color: var(--paper); }
.work-card-top { display: flex; justify-content: space-between; align-items: center; }
.work-tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; opacity: 0.85; }
.work-num { font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem; }
.work-visual { background: rgba(255,255,255,0.12); border-radius: 10px; overflow: hidden; }
.work-card--lime .work-visual { background: rgba(0,0,0,0.08); }
.visual-window-bar { display: flex; gap: 5px; padding: 8px 10px; }
.visual-window-bar span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.visual-window-body { padding: 16px; height: 100px; display: flex; align-items: flex-end; }
.bar-chart { display: flex; gap: 8px; align-items: flex-end; width: 100%; height: 100%; }
.bar-chart span { flex: 1; background: currentColor; border-radius: 3px 3px 0 0; opacity: 0.85; }
.grid-swatch { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 100%; height: 100%; }
.grid-swatch span { background: currentColor; opacity: 0.7; border-radius: 4px; }
.line-mock { display: flex; flex-direction: column; gap: 12px; width: 100%; justify-content: center; }
.line-mock span { height: 8px; background: currentColor; opacity: 0.6; border-radius: 4px; }
.line-mock span:nth-child(2) { width: 70%; }
.line-mock span:nth-child(3) { width: 45%; }
.spark-svg { width: 100%; height: 60px; color: var(--lime); }
.work-title { font-size: 1.3rem; text-transform: uppercase; }
.work-desc { font-size: 0.92rem; opacity: 0.92; }
.work-client { font-family: var(--font-mono); font-size: 0.75rem; opacity: 0.75; margin-top: auto; }

/* CASE STUDY */
.case-study { padding: 90px 0; background: var(--ink); color: var(--paper); border-bottom: 2px solid var(--ink); }
.case-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.case-para { color: #cfcfcf; margin-bottom: 20px; }
.case-stats { display: flex; gap: 36px; list-style: none; padding: 0; margin: 30px 0 0; flex-wrap: wrap; }
.case-stat-num { display: block; font-family: var(--font-mono); font-size: 2rem; font-weight: 700; color: var(--lime); }
.case-stat-label { font-size: 0.78rem; color: #aaa; text-transform: uppercase; }
.dash-panel { background: #141414; border: 1px solid #2a2a2a; border-radius: 14px; padding: 22px; }
.dash-panel-head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.dash-dot--lime { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.dash-title { font-family: var(--font-mono); font-size: 0.78rem; color: #aaa; }
.dash-metric-row { display: flex; gap: 30px; margin-bottom: 16px; }
.dash-metric-label { display: block; font-size: 0.68rem; color: #888; letter-spacing: 0.05em; }
.dash-metric-value { font-family: var(--font-mono); font-size: 1.3rem; color: var(--paper); font-weight: 700; }
.dash-chart { width: 100%; height: 90px; }
.dash-footer { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.68rem; color: #777; margin-top: 8px; }

/* STACK */
.stack { padding: 60px 0; border-bottom: 2px solid var(--ink); }
.stack-row { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 0; }
.stack-row li {
  font-family: var(--font-mono); font-size: 0.85rem; padding: 10px 18px; border: 2px solid var(--ink);
  border-radius: 999px; font-weight: 700;
}
.stack-row li:nth-child(odd) { background: var(--gray-soft); }

/* ABOUT */
.about { padding: 90px 0; border-bottom: 2px solid var(--ink); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.about-para { color: #444; margin-bottom: 16px; }
.founder-photo {
  width: 100%; height: 240px; margin-bottom: 24px; border-radius: 4px;
  background-size: cover; background-position: center 20%;
  border: 2px solid var(--ink);
}
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--ink); }
.timeline-item { padding: 14px 0 14px 24px; position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -9px; top: 20px; width: 14px; height: 14px;
  background: var(--lime); border: 2px solid var(--ink); border-radius: 50%;
}
.timeline-year { font-family: var(--font-mono); font-weight: 700; color: var(--blue); margin-right: 10px; }

/* TESTIMONIALS */
.testimonials { padding: 90px 0; border-bottom: 2px solid var(--ink); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { margin: 0; padding: 28px; border-radius: 16px; border: 2px solid var(--ink); }
.testimonial--lime { background: var(--lime); }
.testimonial--dark { background: var(--ink); color: var(--paper); }
.testimonial--blue { background: var(--blue); color: var(--paper); }
.testimonial-quote { font-size: 0.98rem; margin: 0 0 20px; }
.testimonial-footer { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid currentColor;
}
.testimonial-id { display: flex; flex-direction: column; }
.testimonial-name { font-weight: 700; }
.testimonial-role { font-size: 0.8rem; opacity: 0.8; }

/* CTA */
.cta-band { padding: 90px 0; background: var(--lime); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cta-title { font-size: clamp(2.2rem, 5vw, 3.2rem); text-transform: uppercase; line-height: 1; margin-bottom: 20px; }
.cta-desc { color: #222; max-width: 46ch; margin-bottom: 30px; }
.contact-details { display: grid; gap: 18px; }
.contact-label { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; margin-bottom: 4px; }
.contact-item a { text-decoration: underline; font-weight: 600; }
.social-links { display: flex; gap: 14px; }
.social-links a { text-decoration: underline; }

.inquiry-form { background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; padding: 32px; }
.form-heading { font-size: 1.1rem; text-transform: uppercase; margin-bottom: 20px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label { font-size: 0.85rem; font-weight: 700; }
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--font-display); font-size: 0.95rem; padding: 12px 14px; border: 2px solid var(--ink);
  border-radius: 8px; background: var(--paper); color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; }
.form-row input[aria-invalid="true"], .form-row textarea[aria-invalid="true"] { border-color: #d92626; }
.form-error { color: #d92626; font-size: 0.78rem; min-height: 1em; }
.form-submit { width: 100%; margin-top: 6px; }
.form-success {
  margin-top: 16px; padding: 14px; background: var(--gray-soft); border-radius: 10px; font-size: 0.9rem;
}

/* FOOTER */
.site-footer { padding: 30px 0; background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-weight: 700; letter-spacing: 0.04em; }
.footer-copy { font-size: 0.78rem; color: #999; margin: 0; }
.footer-back { text-decoration: none; font-weight: 700; font-size: 0.85rem; }

@media (max-width: 900px) {
  .hero-grid, .case-grid, .about-grid, .cta-grid { grid-template-columns: 1fr; }
  .work-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    flex-direction: column; align-items: flex-start; padding: 20px 32px; border-bottom: 2px solid var(--ink);
    display: none; gap: 18px;
  }
  .nav-menu.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-portrait-wrap { order: -1; min-height: 260px; }
  .cross-bar { width: 300px; height: 60px; }
  .portrait { width: 160px; height: 220px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .case-stats { gap: 22px; }
}
