/* =========================================================================
   KILLING TRENDS — "signal" system
   Black + pure red only. Giant condensed type with an LED dot texture,
   tiny lowercase mono, bracketed indices, corner-marked frames.
   ========================================================================= */

:root {
  --bg: #000;
  --red: #ff0000;
  --red-dim: #ab0000;          /* lines & borders only */
  --red-soft: #ec0000;         /* secondary TEXT: 4.6:1 on black (AA) */
  --red-ghost: rgba(255, 0, 0, .14);
  --head: 'Archivo', 'Arial Narrow', sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 2.4vw, 36px);
  --dot: 4px;                 /* LED pitch */
  --ink: var(--red);          /* legacy name used by inline styles */
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--red);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--red); color: #000; }
a { color: inherit; }
img, video, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

/* ---------- Type ---------- */

/* Giant condensed display type with LED dot-matrix texture */
.mega, .big, h1, h2 {
  font-family: var(--head);
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .82;
  letter-spacing: -.01em;
  margin: 0;
}
.led {
  -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 64%);
          mask-image: radial-gradient(circle, #000 58%, transparent 64%);
  -webkit-mask-size: var(--dot) var(--dot);
          mask-size: var(--dot) var(--dot);
}
.glow { filter: drop-shadow(0 0 10px rgba(255, 0, 0, .55)) drop-shadow(0 0 32px rgba(255, 0, 0, .35)); }
.mega { font-size: clamp(88px, 19vw, 340px); }
.big  { font-size: clamp(60px, 11vw, 200px); }
h2    { font-size: clamp(48px, 7.5vw, 128px); }
.blur-word { filter: blur(6px); opacity: .9; }

.micro, .label {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: lowercase;
  letter-spacing: .02em;
  color: var(--red);
}
.label { display: block; margin-bottom: 6px; }
.dim { color: var(--red-soft); }
.idx { font-family: var(--mono); font-size: 13px; }
.idx::before { content: "["; }
.idx::after  { content: "]"; }
.proto::before { content: "://"; }

