:root {
  --bg: #f4f2ec;
  --ink: #111111;
  --accent: #E8FF2B;
  --border: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  --shadow-sm: 5px 5px 0 var(--ink);
  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.4;
  overflow-x: hidden;
}

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

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

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg);
  border-bottom: var(--border);
}

.logo {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.logo span {
  background: var(--accent);
  padding: 2px 8px;
  margin-left: 2px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.nav { display: flex; gap: 10px; }

.nav a {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 2px solid transparent;
  transition: all 0.12s ease;
}

.nav a:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); transform: translate(-2px, -2px); }

.nav-cta { background: var(--ink); color: var(--bg); border: 2px solid var(--ink); }

.nav-cta:hover { background: var(--accent); color: var(--ink); }

.hero {
  padding: 72px 24px 56px;
  border-bottom: var(--border);
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  border-bottom: 2px dashed var(--ink);
  padding-bottom: 12px;
}

.hero-title {
  font-size: clamp(44px, 9vw, 110px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.hero-title .hl {
  background: var(--accent);
  padding: 0 14px;
  display: inline-block;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.hero-sub {
  max-width: 560px;
  margin: 32px 0;
  font-size: 18px;
  font-weight: 500;
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; }

.tag {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}

.tag--accent { background: var(--accent); }

.marquee {
  overflow: hidden;
  border-bottom: var(--border);
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 0;
  white-space: nowrap;
}

.marquee__track { display: inline-flex; animation: marquee 28s linear infinite; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.work { border-bottom: var(--border); }

.project {
  padding: 56px 24px 72px;
  border-bottom: 2px dashed var(--ink);
}

.project:last-child { border-bottom: none; }

.project-head {
  max-width: 1200px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 900px) {
  .project-head { grid-template-columns: 1.4fr 1fr; align-items: end; }
}

.project-head h2 {
  font-size: clamp(30px, 4.5vw, 54px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1;
}

.project-num {
  font-family: var(--font-mono);
  font-weight: 700;
  background: var(--accent);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm);
  padding: 2px 12px;
  margin-right: 12px;
  display: inline-block;
  transform: rotate(-2deg);
}

.project-sub { font-size: 17px; max-width: 52ch; }

.project-meta {
  list-style: none;
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
}

.project-meta li { border-bottom: 2px solid var(--ink); padding: 8px 0; }

.project-meta span {
  display: inline-block;
  width: 84px;
  font-weight: 700;
  background: var(--ink);
  color: var(--bg);
  padding: 2px 6px;
  margin-right: 10px;
}

.project-showcase {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
}

.video-frame {
  position: relative;
  width: fit-content;
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--ink);
  overflow: hidden;
}

.video-frame video {
  display: block;
  height: 80vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: var(--ink);
  cursor: pointer;
}

.video-frame figcaption {
  position: absolute;
  top: 20px;
  right: 20px;
}

.video-frame--phone {
  border: 6px solid var(--ink);
  border-radius: 18px;
}

.video-frame--phone video { height: 70vh; }

.video-slot__tag {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--accent);
  padding: 4px 10px;
  position: absolute;
  top: -14px;
  left: 16px;
}

.about {
  padding: 72px 24px;
  border-bottom: var(--border);
  background: var(--accent);
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.about-block {
  background: var(--bg);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 28px;
}

.about-block h2 {
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 8px;
}

.about-block p { font-size: 16px; }

.about-block--list ul, .about-block--list ol {
  list-style-position: inside;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
}

.about-block--list li { border-bottom: 1px dashed var(--ink); padding: 6px 0; }

.contact {
  padding: 96px 24px;
  text-align: center;
}

.contact-title {
  font-size: clamp(48px, 10vw, 130px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.contact-title .hl {
  background: var(--accent);
  padding: 0 18px;
  display: inline-block;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.contact-mail {
  display: inline-block;
  margin: 40px 0 24px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(16px, 3vw, 26px);
  padding: 16px 28px;
  background: var(--ink);
  color: var(--accent);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.contact-mail:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 rgba(0,0,0,0.25); }

.contact-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.contact-links a {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  transition: all 0.12s ease;
}

.contact-links a:hover { background: var(--accent); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: var(--border);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero-meta span:last-child { display: none; }
}
