:root {
  --sun: #f7e952;
  --ink: #111111;
  --paper: #fffdf4;
  --paper-2: #f4f0df;
  --pink: #ff2f92;
  --purple: #6a35ff;
  --blue: #18d9ff;
  --green: #42f56c;
  --orange: #ff7417;
  --muted: #5f5b50;
  --line: 2px solid var(--ink);
  --radius: 22px;
  --shadow: 8px 8px 0 var(--ink);
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--sun);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: var(--pink); color: #fff; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 999;
  background: #fff;
  border: var(--line);
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 14px; }
:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; }

.shell { width: min(calc(100% - 36px), var(--shell)); margin-inline: auto; }
.narrow { width: min(calc(100% - 36px), 820px); margin-inline: auto; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-paper { background: var(--paper); border-block: var(--line); }
.section-dark { background: var(--ink); color: #fff; border-block: 2px solid #fff; }
.section-gradient { background: linear-gradient(120deg, var(--pink), var(--purple) 48%, #006bff); color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 233, 82, 0.96);
  border-bottom: var(--line);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Arial Black", Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.brand-badge {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: -0.06em;
  box-shadow: 3px 3px 0 var(--ink);
}
.nav-wrap { display: flex; align-items: center; gap: 26px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  position: relative;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 3px;
  background: var(--pink);
  transition: right .2s ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.header-cta { padding: 10px 17px; border: var(--line); background: var(--ink); color: var(--sun); text-decoration: none; font-weight: 900; border-radius: 999px; }
.header-cta:hover { background: var(--purple); color: #fff; }
.menu-button { display: none; border: var(--line); background: #fff; color: var(--ink); min-width: 60px; height: 42px; padding: 0 8px; border-radius: 10px; font-weight: 950; font-size: .78rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font: 800 0.78rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 5px; background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue)); }
.display {
  margin: 0;
  max-width: 1050px;
  font-family: "Arial Black", Inter, sans-serif;
  font-size: clamp(3.15rem, 8vw, 7.4rem);
  line-height: .91;
  letter-spacing: -.075em;
  font-weight: 950;
}
.display-small { font-size: clamp(2.65rem, 6.4vw, 5.4rem); }
.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, var(--pink), var(--purple) 45%, #006fff 74%, #00a7a7);
  -webkit-background-clip: text;
  background-clip: text;
}
.lede { margin: 24px 0 0; max-width: 760px; font-size: clamp(1.1rem, 2vw, 1.38rem); line-height: 1.55; color: #36332d; }
.section-dark .lede { color: #d7d5ce; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 21px;
  border: var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.button-primary { color: #fff; background: linear-gradient(110deg, var(--orange), var(--pink), var(--purple)); }
.button-dark { background: var(--ink); color: var(--sun); }
.button-light { background: var(--sun); color: var(--ink); border-color: #fff; box-shadow: 4px 4px 0 #fff; }
.button-light:hover { box-shadow: 7px 7px 0 #fff; }

.hero { position: relative; overflow: hidden; padding: 72px 0 90px; }
.hero::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -240px;
  top: -260px;
  border: 55px solid rgba(255, 47, 146, .38);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 52px; align-items: center; }
.hero-art { position: relative; }
.hero-art img { border: var(--line); border-radius: var(--radius); box-shadow: 12px 12px 0 var(--ink); transform: rotate(2deg); }
.hero-art::before {
  content: "TYPE / SIGNAL / SYSTEM";
  position: absolute;
  z-index: 2;
  left: -32px;
  top: 28px;
  padding: 9px 15px;
  background: #fff;
  border: var(--line);
  font: 800 .75rem/1 ui-monospace, monospace;
  transform: rotate(-7deg);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill { display: inline-flex; align-items: center; padding: 8px 13px; border: var(--line); border-radius: 999px; background: #fff; font-size: .78rem; font-weight: 850; }

.marquee { overflow: hidden; border-block: var(--line); background: linear-gradient(90deg, var(--pink), var(--purple), #006fff); color: #fff; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-item { padding: 20px 28px; white-space: nowrap; font-weight: 950; letter-spacing: .02em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.section-heading { margin: 0; font: 950 clamp(2.35rem, 5vw, 4.8rem)/.98 "Arial Black", Inter, sans-serif; letter-spacing: -.055em; }
.section-intro { max-width: 720px; margin: 18px 0 0; font-size: 1.1rem; color: var(--muted); }
.section-dark .section-intro { color: #c8c6be; }
.section-topline { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.text-link { font-weight: 900; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--purple); }

.specimen-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.specimen-card { grid-column: span 4; position: relative; border: var(--line); background: #fff; box-shadow: 7px 7px 0 var(--ink); overflow: hidden; }
.specimen-card:nth-child(1), .specimen-card:nth-child(5) { grid-column: span 8; }
.specimen-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .35s ease; }
.specimen-card:hover img { transform: scale(1.025); }
.specimen-meta { display: flex; justify-content: space-between; gap: 15px; padding: 15px 17px; border-top: var(--line); font-weight: 850; }
.specimen-meta span:last-child { font: 700 .72rem/1.4 ui-monospace, monospace; text-transform: uppercase; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 7px 7px 0 var(--ink);
}
.feature-card .card-number { font: 950 3.3rem/1 "Arial Black", Inter, sans-serif; color: var(--purple); letter-spacing: -.06em; }
.feature-card h3 { margin: 22px 0 12px; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: var(--muted); }
.feature-card a { margin-top: auto; padding-top: 24px; font-weight: 900; text-underline-offset: 5px; }
.feature-card:nth-child(2) .card-number { color: var(--pink); }
.feature-card:nth-child(3) .card-number { color: #007a91; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.process-card { border: 2px solid #fff; border-radius: var(--radius); padding: 24px; min-height: 260px; display: flex; flex-direction: column; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); }
.process-card b { display: block; font: 950 3.7rem/1 "Arial Black", Inter, sans-serif; color: var(--sun); }
.process-card h3 { margin: auto 0 10px; font-size: 1.35rem; }
.process-card p { margin: 0; color: #d2d0c9; }

.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); border-left: var(--line); border-top: var(--line); }
.logo-tile { min-height: 220px; display: grid; place-items: center; padding: 24px; border-right: var(--line); border-bottom: var(--line); background: #fff; overflow: hidden; }
.logo-tile span { font: 950 clamp(2.8rem, 6vw, 5.6rem)/1 "Arial Black", Inter, sans-serif; letter-spacing: -.09em; }
.logo-tile.serif span { font-family: Georgia, "Times New Roman", serif; font-style: italic; letter-spacing: -.06em; }
.logo-tile.mono span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.11em; }
.logo-tile.outline span { color: transparent; -webkit-text-stroke: 3px var(--ink); }
.logo-tile.gradient span { color: transparent; background: linear-gradient(90deg,var(--pink),var(--purple),#007bff); -webkit-background-clip: text; background-clip: text; }
.logo-tile.cut span { clip-path: polygon(0 0, 100% 0, 100% 42%, 86% 42%, 100% 58%, 100% 100%, 0 100%); }
.logo-tile:nth-child(4n+2) { background: var(--ink); color: var(--sun); }
.logo-tile:nth-child(4n+3) { background: var(--pink); }
.logo-tile:nth-child(4n) { background: var(--purple); color: #fff; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: var(--line); box-shadow: 7px 7px 0 var(--ink); min-width: 0; }
.post-card-image { display: block; border-bottom: var(--line); overflow: hidden; }
.post-card-image img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card-image img { transform: scale(1.025); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 21px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 13px; margin-bottom: 13px; font: 750 .73rem/1.4 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .04em; color: #59564d; }
.post-card h3 { margin: 0; font-size: 1.45rem; line-height: 1.12; letter-spacing: -.03em; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: var(--purple); }
.post-card p { color: var(--muted); }
.post-card .read-link { margin-top: auto; font-weight: 900; text-underline-offset: 5px; }

.faq-list { display: grid; gap: 12px; margin-top: 34px; }
details { background: #fff; border: var(--line); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink); }
summary { cursor: pointer; list-style: none; padding: 20px 58px 20px 20px; font-weight: 900; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 2rem; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

.page-hero { padding: 64px 0 70px; border-bottom: var(--line); }
.breadcrumbs { margin-bottom: 26px; font: 750 .78rem/1.4 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .04em; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #686359; }
.breadcrumbs a { text-underline-offset: 4px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.copy h2 { margin: 0 0 16px; font-size: clamp(2rem,4vw,3.4rem); line-height: 1; letter-spacing: -.045em; }
.copy h3 { margin: 34px 0 10px; font-size: 1.4rem; }
.copy p { font-size: 1.05rem; color: #454137; }
.copy ul { padding-left: 1.2rem; }
.copy li { margin: 8px 0; }
.callout { border: var(--line); background: #fff; padding: 28px; box-shadow: var(--shadow); }
.callout h2, .callout h3 { margin-top: 0; }

.deliverable-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.deliverable { border: var(--line); background: #fff; padding: 22px; }
.deliverable h3 { margin: 0 0 8px; }
.deliverable p { margin: 0; color: var(--muted); }

.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 48px; align-items: start; }
.article-main { min-width: 0; }
.article-header { padding: 58px 0 42px; }
.article-header .display { max-width: 980px; font-size: clamp(2.85rem, 6.4vw, 6rem); }
.article-deck { max-width: 780px; font-size: 1.28rem; color: #3d392f; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; font: 750 .78rem/1.5 ui-monospace, monospace; text-transform: uppercase; }
.article-feature { margin-bottom: 36px; border: var(--line); box-shadow: 9px 9px 0 var(--ink); }
.article-feature img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.article-body { font-family: Georgia, "Times New Roman", serif; font-size: 1.13rem; line-height: 1.78; }
.article-body > p:first-child { font-size: 1.28rem; line-height: 1.65; }
.article-body h2, .article-body h3 { font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: var(--ink); scroll-margin-top: 102px; }
.article-body h2 { margin: 2.5em 0 .65em; font-size: clamp(1.85rem, 3.5vw, 2.7rem); line-height: 1.08; letter-spacing: -.04em; }
.article-body h3 { margin: 1.8em 0 .5em; font-size: 1.35rem; }
.article-body p { margin: 0 0 1.15em; }
.article-body a { color: #4b22c9; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 1.45em; margin: 0 0 1.35em; }
.article-body li { margin: .45em 0; }
.article-body code { font: .9em ui-monospace, monospace; background: #ede9d9; padding: .12em .35em; border-radius: 4px; }
.article-sidebar { position: sticky; top: 105px; }
.toc { border: var(--line); background: #fff; padding: 20px; box-shadow: 5px 5px 0 var(--ink); }
.toc h2 { margin: 0 0 13px; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.toc li.h3 { padding-left: 13px; }
.toc a { font-size: .84rem; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--purple); text-decoration: underline; }
.taxonomy-box { margin-top: 18px; border: var(--line); background: var(--sun); padding: 18px; }
.taxonomy-box strong { display: block; margin-bottom: 8px; }
.taxonomy-box a { display: inline-block; margin: 3px 8px 3px 0; font-size: .82rem; font-weight: 850; }
.article-next { margin-top: 48px; padding: 28px; border: var(--line); background: var(--ink); color: #fff; }
.article-next h2 { margin-top: 0; }
.article-next a { color: var(--sun); }

.archive-note { max-width: 800px; margin-top: 20px; font-size: 1.1rem; color: #4a463c; }
.archive-count { display: inline-flex; margin-top: 20px; padding: 7px 11px; border: var(--line); background: #fff; font: 800 .75rem/1.2 ui-monospace, monospace; text-transform: uppercase; }

.contact-card { border: var(--line); background: #fff; padding: 36px; box-shadow: 10px 10px 0 var(--ink); }
.contact-email { display: inline-block; margin: 10px 0 22px; font: 950 clamp(1.65rem, 4vw, 3.3rem)/1 "Arial Black", Inter, sans-serif; letter-spacing: -.04em; color: var(--purple); text-underline-offset: 7px; }
.contact-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.contact-list li { padding: 13px 0; border-top: 1px solid #c9c4af; }

.cta-band { padding: 62px 0; background: linear-gradient(110deg, var(--pink), var(--purple), #006fff); color: #fff; border-block: 2px solid var(--ink); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { max-width: 760px; margin: 0; font: 950 clamp(2.2rem,5vw,4.5rem)/.98 "Arial Black", Inter, sans-serif; letter-spacing: -.055em; }

.site-footer { background: var(--ink); color: #fff; padding: 58px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; }
.footer-brand { font: 950 2.4rem/1 "Arial Black", Inter, sans-serif; letter-spacing: -.065em; }
.footer-copy { color: #bcb9af; max-width: 360px; }
.footer-col h2 { margin: 0 0 14px; font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; color: var(--sun); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: #fff; text-decoration: none; }
.footer-col a:hover { color: var(--sun); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 24px; border-top: 1px solid #444; color: #aaa79f; font-size: .85rem; }

@media (max-width: 980px) {
  .menu-button { display: grid; place-items: center; }
  .nav-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: var(--sun);
    border-bottom: var(--line);
  }
  .nav-wrap[data-open="true"] { display: flex; }
  .site-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 13px 6px; border-bottom: 1px solid rgba(17,17,17,.25); }
  .header-cta { text-align: center; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-art { max-width: 640px; }
  .card-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .article-shell { grid-template-columns: 1fr; }
  .article-sidebar { position: static; order: -1; }
  .toc ol { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .shell, .narrow { width: min(calc(100% - 24px), var(--shell)); }
  .section { padding: 66px 0; }
  .hero { padding: 54px 0 70px; }
  .hero-grid { gap: 38px; }
  .hero-art::before { left: -4px; top: 10px; }
  .display { font-size: clamp(2.85rem, 15vw, 4.8rem); }
  .display-small { font-size: clamp(2.45rem, 13vw, 4rem); }
  .section-topline, .cta-inner { align-items: flex-start; flex-direction: column; }
  .specimen-grid { display: grid; grid-template-columns: 1fr; }
  .specimen-card, .specimen-card:nth-child(1), .specimen-card:nth-child(5) { grid-column: auto; }
  .card-grid, .blog-grid, .process-grid, .deliverable-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: 1fr 1fr; }
  .logo-tile { min-height: 160px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .article-header { padding-top: 42px; }
  .article-body { font-size: 1.05rem; }
  .toc ol { grid-template-columns: 1fr; }
  .contact-card { padding: 24px; }
}