/* ---------- Fixed viewport frame (corner squares) ---------- */
.vframe { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.vframe i {
  position: absolute; width: 6px; height: 6px; background: var(--red);
}
.vframe i:nth-child(1) { top: 14px; left: 14px; }
.vframe i:nth-child(2) { top: 14px; right: 14px; }
.vframe i:nth-child(3) { bottom: 14px; left: 14px; }
.vframe i:nth-child(4) { bottom: 14px; right: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 14px calc(var(--gutter) + 14px);
  background: linear-gradient(#000 40%, rgba(0,0,0,0));
}
.site-header nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-header nav.nav-right { justify-content: flex-end; }
.site-header nav a {
  text-decoration: none; text-transform: lowercase; font-size: 13px; position: relative;
}
.site-header nav a .n { color: var(--red-soft); margin-right: 4px; }
.site-header nav a:hover, .site-header nav a.active { background: var(--red); color: #000; }
.site-header nav a.active .n, .site-header nav a:hover .n { color: #000; }
.logo { display: block; width: 76px; height: 76px; justify-self: center; transition: transform .2s; }
.logo:hover { transform: scale(1.06); }
.logo img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 720px) {
  .site-header { grid-template-columns: 1fr auto; row-gap: 10px; }
  .site-header .logo { grid-column: 2; grid-row: 1; width: 54px; height: 54px; }
  .site-header { padding: 12px 22px; }
  .site-header nav { grid-column: 1; grid-row: 1; gap: 4px 12px; }
  .site-header nav a { font-size: 12px; }
  .site-header nav.nav-right { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
}

/* ---------- Layout ---------- */
.wrap { padding: 0 calc(var(--gutter) + 14px); }
section { position: relative; }
.pad { padding-top: clamp(80px, 12vw, 180px); padding-bottom: clamp(80px, 12vw, 180px); }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.right { text-align: right; }

/* ---------- Media frames: red duotone + LED grid + corner squares ---------- */
.frame {
  position: relative; border: 1px solid var(--red-dim);
}
.frame::before, .frame::after,
.frame > .c1, .frame > .c2 { content: ""; position: absolute; width: 6px; height: 6px; background: var(--red); z-index: 3; }
.frame::before { top: -3px; left: -3px; }
.frame::after  { top: -3px; right: -3px; }
.frame > .c1   { bottom: -3px; left: -3px; }
.frame > .c2   { bottom: -3px; right: -3px; }

.duo { position: relative; overflow: hidden; background: var(--red); }
.duo > img, .duo > video {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.35) brightness(.95);
  mix-blend-mode: multiply;
}
.duo::after { /* LED grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.55) 0 1px, transparent 1px var(--dot)),
    repeating-linear-gradient(90deg, rgba(0,0,0,.55) 0 1px, transparent 1px var(--dot));
}
.duo.true-color { background: #000; }
.duo.true-color > img, .duo.true-color > video { filter: none; mix-blend-mode: normal; }
.duo.true-color::after { opacity: .35; }
.duo.hover-reveal > img { transition: filter .35s; }
.duo.hover-reveal:hover { background: #000; }
.duo.hover-reveal:hover > img, .duo.hover-reveal.lit > img { filter: none; mix-blend-mode: normal; }
.duo.hover-reveal.lit { background: #000; }

.caption {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px;
  padding-top: 10px; font-size: 13px; text-transform: lowercase;
}
.caption .what { padding-left: 15%; }
.caption .tag { text-align: right; }

/* ---------- Buttons & forms ---------- */
.btn, .btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; text-transform: lowercase; text-decoration: none;
  padding: 10px 16px; border: 1px solid var(--red); background: transparent; color: var(--red);
  cursor: pointer;
}
.btn::before, .btn-outline::before { content: "["; }
.btn::after, .btn-outline::after { content: "]"; }
.btn:hover, .btn-outline:hover { background: var(--red); color: #000; }
.btn-outline.soldout, .btn.soldout { opacity: .4; pointer-events: none; }

input, textarea {
  font: inherit; color: var(--red); background: transparent;
  border: 0; border-bottom: 1px solid var(--red-dim); border-radius: 0;
  padding: 12px 0; outline: none; width: 100%; text-transform: lowercase;
}
input::placeholder, textarea::placeholder { color: var(--red-soft); opacity: 1; }
input:focus { border-bottom-color: var(--red); }
:focus-visible { outline: 1px dashed var(--red); outline-offset: 3px; }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
footer { padding: 80px calc(var(--gutter) + 14px) 40px; border-top: 1px solid var(--red-dim); }
footer .big { font-size: clamp(64px, 16vw, 300px); }
footer .creed-line { max-width: 52ch; margin: 0 0 22px; font-size: clamp(14px, 1.2vw, 17px); text-transform: none; }
footer .row { margin-top: 24px; font-size: 13px; text-transform: lowercase; }
footer a { text-decoration: none; }
footer a:hover { background: var(--red); color: #000; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- Phone menu ---------- */
.menu-btn { display: none; }
.menu-panel {
  position: fixed; inset: 0; z-index: 150; background: #000;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 80px calc(var(--gutter) + 14px) 40px;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.menu-panel.open { opacity: 1; visibility: visible; }
.menu-panel a {
  font-family: var(--head); font-stretch: 62%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, 13vw, 120px); line-height: .92; text-decoration: none; display: flex; align-items: baseline; gap: 12px;
}
.menu-panel a .n { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--red-soft); }
.menu-panel a.active, .menu-panel a:hover { color: #000; background: var(--red); }
.menu-panel .close { position: absolute; top: 18px; right: calc(var(--gutter) + 14px); }
@media (max-width: 720px) {
  .site-header { grid-template-columns: 1fr auto 1fr; }
  .site-header nav { display: none; }
  .site-header .logo { grid-column: 2; grid-row: 1; }
  .menu-btn {
    display: inline-flex; grid-column: 3; justify-self: end;
    background: none; border: 1px solid var(--red); color: var(--red);
    font-family: var(--mono); font-size: 13px; padding: 8px 12px; text-transform: lowercase; cursor: pointer;
  }
  .menu-btn::before { content: "["; } .menu-btn::after { content: "]"; }
}
body.menu-open { overflow: hidden; }

/* =========================================================================
   Phone layout pass
   ========================================================================= */
@media (max-width: 720px) {
  :root { --gutter: 10px; }
  .pad { padding-top: 64px; padding-bottom: 64px; }

  /* page-title side notes: read left-to-right, no odd right alignment */
  body .page-head .top, body .sh-hero .top { flex-wrap: nowrap; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
  body .page-head .top > *, body .sh-hero .top > * { margin: 0; }
  .page-head .top .right, .sh-hero .top .right { text-align: right; }
  .tx-head { gap: 10px 24px; }
  .tx-head .right { text-align: left; }

  /* forms: 16px inputs stop iOS zooming in on tap; full-width tap targets */
  input, textarea { font-size: 16px; padding: 14px 0; }
  form .btn, .actions .btn, .cx .send .btn { width: 100%; justify-content: center; padding: 15px 16px; font-size: 14px; }
  .actions { flex-direction: column; }

  /* footer: stack the small print */
  footer { padding-top: 56px; }
  footer .row { flex-direction: column; align-items: flex-start; gap: 8px; }

}
