/* =============================================================================
   AVA — site chrome shared by every page.
   Five tokens, three faces. Neon is a line, a dot or an accent, never a field.
   ========================================================================== */
:root {
  --ink: #000000;
  --bone: #EBEBEA;
  --sand: #7A7A78;
  --paper: #FFFFFF;
  --neon: #D8FE00;
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body: 'Archivo', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --nav-h: 64px;
  --gutter: clamp(16px, 3.2vw, 44px);
  --ease: cubic-bezier(.76, 0, .24, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font-family: var(--body); font-size: 16px; line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
::selection { background: var(--neon); color: var(--ink); }

/* type roles */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: -0.02em; line-height: .92; }
.mono { font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .22em; font-size: 11px; line-height: 1; }
.dot::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--neon); margin-right: 10px; vertical-align: 1px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px;
  font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  background: var(--neon); color: var(--ink); border: 1px solid var(--neon); white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--paper); border-color: var(--paper); }
.btn--ghost { background: transparent; color: var(--bone); border-color: rgba(235,235,234,.45); }
.btn--ghost:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.on-bone .btn--ghost { color: var(--ink); border-color: rgba(0,0,0,.4); }
.on-bone .btn--ghost:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn .arr { font-family: var(--body); font-size: 14px; letter-spacing: 0; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); background: var(--ink); border-bottom: 1px solid rgba(235,235,234,.12);
}
.nav-mark { display: flex; align-items: center; height: 100%; }
.nav-mark img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--bone); position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--neon); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { height: 40px; padding: 0 18px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--bone); position: relative; transition: transform .3s var(--ease), background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--bone); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; background: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; padding: 8vh var(--gutter) 32px;
  transform: translateY(-100%); transition: transform .5s var(--ease); visibility: hidden;
}
body.menu-open .menu { transform: none; visibility: visible; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a { display: block; font-family: var(--display); font-size: clamp(44px, 13vw, 84px); line-height: 1; text-transform: uppercase; letter-spacing: -0.02em; color: var(--bone); padding: 6px 0; border-bottom: 1px solid rgba(235,235,234,.12); }
.menu-list a:hover { color: var(--neon); }
.menu-foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; color: var(--sand); }

/* sections */
.section { padding: clamp(64px, 9vw, 128px) var(--gutter); }
.on-bone { background: var(--bone); color: var(--ink); }
.eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 4vw, 48px); color: var(--sand); font-size: 13px; }
.on-bone .eyebrow { color: var(--ink); }
/* a link in the eyebrow reads as a small outlined button */
.eyebrow a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid currentColor; transition: background-color .25s var(--ease), color .25s var(--ease); }
.eyebrow a:hover { background: var(--ink); color: var(--neon) !important; border-color: var(--ink); }
.on-bone .eyebrow a { border-color: rgba(0,0,0,.45); }
.h2 { font-size: clamp(48px, 9vw, 128px); margin: 0; }

/* work grid */
/* Views read as a row of buttons: outlined, the live one filled ink with neon type. */
.views { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(24px, 4vw, 48px); padding: 0; list-style: none; }
.views button { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; padding: 12px 18px; color: inherit; border: 1px solid currentColor; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.views button:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.views button[aria-pressed="true"] { background: var(--ink); color: var(--neon); border-color: var(--ink); }
.views button[hidden] { display: none; }
.on-bone .views button { border-color: rgba(0,0,0,.45); }
.on-bone .views button:hover, .on-bone .views button[aria-pressed="true"] { border-color: var(--ink); }

.grid { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.card { position: relative; flex: 0 0 auto; overflow: hidden; background: var(--ink); color: var(--bone); text-align: left; display: block; width: 100%; }
.card.is-out { display: none; }
.card-media { position: relative; width: 100%; height: var(--h, auto); aspect-ratio: var(--ar, 4 / 5); overflow: hidden; background: #111; }
.card-media img, .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img, .card:hover .card-media video { transform: scale(1.035); }
.card-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 14px 14px; border-top: 1px solid rgba(235,235,234,.12); }
.card-title { font-family: var(--display); font-size: 20px; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; }
.card-types { color: var(--sand); text-align: right; white-space: nowrap; }
.card-slash { position: absolute; top: 0; left: 0; width: 5px; height: 0; background: var(--neon); transition: height .45s var(--ease); z-index: 2; }
.card:hover .card-slash { height: 100%; }
.card--cta { display: flex; flex-direction: column; justify-content: space-between; height: var(--h, auto); border: 1px solid var(--ink); background: var(--ink); color: var(--bone); padding: 18px; }
.card--cta .btn { align-self: flex-start; }
.card--cta .card-title { font-size: clamp(28px, 3.4vw, 44px); }
.on-bone .card { background: var(--ink); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px); }
.lb.is-open { display: flex; }
.lb-inner { position: relative; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 14px; }
.lb-media { max-height: calc(100vh - 140px); max-width: 100%; }
.lb-media img, .lb-media video, .lb-media canvas { max-height: calc(100vh - 140px); max-width: 100%; width: auto; height: auto; margin: 0 auto; object-fit: contain; display: block; }
.lb-media canvas { background: var(--paper); }
.lb-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.lb-cap .card-title { font-size: clamp(22px, 3vw, 36px); }
.lb-close { position: fixed; top: 14px; right: var(--gutter); height: 44px; padding: 0 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--bone); border: 1px solid rgba(235,235,234,.3); }
.lb-close:hover { background: var(--bone); color: var(--ink); }
.lb-link { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--neon); }
.lb-link:hover { color: var(--paper); }
body.lb-open { overflow: hidden; }

/* intake band + footer */
.band { padding: clamp(72px, 12vw, 160px) var(--gutter); border-top: 1px solid rgba(235,235,234,.12); display: grid; gap: 36px; align-items: end; grid-template-columns: 1fr auto; }
.band .h2 { font-size: clamp(40px, 9.5vw, 150px); white-space: nowrap; }
.foot { padding: 26px var(--gutter) 30px; border-top: 1px solid rgba(235,235,234,.12); display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; color: var(--sand); }
.foot a:hover { color: var(--neon); }
.foot-l { display: flex; flex-wrap: wrap; gap: 14px 32px; }

/* cursor — a neon dot on fine pointers, swells over anything clickable */
.cur { position: fixed; top: 0; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--neon); border-radius: 50%; pointer-events: none; z-index: 100; mix-blend-mode: difference; transform: translate(-100px, -100px); transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease); display: none; }
body.cur-on .cur { display: block; }
body.cur-hot .cur { width: 44px; height: 44px; margin: -22px 0 0 -22px; }

@media (max-width: 900px) {
  :root { --nav-h: 58px; }
  .views { gap: 8px; }
  .views button { font-size: 12px; padding: 10px 14px; letter-spacing: .14em; }
  .eyebrow { font-size: 12px; }
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-mark img { height: 22px; }
  .grid { gap: 10px; }
  .views { gap: 4px 16px; }
  .card-cap { flex-direction: column; gap: 6px; padding: 10px 10px 12px; }
  .card-title { font-size: 16px; }
  .card-types { text-align: left; white-space: normal; }
  .band { grid-template-columns: 1fr; }
  .lb-close { top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card:hover .card-media img, .card:hover .card-media video { transform: none; }
  .menu { transition: none; }
}
