:root {
  --ink: #101010;
  --paper: #f5f0e6;
  --white: #fffdf7;
  --blue: #7ee6ff;
  --acid: #eaff38;
  --pink: #ff67b5;
  --orange: #ff7047;
  --violet: #bd95ff;
  --green: #6de09a;
  --line: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; overflow-x: hidden; background: var(--paper); }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: var(--acid); border: var(--line); font-weight: 950; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-head { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 15px clamp(16px, 4vw, 58px); background: var(--paper); border-bottom: var(--line); }
.wordmark { display: grid; width: 126px; text-decoration: none; font-size: 21px; font-weight: 950; letter-spacing: -1.4px; line-height: .78; }
.wordmark span:last-child { margin-left: 27px; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 19px; flex-wrap: wrap; }
.site-nav a, .text-link { font-size: 11px; font-weight: 950; letter-spacing: .075em; text-decoration-thickness: 2px; text-underline-offset: 5px; text-transform: uppercase; }

.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr); gap: clamp(42px, 7vw, 110px); min-height: 790px; padding: clamp(68px, 9vw, 118px) clamp(22px, 6vw, 88px); background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(16,16,16,.08) 32px), var(--blue); border-bottom: var(--line); }
.hero-copy { align-self: center; }
.eyebrow, .section-index, .dated-note { font: 900 11px/1.35 "Courier New", monospace; letter-spacing: .075em; text-transform: uppercase; }
.eyebrow, .section-index { margin: 0 0 18px; }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(55px, 7.4vw, 112px); font-weight: 950; letter-spacing: -.078em; line-height: .84; }
.hero h1 em { color: var(--acid); font-style: normal; text-shadow: 3px 3px 0 var(--ink); }
.hero-deck { max-width: 690px; margin: 30px 0 0; font-size: clamp(18px, 2vw, 25px); font-weight: 720; line-height: 1.3; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 14px 18px; border: var(--line); box-shadow: 5px 5px 0 var(--ink); font-size: 11px; font-weight: 950; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: transform .16s ease, box-shadow .16s ease; }
.button:hover, .button:focus-visible { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.button-dark { color: var(--paper); background: var(--ink); box-shadow: 5px 5px 0 var(--acid); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 720px; margin: 50px 0 0; border: var(--line); }
.hero-stats div { padding: 13px; background: rgba(255,255,255,.58); }
.hero-stats div + div { border-left: var(--line); }
.hero-stats dt { font: 950 34px/1 "Courier New", monospace; }
.hero-stats dd { margin: 5px 0 0; font: 900 9px/1.2 "Courier New", monospace; text-transform: uppercase; }

.hero-machine { align-self: center; min-height: 620px; padding: 24px; background: var(--paper); border: 5px solid var(--ink); box-shadow: 15px 15px 0 var(--ink); transform: rotate(1.4deg); }
.machine-label, .machine-output { display: flex; justify-content: space-between; gap: 16px; padding: 13px; color: var(--paper); background: var(--ink); font: 900 10px/1.2 "Courier New", monospace; }
.machine-window { position: relative; display: grid; place-items: center; min-height: 385px; margin: 22px 0; overflow: hidden; background: var(--acid); border: 5px solid var(--ink); }
.machine-window::before, .machine-window::after { content: ""; position: absolute; width: 360px; height: 360px; border: 3px dashed var(--ink); border-radius: 50%; }
.machine-window::after { width: 220px; height: 220px; border-style: solid; }
.machine-window strong { position: relative; z-index: 2; font-size: clamp(72px, 9vw, 145px); font-weight: 950; letter-spacing: -.08em; transform: rotate(-7deg); }
.machine-window > span { position: absolute; z-index: 3; padding: 8px; border: 2px solid var(--ink); background: var(--paper); font: 900 10px/1 "Courier New", monospace; }
.window-one { top: 18px; left: 17px; transform: rotate(-5deg); }
.window-two { top: 25px; right: 22px; background: var(--pink) !important; transform: rotate(7deg); }
.window-three { bottom: 19px; left: 42%; background: var(--blue) !important; transform: rotate(-2deg); }
.machine-window i { position: absolute; right: -30px; bottom: -36px; width: 150px; height: 150px; border: 28px solid var(--orange); border-radius: 50%; }
.machine-output { display: grid; gap: 6px; color: var(--ink); background: var(--pink); border: 2px solid var(--ink); }
.machine-output strong { font-size: 13px; }
.hero-machine > p { margin: 22px 0 0; font: 900 10px/1.45 "Courier New", monospace; text-align: center; }

.desk-tape { display: grid; grid-template-columns: repeat(4, 1fr); color: var(--paper); background: var(--ink); border-bottom: var(--line); }
.desk-tape span { padding: 16px; font: 900 10px/1.2 "Courier New", monospace; text-align: center; }
.desk-tape span + span { border-left: 2px solid var(--paper); }

.stack-builder { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr); gap: clamp(42px, 8vw, 110px); padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 88px); background: var(--acid); border-bottom: var(--line); }
.stack-copy h2, .directory-head h2, .spend-last h2, .five-day-proof h2, .source-note h2 { margin: 0; font-size: clamp(48px, 7vw, 102px); font-weight: 950; letter-spacing: -.074em; line-height: .87; }
.stack-copy > p:not(.section-index), .directory-head > p, .spend-last > div > p:not(.section-index), .five-day-proof > header > p:not(.section-index), .source-note p { font-size: 18px; font-weight: 650; line-height: 1.48; }
.mission-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 35px; }
.mission-button, .filter-button { min-height: 46px; padding: 11px 12px; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); font: 900 10px/1.2 "Courier New", monospace; letter-spacing: .04em; text-align: left; text-transform: uppercase; cursor: pointer; }
.mission-button:hover, .mission-button:focus-visible, .mission-button.is-active { color: var(--paper); background: var(--ink); }
.stack-ticket { align-self: start; padding: 28px; background: var(--paper); border: 5px solid var(--ink); box-shadow: 14px 14px 0 var(--ink); }
.stack-ticket > header { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 15px; border-bottom: 2px dashed var(--ink); font: 900 10px/1.2 "Courier New", monospace; }
.ticket-title { padding: 28px 0 22px; border-bottom: var(--line); }
.ticket-title p { margin: 0; font: 900 10px/1.35 "Courier New", monospace; text-transform: uppercase; }
.ticket-title h3 { margin: 10px 0 13px; font-size: clamp(38px, 5vw, 70px); font-weight: 950; letter-spacing: -.06em; line-height: .9; }
.ticket-title p:last-child { font: 650 16px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; text-transform: none; }
.stack-steps { margin: 0; padding: 0; list-style: none; counter-reset: stack-step; }
.stack-steps li { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 2px solid var(--ink); counter-increment: stack-step; }
.stack-steps li::before { content: counter(stack-step, decimal-leading-zero); font: 950 20px/1 "Courier New", monospace; }
.stack-steps strong { display: block; font-size: 18px; }
.stack-steps span { display: block; margin-top: 4px; font-size: 13px; font-weight: 650; line-height: 1.35; }
.stack-steps a { padding: 8px 9px; background: var(--blue); border: 2px solid var(--ink); font: 900 9px/1 "Courier New", monospace; text-decoration: none; text-transform: uppercase; }
.ticket-receipt { display: grid; gap: 8px; margin-top: 23px; padding: 16px; background: var(--pink); border: var(--line); }
.ticket-receipt span { font: 900 9px/1 "Courier New", monospace; }
.ticket-receipt strong { font-size: 16px; line-height: 1.35; }
.copy-plan { width: 100%; margin-top: 14px; padding: 13px; color: var(--paper); background: var(--ink); border: 0; font: 900 10px/1.2 "Courier New", monospace; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.copy-status { margin: 12px 0 0; font: 800 10px/1.35 "Courier New", monospace; }

.directory { padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px); background: var(--paper); border-bottom: var(--line); }
.directory-head { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 50px; }
.directory-head > p { margin: 0; }
.filter-desk { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(350px, 1.3fr) minmax(180px, .6fr) auto; gap: 18px; align-items: end; margin: 50px 0 34px; padding: 20px; background: var(--blue); border: var(--line); box-shadow: var(--shadow); }
.search-label, .access-label { display: grid; gap: 8px; font: 900 9px/1.2 "Courier New", monospace; letter-spacing: .05em; }
.search-label input, .access-label select { width: 100%; min-height: 48px; padding: 11px; color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 0; font: 700 14px/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.category-filters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.filter-button { text-align: center; }
.filter-button.is-active { color: var(--paper); background: var(--ink); }
.result-count { margin: 0; padding: 14px 0; font: 900 10px/1.2 "Courier New", monospace; white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.service-card { grid-column: span 4; display: flex; flex-direction: column; min-height: 540px; padding: 23px; border: var(--line); box-shadow: var(--shadow); transition: transform .16s ease, box-shadow .16s ease; }
.service-card:hover, .service-card:focus-within { transform: translate(4px, 4px); box-shadow: 4px 4px 0 var(--ink); }
.service-card[hidden] { display: none; }
.service-card > header { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 13px; border-bottom: 2px solid var(--ink); font: 900 9px/1.2 "Courier New", monospace; }
.service-card > header b { padding: 5px 6px; color: var(--paper); background: var(--ink); }
.service-card h3 { margin: 34px 0 16px; font-size: clamp(39px, 4.2vw, 63px); font-weight: 950; letter-spacing: -.065em; line-height: .86; }
.service-card > p { margin: 0; font-size: 16px; font-weight: 650; line-height: 1.42; }
.service-card dl { margin: auto 0 24px; border-top: 2px solid var(--ink); }
.service-card dl div { padding: 13px 0; }
.service-card dl div + div { border-top: 1px solid var(--ink); }
.service-card dt { font: 900 9px/1 "Courier New", monospace; }
.service-card dd { margin: 7px 0 0; font-size: 13px; font-weight: 750; line-height: 1.35; }
.service-card > a { align-self: flex-start; font: 900 10px/1.2 "Courier New", monospace; text-underline-offset: 5px; text-transform: uppercase; }
.card-think { background: var(--acid); }
.card-code { background: var(--blue); }
.card-make { background: var(--pink); }
.card-connect { background: var(--violet); }
.card-ship { background: var(--green); }
.empty-state { margin: 40px 0 0; padding: 28px; background: var(--orange); border: var(--line); font-size: 18px; font-weight: 800; }

.spend-last { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: clamp(42px, 8vw, 110px); padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 88px); background: var(--violet); border-bottom: var(--line); }
.spend-last ol { margin: 0; padding: 0; list-style: none; border-top: var(--line); }
.spend-last li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 22px 0; border-bottom: var(--line); }
.spend-last li > span { font: 950 14px/1 "Courier New", monospace; }
.spend-last strong { font-size: 24px; letter-spacing: -.03em; }
.spend-last li p { margin: 7px 0 0; font-size: 16px; font-weight: 650; line-height: 1.42; }

