:root {
  --ink: #111311;
  --paper: #f3f0e7;
  --paper-2: #e7e1d4;
  --white: #fffefa;
  --blue: #1f59ff;
  --blue-dark: #1035a8;
  --ice: #dce9f4;
  --signal: #ff5b35;
  --muted: #62655f;
  --line: rgba(17, 19, 17, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(17,19,17,.045) .55px, transparent .55px);
  background-size: 5px 5px;
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; color: white; background: var(--ink); padding: 10px 14px; }
.skip-link:focus { top: 16px; }
.section-shell { width: min(calc(100% - 48px), 1240px); margin-inline: auto; }
.mono { font-family: "IBM Plex Mono", monospace; }

.site-header {
  width: min(calc(100% - 48px), 1240px);
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark { font: 700 15px/1 "IBM Plex Mono", monospace; text-decoration: none; letter-spacing: -.04em; }
.wordmark span { color: var(--blue); padding: 0 3px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font: 600 12px/1 "IBM Plex Mono", monospace; text-transform: uppercase; text-decoration: none; }
.site-nav a:hover { color: var(--blue); }
.nav-cta { padding: 11px 15px; color: var(--white) !important; background: var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; font: 600 12px "IBM Plex Mono", monospace; }

.hero { padding: 54px 0 118px; }
.hero-heading { position: relative; z-index: 3; }
.issue-tag { display: block; margin-bottom: 4px; font: 600 10px "IBM Plex Mono", monospace; letter-spacing: .12em; }
.hero h1 { margin: 0; font: 400 clamp(78px, 10.4vw, 150px)/.78 "Archivo Black", sans-serif; letter-spacing: -.085em; white-space: nowrap; }
.hero h1 span { color: var(--blue); }
.hero-collage { position: relative; min-height: 800px; margin-top: -4px; }
.paper-card { background: var(--white); border: 1px solid rgba(17,19,17,.2); box-shadow: 8px 9px 0 var(--ink); }
.intro-card { position: absolute; z-index: 4; width: min(440px, 42%); left: 1%; top: 112px; padding: 34px; transform: rotate(-1.8deg); }
.scribble { margin: 0 0 8px; color: var(--blue); font: 600 13px "IBM Plex Mono", monospace; }
.intro-card h2 { margin: 0 0 18px; font: 400 clamp(38px, 4.4vw, 64px)/.94 "Archivo Black", sans-serif; letter-spacing: -.055em; }
.intro-card > p:not(.scribble) { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.arrow-link { display: inline-flex; gap: 40px; margin-top: 28px; padding-bottom: 5px; border-bottom: 2px solid var(--ink); font: 700 12px "IBM Plex Mono", monospace; text-transform: uppercase; text-decoration: none; }
.hero-photo { position: absolute; z-index: 2; right: 13%; top: 20px; width: min(500px, 43%); margin: 0; padding: 12px 12px 30px; background: var(--white); box-shadow: 12px 14px 0 var(--blue); transform: rotate(2.2deg); }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.hero-photo figcaption, .candid-photo figcaption { padding-top: 10px; font: 600 9px "IBM Plex Mono", monospace; letter-spacing: .08em; }
.blue-note { position: absolute; z-index: 5; right: 0; top: 382px; width: 245px; padding: 25px; color: var(--white); background: var(--blue); transform: rotate(-3deg); box-shadow: 7px 8px 0 var(--ink); }
.blue-note > span { display: block; margin-bottom: 17px; font: 500 9px "IBM Plex Mono", monospace; }
.blue-note strong { font: 400 25px/1.1 "Archivo Black", sans-serif; letter-spacing: -.04em; }
.round-stamp { position: absolute; z-index: 5; left: 37%; top: 470px; width: 138px; height: 138px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--signal); transform: rotate(8deg); }
.round-stamp span { position: absolute; width: 108px; text-align: center; font: 600 8px/1.3 "IBM Plex Mono", monospace; }
.round-stamp b { font: 400 48px "Archivo Black", sans-serif; }
.hero-footnote { position: absolute; left: 0; bottom: 3px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 9px; letter-spacing: .12em; }

.ticker { position: relative; width: 100%; height: 59px; overflow: hidden; contain: layout paint; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--signal); }
.ticker-track { position: absolute; top: 50%; left: 0; width: max-content; display: flex; align-items: center; gap: 25px; padding-left: 20px; font: 400 23px "Archivo Black", sans-serif; text-transform: uppercase; animation: drift 26s linear infinite; }
.ticker-track i { font-style: normal; font-size: 14px; }
@keyframes drift {
  from { transform: translate(0, -50%); }
  to { transform: translate(-18%, -50%); }
}

