:root {
  --paper: #f3efe7;
  --paper-2: #e9e3d8;
  --ink: #111111;
  --ink-2: #4b463f;
  --ink-3: #8a8378;
  --line: #d8d1c4;
  --signal: #ff4b1f;
  --reel: #0e0e0f;
  --reel-2: #18181a;
  --reel-line: #2a2a2d;
  --max: 1200px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 100;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 5; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; font-weight: 700; letter-spacing: -0.01em;
}
.brand-mark {
  position: relative;
  display: grid; place-items: center;
  width: 38px; height: 30px;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  border-radius: 3px;
}
.brand-mark::before {
  content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 6px;
  border-radius: 2px 2px 0 0;
  background: repeating-linear-gradient(-45deg, var(--ink) 0 6px, var(--paper) 6px 12px);
  border: 1.5px solid var(--ink);
}
.nav { display: flex; gap: 32px; }
.nav a { text-decoration: none; color: var(--ink-2); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::before { content: "● "; color: var(--signal); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center;
  padding-top: 88px; padding-bottom: 104px;
}
.hero-kicker { display: flex; align-items: center; gap: 10px; color: var(--ink-3); margin-bottom: 28px; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--signal); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 0.92; letter-spacing: -0.045em; font-weight: 800;
  font-stretch: 112%;
}
.hero h1 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.02em; color: var(--signal);
}
.hero .lede { margin: 32px 0 0; max-width: 520px; font-size: 19px; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1.5px solid var(--ink); transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--signal); border-color: var(--signal); transform: translateY(-2px); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