.five-day-proof { padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px); color: var(--paper); background: var(--ink); border-bottom: var(--line); }
.five-day-proof > header { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: end; }
.five-day-proof > header .section-index, .five-day-proof > header h2 { grid-column: 1; }
.five-day-proof > header > p:not(.section-index) { grid-column: 2; grid-row: 1 / 3; margin: 0; align-self: end; }
.five-day-proof h2 em { color: var(--acid); font-style: normal; }
.day-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 55px; border-top: 3px solid var(--paper); border-left: 3px solid var(--paper); }
.day-grid article { display: flex; flex-direction: column; min-height: 460px; padding: 21px; color: var(--ink); background: var(--paper); border-right: 3px solid var(--paper); border-bottom: 3px solid var(--paper); }
.day-grid article:nth-child(1) { background: var(--acid); }
.day-grid article:nth-child(2) { background: var(--blue); }
.day-grid article:nth-child(3) { background: var(--violet); }
.day-grid article:nth-child(4) { background: var(--pink); }
.day-grid article:nth-child(5) { background: var(--green); }
.day-grid span, .day-grid strong { font: 900 10px/1.25 "Courier New", monospace; }
.day-grid h3 { margin: 55px 0 18px; font-size: 29px; font-weight: 950; letter-spacing: -.05em; line-height: .92; }
.day-grid p { margin: 0; font-size: 14px; font-weight: 650; line-height: 1.45; }
.day-grid strong { margin-top: auto; padding-top: 20px; border-top: 2px solid var(--ink); }
.proof-finish { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-top: 30px; padding: 22px; color: var(--ink); background: var(--acid); border: 3px solid var(--paper); }
.proof-finish span, .proof-finish strong, .proof-finish a { font: 900 10px/1.35 "Courier New", monospace; text-transform: uppercase; }
.proof-finish a { text-underline-offset: 5px; }