.work { padding: 105px 0 125px; }
.section-marker { padding-bottom: 15px; border-bottom: 1px solid var(--line); font-size: 9px; letter-spacing: .13em; }
.niche-heading { display: grid; grid-template-columns: 1.1fr .6fr; gap: 70px; align-items: end; padding: 72px 0 58px; }
.category-number { display: inline-block; width: 42px; height: 42px; padding-top: 12px; border: 1px solid currentColor; border-radius: 50%; text-align: center; font: 600 10px "IBM Plex Mono", monospace; vertical-align: top; }
.niche-heading h2 { display: inline-block; margin: 0 0 0 17px; font: 400 clamp(62px, 9vw, 124px)/.76 "Archivo Black", sans-serif; letter-spacing: -.075em; }
.niche-heading h2 span { color: var(--blue); }
.niche-heading > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.video-row { display: grid; gap: clamp(32px, 7vw, 95px); align-items: start; padding: 0 clamp(0px, 7vw, 88px); }
.video-row.two-up { grid-template-columns: repeat(2, minmax(0, 390px)); justify-content: center; }
.project-card { min-width: 0; }
.project-card.rotate-left { transform: rotate(-1.4deg); }
.project-card.rotate-right { transform: rotate(1.3deg); }
.project-card.drop { margin-top: 64px; }
.phone-frame { position: relative; aspect-ratio: 9 / 15.4; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; border: 9px solid var(--ink); border-radius: 38px; overflow: hidden; box-shadow: 8px 10px 0 rgba(17,19,17,.18); }
.phone-frame::before { content: ""; position: absolute; inset: 10% -25% auto auto; width: 95%; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; opacity: .3; box-shadow: 0 0 0 38px rgba(255,255,255,.05), 0 0 0 76px rgba(255,255,255,.04); }
.phone-frame.cobalt { color: white; background: linear-gradient(145deg, var(--blue), var(--blue-dark)); }
.phone-frame.ice { color: var(--ink); background: linear-gradient(145deg, #f5f8f9, #b7cedf); }
.phone-frame.signal { color: var(--ink); background: linear-gradient(145deg, #ff7b52, #ffcf60); }
.phone-top, .phone-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; font: 600 8px "IBM Plex Mono", monospace; letter-spacing: .09em; }
.phone-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.phone-copy small { font: 500 8px "IBM Plex Mono", monospace; letter-spacing: .14em; }
.phone-copy strong { font: 400 clamp(36px, 4vw, 54px)/.86 "Archivo Black", sans-serif; letter-spacing: -.06em; }
.phone-copy > span { padding: 7px 10px; border: 1px solid currentColor; border-radius: 999px; font: 500 8px "IBM Plex Mono", monospace; }
.project-caption { padding: 22px 4px; border-bottom: 1px solid var(--line); }
.project-caption h3 { margin: 0 0 7px; font: 400 25px "Archivo Black", sans-serif; letter-spacing: -.04em; }
.project-caption p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 13px; }

.tech-section { color: var(--white); background: var(--ink); }
.tech-inner { padding-top: 105px; padding-bottom: 130px; }
.niche-heading.light > p { color: #b8bbb5; }
.niche-heading.light h2 span { color: var(--signal); }
.tech-layout { display: grid; grid-template-columns: minmax(280px, 390px) minmax(300px, 1fr); gap: clamp(50px, 9vw, 130px); align-items: center; padding: 0 clamp(0px, 7vw, 88px); }
.tech-card { transform: rotate(-1.2deg); }
.tech-card .project-caption { border-color: rgba(255,255,255,.25); }
.tech-card .project-caption p { color: #b8bbb5; }
.tech-note { position: relative; max-width: 470px; padding: 38px; color: var(--ink); transform: rotate(2.5deg); }
.tech-note > span { font-size: 9px; color: var(--blue); }
.tech-note h3 { margin: 40px 0 14px; font: 400 clamp(48px, 6vw, 80px)/.9 "Archivo Black", sans-serif; letter-spacing: -.06em; }
.tech-note p { max-width: 340px; color: var(--muted); line-height: 1.65; }
.sketch-lines { margin-top: 45px; display: grid; gap: 8px; transform: rotate(-2deg); }
.sketch-lines i { height: 3px; background: var(--blue); }
.sketch-lines i:nth-child(2) { width: 82%; }
.sketch-lines i:nth-child(3) { width: 55%; }

.products { padding: 110px 0; }
.product-list { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 42px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.product-list span { padding: 28px 12px; border-right: 1px solid var(--line); text-align: center; font: 400 clamp(22px, 3vw, 38px) "Archivo Black", sans-serif; }
.product-list span:last-child { border-right: 0; }
.products > p { margin: 18px 0 0; color: var(--muted); font-size: 10px; }

.about { padding: 70px 0 130px; display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(60px, 10vw, 140px); align-items: center; }
.about-collage { position: relative; min-height: 620px; }
.candid-photo { position: absolute; left: 8%; top: 20px; width: min(370px, 82%); margin: 0; padding: 12px 12px 31px; background: var(--white); box-shadow: 10px 12px 0 var(--blue); transform: rotate(-4deg); }
.candid-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.about-sticker { position: absolute; z-index: 2; right: 0; bottom: 80px; width: 230px; padding: 22px; color: var(--ink); background: var(--signal); border: 2px solid var(--ink); font: 400 20px/1.05 "Archivo Black", sans-serif; transform: rotate(4deg); }
.about-doodle { position: absolute; right: 12%; top: 20px; color: var(--blue); font-size: 90px; transform: rotate(-18deg); }
.about-copy h2 { margin: 42px 0 32px; font: 400 clamp(58px, 7vw, 98px)/.82 "Archivo Black", sans-serif; letter-spacing: -.07em; }
.about-copy > p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.quick-facts { list-style: none; padding: 0; margin: 38px 0 0; border-top: 1px solid var(--line); }
.quick-facts li { display: grid; grid-template-columns: 45px 1fr; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.quick-facts span { color: var(--blue); font: 600 9px "IBM Plex Mono", monospace; }

.services { padding: 110px 0 130px; border-top: 2px solid var(--ink); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 50px; border-top: 1px solid var(--line); }
.service-grid article { position: relative; min-height: 250px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid article:nth-child(even) { border-right: 0; }
.service-grid article > span { font: 600 9px "IBM Plex Mono", monospace; color: var(--blue); }
.service-grid h3 { margin: 66px 0 12px; font: 400 clamp(31px, 4vw, 50px)/.9 "Archivo Black", sans-serif; letter-spacing: -.05em; }
.service-grid p { max-width: 430px; margin: 0; color: var(--muted); line-height: 1.6; }

.contact { margin-bottom: 34px; padding: clamp(38px, 7vw, 84px); color: var(--white); background: var(--blue); border: 2px solid var(--ink); box-shadow: 12px 14px 0 var(--ink); }
.contact-topline { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.35); font-size: 9px; }
.contact h2 { margin: 55px 0; font: 400 clamp(68px, 11vw, 150px)/.78 "Archivo Black", sans-serif; letter-spacing: -.075em; }
.contact h2 span { color: var(--signal); }
.contact-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; }
.contact-grid p { max-width: 500px; font-size: 17px; line-height: 1.65; }
.contact-button { display: flex; align-items: center; justify-content: space-between; gap: 50px; min-width: 230px; padding: 19px 22px; color: var(--ink); background: var(--white); border: 2px solid var(--ink); font: 600 12px "IBM Plex Mono", monospace; text-decoration: none; }
.contact-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.35); }
.contact-links a { display: flex; flex-direction: column; gap: 7px; font: 600 9px "IBM Plex Mono", monospace; text-decoration: none; }
.contact-links a span { font: 500 12px "DM Sans", sans-serif; text-decoration: underline; text-underline-offset: 4px; }
.site-footer { min-height: 100px; display: flex; justify-content: space-between; align-items: center; font: 600 9px "IBM Plex Mono", monospace; letter-spacing: .08em; }

@media (hover: hover) {
  .project-card, .hero-photo, .intro-card, .tech-note, .candid-photo { transition: transform .28s ease; }
  .project-card:hover { transform: rotate(0) translateY(-7px); }
  .hero-photo:hover, .intro-card:hover, .tech-note:hover, .candid-photo:hover { transform: rotate(0); }
  .contact-button:hover { color: white; background: var(--ink); }
}

@media (max-width: 940px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; z-index: 30; top: 67px; left: 24px; right: 24px; padding: 24px; color: white; background: var(--ink); flex-direction: column; align-items: stretch; }
  .site-nav.open { display: flex; }
  .hero h1 { font-size: clamp(73px, 14.5vw, 132px); }
  .hero-collage { min-height: 700px; }
  .intro-card { width: 47%; }
  .hero-photo { right: 7%; width: 48%; }
  .blue-note { width: 215px; }
  .niche-heading { grid-template-columns: 1fr; gap: 35px; }
  .tech-layout { grid-template-columns: minmax(260px, 360px) 1fr; gap: 60px; padding: 0; }
  .about { gap: 60px; }
  .about-sticker { right: -10px; }
}

@media (max-width: 680px) {
  .section-shell, .site-header { width: min(calc(100% - 28px), 1240px); }
  .site-header { height: 68px; }
  .site-nav { left: 14px; right: 14px; }
  .hero { padding-top: 38px; padding-bottom: 75px; }
  .hero h1 { white-space: normal; font-size: clamp(71px, 22vw, 108px); line-height: .82; }
  .hero h1 span { display: block; }
  .hero-collage { display: flex; flex-direction: column; min-height: 0; margin-top: 24px; }
  .intro-card, .hero-photo, .blue-note, .round-stamp, .hero-footnote { position: relative; inset: auto; }
  .hero-photo { order: 1; width: 84%; align-self: flex-end; margin: 0 3% 0 0; }
  .intro-card { order: 2; width: 88%; margin: -60px 0 0 0; padding: 28px; }
  .blue-note { order: 3; width: 69%; margin: 28px 0 0 auto; }
  .round-stamp { order: 4; width: 112px; height: 112px; margin: -52px 0 0 5%; }
  .round-stamp b { font-size: 38px; }
  .hero-footnote { order: 5; margin-top: 42px; }
  .ticker-track { width: 100%; max-width: 100%; overflow: hidden; animation: none; transform: translateY(-50%); }
  .work { padding: 82px 0 95px; }
  .niche-heading { padding: 55px 0 45px; }
  .niche-heading > div { min-width: 0; }
  .niche-heading h2 { font-size: clamp(55px, 16.5vw, 76px); }
  .video-row.two-up { grid-template-columns: 1fr; }
  .project-card { width: min(100%, 380px); margin-inline: auto; }
  .project-card.drop { margin-top: 20px; }
  .tech-inner { padding-top: 82px; padding-bottom: 95px; }
  .tech-layout { grid-template-columns: 1fr; }
  .tech-note { margin-top: 12px; }
  .product-list { grid-template-columns: repeat(2, 1fr); }
  .product-list span:nth-child(2) { border-right: 0; }
  .product-list span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about { padding: 45px 0 95px; grid-template-columns: 1fr; }
  .about-collage { min-height: 560px; }
  .about-copy h2 { margin-top: 35px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { border-right: 0; }
  .contact { width: calc(100% - 28px); padding: 32px 24px; box-shadow: 7px 8px 0 var(--ink); }
  .contact h2 { font-size: clamp(56px, 15.8vw, 76px); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-button { min-width: 0; }
  .contact-links { grid-template-columns: 1fr; }
  .site-footer { padding: 28px 0; gap: 12px; flex-direction: column; align-items: flex-start; }
}

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