:root {
  --paper: #f3e7c5;
  --paper-2: #e9d6a6;
  --ink: #17221f;
  --blue: #064f73;
  --red: #b63d24;
  --mustard: #dba818;
  --cream: #fff7de;
  --line: 2px solid var(--ink);
  --pad: clamp(1rem, 3vw, 3.2rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; }
::selection { color: var(--cream); background: var(--red); }

.skip { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .8rem 1rem; color: var(--cream); background: var(--ink); }
.skip:focus { top: 1rem; }
a:focus-visible { outline: 4px solid var(--mustard); outline-offset: 4px; }

.grain {
  position: fixed;
  z-index: 50;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  background-image:
    repeating-radial-gradient(circle at 17% 31%, transparent 0 1px, rgba(23,34,31,.22) 1px 2px, transparent 2px 5px),
    repeating-linear-gradient(91deg, transparent 0 7px, rgba(23,34,31,.06) 7px 8px);
  mix-blend-mode: multiply;
}

.topbar {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  border-bottom: var(--line);
  padding: .7rem var(--pad);
  background: rgba(243,231,197,.94);
}
.wordmark { display: flex; align-items: center; gap: .8rem; font-weight: 900; text-decoration: none; letter-spacing: .08em; }
.stamp { display: grid; place-items: center; width: 42px; height: 42px; color: var(--cream); background: var(--red); border-radius: 50%; transform: rotate(-8deg); font-size: .78rem; }
.navlinks { display: flex; gap: clamp(1rem, 3vw, 3rem); }
.navlinks a, .contact-chip { font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-decoration: none; border-bottom: 2px solid transparent; }
.navlinks a:hover { border-color: var(--red); }
.contact-chip { justify-self: end; padding: .7rem .85rem; color: var(--cream); background: var(--blue); box-shadow: 4px 4px 0 var(--ink); }

.hero { display: grid; grid-template-columns: minmax(320px, .88fr) minmax(440px, 1.12fr); min-height: calc(100vh - 76px); border-bottom: var(--line); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 8vw, 8rem) var(--pad) 3rem; background: var(--mustard); }
.hero-copy::after { content: ""; position: absolute; right: -2px; top: 0; width: 22px; height: 100%; background: repeating-linear-gradient(180deg, var(--ink) 0 2px, transparent 2px 17px); opacity: .3; }
.kicker, .overline, .section-index { font-weight: 900; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 1.2rem 0 1.4rem; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(3.5rem, 8.2vw, 8.8rem); font-weight: 900; line-height: .82; letter-spacing: -.035em; }
.hero h1 em { display: inline-block; color: var(--cream); font-style: normal; -webkit-text-stroke: 2px var(--ink); text-shadow: 5px 5px 0 var(--red); transform: rotate(-1.3deg); }
.intro { max-width: 620px; margin: 0; font-family: Georgia, serif; font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; padding: .75rem 1rem; border: var(--line); font-weight: 900; font-size: .78rem; letter-spacing: .06em; text-decoration: none; box-shadow: 5px 5px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--ink); }
.button.ink { color: var(--cream); background: var(--ink); }
.button.paper { background: var(--paper); }
.status-line { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-top: 2.4rem; font-weight: 900; font-size: .75rem; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(182,61,36,.6); animation: ping 1.8s infinite; }
.slash { color: var(--red); }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(182,61,36,0); } 100% { box-shadow: 0 0 0 0 rgba(182,61,36,0); } }

.hero-figure { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--blue); }
.hero-figure img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 58% center; filter: contrast(1.03) saturate(.94); }
.hero-figure figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; color: var(--cream); background: rgba(23,34,31,.9); border: 1px solid var(--cream); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.hero-figure figcaption span:last-child { text-align: right; }

.ticker { overflow: hidden; padding: .65rem 0; color: var(--cream); background: var(--red); border-bottom: var(--line); white-space: nowrap; font-weight: 900; letter-spacing: .08em; }
.ticker div { width: max-content; animation: crawl 32s linear infinite; }
@keyframes crawl { to { transform: translateX(-50%); } }

main { border-bottom: var(--line); }
section { padding: clamp(4rem, 8vw, 8rem) var(--pad); }
.section-index { color: var(--red); }
h2 { margin: .5rem 0 0; font-family: Georgia, serif; font-size: clamp(2.4rem, 6vw, 6rem); line-height: .95; letter-spacing: -.045em; }

.identity { display: grid; grid-template-columns: .35fr 1.1fr .85fr; gap: clamp(1.5rem, 4vw, 5rem); align-items: start; position: relative; }
.ruled { background-image: linear-gradient(rgba(6,79,115,.12) 1px, transparent 1px); background-size: 100% 29px; }
.identity-main { background: var(--paper); box-shadow: 14px 14px 0 rgba(6,79,115,.22); border: var(--line); padding: 1.5rem; transform: rotate(-1deg); }
.identity-main h2 { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; text-transform: uppercase; font-size: clamp(3rem, 6vw, 6.5rem); }
.identity-note { background: var(--cream); border: var(--line); padding: 1.5rem; }
.identity-note > p { margin-top: 0; font-family: Georgia, serif; font-size: 1.2rem; font-weight: 700; }
dl { margin: 1.5rem 0 0; }
dl div { border-top: 1px solid var(--ink); padding: .65rem 0; }
dt { color: var(--red); font-weight: 900; font-size: .7rem; letter-spacing: .08em; }
dd { margin: .2rem 0 0; font-weight: 700; }
blockquote { grid-column: 2 / 4; margin: 1rem 0 0; padding: 1.5rem 2rem; color: var(--cream); background: var(--blue); border: var(--line); font-family: Georgia, serif; font-size: clamp(1.3rem, 2.6vw, 2.2rem); font-style: italic; box-shadow: 10px 10px 0 var(--red); }