.source-note { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(42px, 8vw, 110px); padding: clamp(72px, 10vw, 132px) clamp(20px, 6vw, 88px); background: var(--orange); }
.source-note p:first-child { margin-top: 0; }
.dated-note { margin-top: 30px; padding-top: 18px; border-top: var(--line); }

.site-footer { display: grid; grid-template-columns: auto 1fr; gap: 30px 48px; padding: 42px clamp(20px, 6vw, 88px) 28px; color: var(--paper); background: var(--ink); }
.footer-mark { color: var(--paper); }
.site-footer nav { display: flex; justify-content: flex-end; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.site-footer nav a { font-size: 10px; font-weight: 900; text-underline-offset: 4px; text-transform: uppercase; }
.site-footer p { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid var(--paper); font: 800 10px/1.5 "Courier New", monospace; }
.site-footer [data-pointcast-network] { grid-column: 1 / -1; }

@media (max-width: 1180px) {
  .filter-desk { grid-template-columns: 1fr 1fr; }
  .category-filters { order: 3; grid-column: 1 / -1; }
  .result-count { text-align: right; }
  .service-card { grid-column: span 6; }
  .day-grid { grid-template-columns: repeat(2, 1fr); }
  .day-grid article:last-child { grid-column: 1 / -1; min-height: 350px; }
  .proof-finish { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero, .stack-builder, .spend-last, .source-note { grid-template-columns: 1fr; }
  .hero-machine { width: min(650px, 94%); justify-self: center; }
  .desk-tape { grid-template-columns: 1fr 1fr; }
  .desk-tape span:nth-child(3) { border-left: 0; border-top: 2px solid var(--paper); }
  .desk-tape span:nth-child(4) { border-top: 2px solid var(--paper); }
  .directory-head, .five-day-proof > header { grid-template-columns: 1fr; }
  .five-day-proof > header .section-index, .five-day-proof > header h2, .five-day-proof > header > p:not(.section-index) { grid-column: 1; grid-row: auto; }
  .stack-ticket { margin-right: 10px; }
}

@media (max-width: 680px) {
  .site-head { align-items: flex-start; }
  .site-nav { max-width: 62%; gap: 10px; }
  .site-nav a { font-size: 9px; }
  .hero { min-height: auto; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div + div { border-top: var(--line); border-left: 0; }
  .hero-machine { min-height: 500px; padding: 17px; transform: none; }
  .machine-window { min-height: 310px; }
  .mission-list, .filter-desk, .service-grid, .day-grid { grid-template-columns: 1fr; }
  .category-filters { grid-template-columns: repeat(3, 1fr); }
  .filter-desk > * { grid-column: 1; }
  .result-count { text-align: left; }
  .service-card:nth-child(n) { grid-column: 1; min-height: 500px; }
  .stack-steps li { grid-template-columns: 36px 1fr; }
  .stack-steps a { grid-column: 2; justify-self: start; }
  .day-grid article, .day-grid article:last-child { grid-column: 1; min-height: 390px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 50px; }
  .stack-copy h2, .directory-head h2, .spend-last h2, .five-day-proof h2, .source-note h2 { font-size: 45px; }
  .desk-tape { grid-template-columns: 1fr; }
  .desk-tape span + span { border-top: 2px solid var(--paper); border-left: 0; }
  .mission-list, .category-filters { grid-template-columns: 1fr 1fr; }
  .stack-ticket { padding: 19px; box-shadow: 8px 8px 0 var(--ink); }
  .service-card { padding: 20px; box-shadow: 5px 5px 0 var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-head, .hero-machine, .hero-actions, .desk-tape, .mission-list, .filter-desk, .copy-plan, .site-footer { display: none !important; }
  .hero, .stack-builder, .directory, .spend-last, .five-day-proof, .source-note { display: block; min-height: 0; padding: 24px 0; color: #000; background: #fff; }
  .stack-ticket, .service-card { break-inside: avoid; box-shadow: none; }
  .service-card { min-height: 0; margin-bottom: 14px; }
  .service-grid { display: block; }
  a::after { content: " (" attr(href) ")"; font: 400 8pt/1.2 monospace; }
}