/* clapperboard slate */
.slate { position: relative; transform: rotate(2.5deg); filter: drop-shadow(0 30px 40px rgba(17,17,17,.22)); }
.slate-sticks { position: relative; height: 54px; }
.stick {
  position: absolute; left: 0; right: 0; height: 46px; border-radius: 6px;
  background: repeating-linear-gradient(-60deg, var(--ink) 0 34px, #f6f3ec 34px 68px);
  border: 3px solid var(--ink);
}
.stick-bottom { bottom: 0; }
.stick-top {
  bottom: 6px; transform-origin: 8px 100%;
  animation: clap 1.6s cubic-bezier(.7,0,.3,1) .5s both;
  background: repeating-linear-gradient(60deg, var(--ink) 0 34px, #f6f3ec 34px 68px);
}
@keyframes clap {
  0% { transform: rotate(-24deg); }
  70% { transform: rotate(-24deg); }
  86% { transform: rotate(0deg); }
  92% { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}
.slate-body {
  background: var(--ink); color: #f6f3ec;
  border-radius: 0 0 10px 10px; padding: 26px 28px 30px;
  border: 3px solid var(--ink);
}
.slate-row { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1.5px solid #3a3a3a; }
.slate-row:last-child { border-bottom: 0; }
.slate-cell { padding: 12px 10px 14px; border-right: 1.5px solid #3a3a3a; }
.slate-cell:last-child { border-right: 0; }
.slate-cell.wide { grid-column: span 3; border-right: 0; }
.slate-cell .label { display: block; color: #8d877c; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.slate-cell .val { display: block; margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.1; }
.slate-cell .val.big { font-family: var(--display); font-style: normal; font-weight: 800; font-size: 44px; letter-spacing: -0.03em; color: var(--signal); }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--signal); color: var(--ink);
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  overflow: hidden; white-space: nowrap;
}
.ticker-track { display: inline-flex; animation: ticker 32s linear infinite; }
.ticker span {
  padding: 14px 0; font-weight: 800; font-size: 22px; letter-spacing: -0.01em; text-transform: uppercase;
}
.ticker span::after { content: "✦"; margin: 0 28px; font-size: 16px; vertical-align: 3px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Reel (apps) ---------- */
.reel { background: var(--reel); color: #f2efe8; padding: 112px 0 120px; position: relative; }
.reel-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.reel-head h2 {
  margin: 0; font-size: clamp(40px, 5.5vw, 76px); line-height: .95; letter-spacing: -0.04em; font-weight: 800;
}
.reel-head h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--signal); }
.reel-head p { margin: 0; max-width: 340px; color: #9b968c; }

.strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid var(--reel-line); border-radius: 4px; overflow: hidden;
}
.frame {
  position: relative; display: flex; flex-direction: column;
  padding: 44px 32px 30px; min-height: 380px;
  border-right: 1px solid var(--reel-line); border-bottom: 1px solid var(--reel-line);
  background: var(--reel-2);
  isolation: isolate; overflow: hidden;
  transition: background .35s ease;
}
.frame:nth-child(3n) { border-right: 0; }
.frame:nth-last-child(-n+3) { border-bottom: 0; }
/* sprocket holes */
.frame::before, .frame::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: radial-gradient(circle at 50% 50%, var(--reel) 0 3.6px, transparent 4.2px) 0 0 / 22px 12px repeat-x;
  opacity: .9;
}
.frame::before { top: 10px; }
.frame::after { bottom: 10px; }
.frame .glow {
  position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .45s ease;
  background: radial-gradient(120% 80% at 30% 20%, var(--tint) 0%, transparent 60%);
}
.frame:hover .glow { opacity: .42; }
.frame-meta { display: flex; justify-content: space-between; color: #6f6a62; }
.frame-meta b { color: var(--signal); font-weight: 500; }
.frame img {
  width: 96px; height: 96px; border-radius: 22%; margin: 28px 0 26px;
  box-shadow: 0 18px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.frame:hover img { transform: translateY(-6px) rotate(-6deg) scale(1.06); }
.frame h3 { margin: 0; font-size: 30px; letter-spacing: -0.03em; font-weight: 800; }
.frame .logline { margin: 8px 0 24px; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.25; color: #cfcac0; flex: 1; }
.frame-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.frame-links a { color: #9b968c; text-decoration: none; }
.frame-links a:hover { color: #fff; }
.frame-links a.primary { color: #fff; }
.frame-links a.primary::after { content: " ↗"; color: var(--signal); }

/* ---------- Credits (about) ---------- */
.credits { padding: 120px 0; text-align: center; }
.credits .mono { color: var(--ink-3); }
.credits h2 {
  margin: 18px auto 0; max-width: 900px;
  font-size: clamp(32px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800;
}
.credits h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--signal); }
.credit-list { margin: 72px auto 0; max-width: 640px; display: grid; gap: 22px; }
.credit { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: baseline; }
.credit dt { text-align: right; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.credit .dots { width: 28px; border-bottom: 1.5px dotted var(--ink-3); transform: translateY(-4px); }
.credit dd { margin: 0; text-align: left; font-family: var(--serif); font-size: 24px; font-style: italic; }
.credit dd a { text-decoration: none; border-bottom: 1.5px solid var(--signal); }

/* ---------- Contact page ---------- */
.page-hero { padding-top: 96px; padding-bottom: 72px; }
.page-hero h1 { margin: 0; font-size: clamp(56px, 9vw, 128px); line-height: .9; letter-spacing: -0.05em; font-weight: 800; }
.page-hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--signal); }
.page-hero .lede { margin: 28px 0 0; max-width: 560px; font-size: 19px; color: var(--ink-2); }
.contact-slate { background: var(--ink); color: #f6f3ec; border-radius: 10px; margin-bottom: 120px; }
.contact-slate .slate-row { grid-template-columns: repeat(3, 1fr); }
.contact-slate .slate-cell { padding: 32px 30px 36px; }
.contact-slate .val { font-size: 28px; }
.contact-slate address { font-style: normal; }
.contact-slate a { color: #fff; text-decoration: none; border-bottom: 1.5px solid var(--signal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--reel); color: #8d877c; padding: 72px 0 40px; font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--reel-line); }
.footer-word { margin: 0; color: #f2efe8; font-size: clamp(40px, 6vw, 84px); font-weight: 800; letter-spacing: -0.045em; line-height: .9; }
.footer-word em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--signal); }
.footer-cols { display: flex; gap: 64px; }
.footer-cols h4 { margin: 0 0 14px; color: #f2efe8; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; }

/* ---------- Load-in ---------- */
.rise { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .28s; } .d4 { animation-delay: .4s; } .d5 { animation-delay: .25s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 56px; }
  .slate { max-width: 460px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .frame:nth-child(3n) { border-right: 1px solid var(--reel-line); }
  .frame:nth-child(2n) { border-right: 0; }
  .frame:nth-last-child(-n+3) { border-bottom: 1px solid var(--reel-line); }
  .frame:nth-last-child(-n+2) { border-bottom: 0; }
  .contact-slate .slate-row { grid-template-columns: 1fr; }
  .contact-slate .slate-cell { border-right: 0; border-bottom: 1.5px solid #3a3a3a; }
  .contact-slate .slate-cell:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { gap: 18px; }
  .brand-name { display: none; }
  .hero { padding-top: 56px; padding-bottom: 72px; }
  .slate-body { padding: 18px 16px 20px; }
  .slate-cell .val { font-size: 19px; }
  .slate-cell .val.big { font-size: 34px; }
  .reel { padding: 80px 0; }
  .reel-head { flex-direction: column; align-items: start; }
  .strip { grid-template-columns: 1fr; }
  .frame { border-right: 0 !important; border-bottom: 1px solid var(--reel-line) !important; min-height: 0; }
  .frame:last-child { border-bottom: 0 !important; }
  .credits { padding: 88px 0; }
  .credit { grid-template-columns: 1fr; gap: 2px; text-align: center; }
  .credit dt, .credit dd { text-align: center; }
  .credit .dots { display: none; }
  .footer-cols { gap: 40px; }
}