.work { color: var(--cream); background: var(--blue); }
.work .section-index { color: var(--mustard); }
.section-head { display: grid; grid-template-columns: 1.35fr .65fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }
.section-head p { margin: 0; font-family: Georgia, serif; font-size: 1.1rem; }
.project-list { border-top: 2px solid var(--cream); }
.project { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 2px solid var(--cream); }
.project-no { font-family: Impact, sans-serif; font-size: 3.5rem; color: var(--mustard); line-height: 1; }
.project-meta { display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; margin-bottom: .5rem; color: var(--mustard); font-weight: 900; font-size: .7rem; letter-spacing: .09em; }
.project h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.05; }
.project p { max-width: 820px; font-size: 1rem; }
.project-links { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; }
.project-links a { color: var(--mustard); font-weight: 900; font-size: .78rem; letter-spacing: .07em; text-underline-offset: 5px; }
.project.featured { margin: 0 calc(var(--pad) * -1); padding: 2rem var(--pad); color: var(--ink); background: var(--mustard); border: var(--line); }
.project.featured .project-no, .project.featured .project-meta, .project.featured .project-links a { color: var(--red); }
.side-label { position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: center; font-weight: 900; font-size: .7rem; letter-spacing: .14em; }

.method { padding-inline: 0; background: var(--paper-2); }
.method-title { padding: 0 var(--pad) 2.5rem; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: var(--line); border-bottom: var(--line); }
.method-grid li { min-height: 330px; padding: 1.4rem; border-right: var(--line); background: var(--paper); }
.method-grid li:last-child { border-right: 0; }
.method-grid li:nth-child(even) { background: var(--mustard); }
.method-grid li > span { font-family: Impact, sans-serif; color: var(--red); font-size: 4rem; }
.method-grid h3 { margin: 2rem 0 .8rem; font-family: Georgia, serif; font-size: 1.6rem; }

.signals { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 8rem); align-items: center; }
.signal-copy p { max-width: 520px; font-family: Georgia, serif; font-size: 1.15rem; }
.channels { border-top: var(--line); }
.channels a { display: grid; grid-template-columns: 105px 1fr 30px; gap: 1rem; align-items: center; padding: 1.2rem .5rem; border-bottom: var(--line); text-decoration: none; transition: background .15s, padding .15s; }
.channels a:hover { padding-left: 1rem; background: var(--mustard); }
.channels span { color: var(--red); font-weight: 900; font-size: .7rem; letter-spacing: .08em; }
.channels strong { font-family: Georgia, serif; font-size: 1.05rem; }
.channels i { font-size: 1.5rem; font-style: normal; }

.dispatch { display: flex; justify-content: space-between; gap: 2rem; align-items: center; color: var(--cream); background: var(--red); border-top: var(--line); }
.dispatch h2 { max-width: 980px; font-family: Impact, sans-serif; text-transform: uppercase; }
.big-arrow { display: grid; place-items: center; flex: 0 0 clamp(100px, 14vw, 210px); aspect-ratio: 1; color: var(--ink); background: var(--mustard); border: var(--line); border-radius: 50%; font-size: clamp(4rem, 10vw, 9rem); text-decoration: none; transition: transform .25s; }
.big-arrow:hover { transform: rotate(12deg) scale(1.03); }

footer { display: flex; justify-content: space-between; gap: 2rem; padding: 2rem var(--pad); font-size: .72rem; letter-spacing: .04em; }
footer span { color: #42504b; }
.footer-right { display: flex; gap: 2rem; text-align: right; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  .navlinks { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 72vh; }
  .hero-figure { min-height: 58vh; }
  .identity { grid-template-columns: 1fr; }
  .identity .section-index { grid-column: 1; }
  blockquote { grid-column: 1; }
  .section-head, .signals { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid li:nth-child(2) { border-right: 0; }
  .method-grid li:nth-child(-n+2) { border-bottom: var(--line); }
}

@media (max-width: 560px) {
  .topbar { min-height: 66px; }
  .contact-chip { padding: .58rem; font-size: .65rem; }
  .hero { min-height: 0; }
  .hero-copy { min-height: auto; padding-top: 4rem; }
  .hero h1 { font-size: clamp(3.4rem, 20vw, 5.3rem); }
  .hero-figure { min-height: 440px; }
  .hero-figure img { object-position: 64% center; }
  .hero-figure figcaption { flex-direction: column; }
  .hero-figure figcaption span:last-child { text-align: left; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid li { min-height: auto; border-right: 0; border-bottom: var(--line); }
  .method-grid li:last-child { border-bottom: 0; }
  .project { grid-template-columns: 52px 1fr; gap: .8rem; }
  .side-label { display: none; }
  .channels a { grid-template-columns: 80px 1fr 24px; gap: .5rem; }
  .dispatch { align-items: flex-start; flex-direction: column; }
  .big-arrow { width: 110px; align-self: flex-end; }
  footer, .footer-right { flex-direction: column; text-align: left; }
}

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