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

:root {
  --bg: #E8E7E2;
  --bg-dark: #0C0C0A;
  --bg-mid: #141412;
  --ink: #111110;
  --ink-mid: #6A6A62;
  --ink-light: #B0AFA8;
  --ink-faint: #D4D2CC;
  --accent: #C8A96E;
  --accent-dark: #A8844A;
  --pill-bg: #2A2A26;
  --font-display: 'Bebas Neue', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  overflow-x: hidden;
}



/* TICKER */
.ticker {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 32px;
  background: var(--ink);
  color: var(--bg);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 100;
  white-space: nowrap;
}
.ticker-track { display: flex; animation: ticker 35s linear infinite; }
.ticker-item { padding: 0 40px; flex-shrink: 0; }
.ticker-sep { color: var(--accent); margin: 0 8px; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* NAV */
nav.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 200;
  mix-blend-mode: multiply;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  height: 36px;
}
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity 0.3s;
}
.nav-logo img.logo-dark { display: block; }
.nav-logo img.logo-white { display: none; }
nav.main-nav.light .nav-logo img.logo-dark { display: none; }
nav.main-nav.light .nav-logo img.logo-white { display: block; }
.menu-btn {
  background: none;
  border: none;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}
.menu-btn span {
  display: block;
  height: 1px;
  width: 22px;
  background: rgba(255,255,255,0.6);
  transition: background 0.2s;
}
.menu-btn:hover span { background: rgba(255,255,255,1); }

/* MENU OVERLAY */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }
.menu-overlay-logo {
  font-family: var(--font-display);
  font-size: 44px;
  color: #fff;
  margin-bottom: 56px;
  letter-spacing: 0.02em;
}
.menu-overlay-logo .amp { color: var(--accent); }
.menu-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 32px;
  line-height: 1;
  padding: 12px;
  transition: color 0.2s, transform 0.4s;
  z-index: 10;
  transform: rotate(45deg);
}
.menu-close:hover { color: #fff; transform: rotate(135deg); }
.menu-links { display: flex; flex-direction: column; gap: 8px; }
.menu-link {
  display: inline-block;
  background: #1A1A18;
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  width: fit-content;
  transition: background 0.2s, color 0.2s;
}
.menu-link:hover { background: var(--accent); color: var(--bg-dark); }
.menu-link.active { background: var(--accent); color: var(--bg-dark); }
.menu-link.special { background: var(--accent); color: var(--bg-dark); }
.menu-link.special:hover { background: #fff; color: var(--bg-dark); }
.menu-footer {
  position: absolute;
  bottom: 48px; left: 40px; right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.menu-footer-col {
  font-size: 10px;
  color: #333;
  letter-spacing: 0.12em;
  line-height: 2;
}

/* PAGE HEADER (inner pages) */
.page-header {
  padding: 120px 28px 64px;
  border-bottom: 1px solid var(--ink-faint);
}
.page-eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-mid);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 14vw, 120px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.page-title .amp { color: var(--accent); }

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.35s; }

/* FOOTER */
site-footer, footer.site-footer {
  background: var(--bg-dark);
  padding: 40px 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}
footer.site-footer .footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
  letter-spacing: 0.02em;
}
footer.site-footer .footer-logo .amp { color: var(--accent); }
footer.site-footer .footer-meta {
  font-size: 10px;
  color: #333;
  letter-spacing: 0.12em;
  text-align: right;
  line-height: 2;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 100px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent); color: var(--bg-dark); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--ink-mid);
  border: 1px solid var(--ink-faint);
  border-radius: 100px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* PILL TAG */
.pill-tag {
  display: inline-block;
  border: 1px solid var(--ink-faint);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-mid);
  text-transform: uppercase;
}

@media (max-width: 600px) {
  nav.main-nav { padding: 0 20px; }
  .page-header { padding: 100px 20px 48px; }
  .menu-overlay { padding: 60px 24px; }
  .menu-footer { left: 24px; right: 24px; }
  footer.site-footer { flex-direction: column; align-items: flex-start; padding: 32px 20px 40px; }
  footer.site-footer .footer-meta { text-align: left; }
}

/* VIDEO BACKGROUNDS */
video.project-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.6);
  display: block;
}
.project:hover video.project-bg {
  transform: scale(1.04);
  filter: brightness(0.8);
}

/* RESTORE CURSORS */
body { cursor: auto; }
a, button, .project, .service-block, .service-row, .chip, .mode-card,
.filter-pill, .project-cta, .menu-btn, .menu-close, .menu-link,
.file-row, .upload-zone, .login-submit, .form-submit { cursor: pointer; }
