@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #1b1c19;
  --deep-ink: #171815;
  --cream: #f3f0e5;
  --lime: #d7f54a;
  --muted: #c0c1b8;
  --line: #44453f;
  --display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif;
  --sans: "DM Sans", Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(1.25rem, 5.55vw, 6rem);
  --shell: 84rem;
  font-family: var(--sans);
  background: var(--ink);
  color: var(--cream);
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; }
.archive :focus-visible, .print-dialog :focus-visible { outline-color: var(--ink); }
.shell { width: min(var(--shell), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon, .star {
  display: inline-block;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 10; padding: .75rem 1rem; background: var(--cream); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

/* Masthead */
.site-header { position: relative; z-index: 3; background: var(--deep-ink); border-bottom: 1px solid #383a33; }
.header-inner { min-height: 5.1rem; display: flex; align-items: center; gap: clamp(1.6rem, 3.5vw, 3.75rem); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 8.35rem; height: auto; }
.site-nav { margin-left: auto; display: flex; gap: clamp(1.4rem, 2.6vw, 2.75rem); align-items: center; }
.site-nav a, .back-top { font-size: .875rem; font-weight: 500; }
.site-nav a { padding-block: .75rem; }
.site-nav a:hover, .back-top:hover { color: var(--lime); }
.header-print, .action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  min-height: 3.1rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .18s, color .18s, transform .18s;
}
.header-print { border: 1px solid #8b9270; color: var(--lime); padding: .63rem 1rem; min-height: 2.65rem; font-size: .85rem; gap: .9rem; }
.header-print .icon { width: 1rem; height: 1rem; }
.header-print:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.menu-toggle { display: none; }

/* A print pinned to the studio wall */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/press-wall.webp") center center / cover;
  opacity: .62;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .95fr);
  gap: clamp(1.75rem, 4vw, 5.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 3.1vw, 3.75rem) clamp(1.75rem, 2.35vw, 2.75rem);
}
.hero-copy { padding-block: .75rem 2.1rem; }
.eyebrow, .feature-index, .edition, .archive-spec {
  font: 600 .7rem/1.35 var(--mono);
  letter-spacing: .105em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--lime); }
.ink-line { width: 1.8rem; height: 3px; flex: none; background: currentColor; transform: skewX(-22deg); }
h1, h2, .card-label h3 { font-family: var(--display); font-weight: 900; }
h1, .archive h2, .manifesto h2 { text-transform: uppercase; }
h1 {
  margin: clamp(1.1rem, 1.6vw, 1.65rem) 0 clamp(1.45rem, 2.2vw, 2.15rem) -.045em;
  font-size: clamp(5.25rem, 10.6vw, 10.3rem);
  line-height: .82;
  letter-spacing: -.035em;
}
h1 span, h1 em { display: block; width: max-content; max-width: 100%; }
h1 em, .manifesto em { color: var(--lime); font-style: normal; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  h1 span, h1 em {
    background: var(--cream) url("assets/ink-wear.png");
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  h1 em { background-color: var(--lime); }
}
.hero-intro { max-width: 25.5em; color: #d4d3c9; font-size: clamp(1.02rem, 1.24vw, 1.22rem); line-height: 1.55; letter-spacing: -.012em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.3rem); margin-top: clamp(1.65rem, 2.4vw, 2.45rem); }
.hero-actions a { white-space: nowrap; }
.action { background: var(--lime); color: var(--deep-ink); padding: .95rem 1.25rem; font-size: .93rem; }
.action:hover { background: #e6ff75; transform: translateY(-2px); }
.action .icon { width: 1.16rem; height: 1.16rem; transition: transform .18s; }
.action:hover .icon { transform: translateX(2px); }
.text-link { display: inline-flex; align-items: center; gap: .7rem; padding-block: .35rem; border-bottom: 1px solid #8e8e82; color: var(--cream); font-size: .9rem; font-weight: 600; line-height: 1.25; }
.text-link:hover { color: var(--lime); border-color: var(--lime); }
.feature {
  --poster-width: clamp(14rem, 25.5vw, 23.75rem);
  width: min(100%, 29.75rem);
  justify-self: center;
}
.pinboard {
  display: grid;
  place-items: center;
  min-height: calc(var(--poster-width) * 1.25 + 3.65rem);
}
.poster-stack {
  width: var(--poster-width);
  aspect-ratio: 4 / 5;
  position: relative;
  isolation: isolate;
  transform: rotate(5deg);
}
.poster-stack::before, .poster-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.poster-stack::before {
  background: #d3d0bf url("assets/paper-grain.png");
  transform: translate(-2.7%, 1%) rotate(-9deg);
  box-shadow: 2px 7px 10px #0005;
}
.poster-stack::after { background: #9d9b80; transform: translate(1px, 1.5px); }
.pinned-poster {
  display: block;
  width: 100%;
  height: 100%;
  background: #d6e945;
  box-shadow: 2px 5px 9px #0004;
  cursor: zoom-in;
}
.pinned-poster img { width: 100%; height: 100%; object-fit: cover; }
.masking-tape {
  position: absolute;
  z-index: 1;
  width: 32%;
  height: 6.6%;
  left: 36.5%;
  top: -2.8%;
  transform: rotate(-12deg);
  pointer-events: none;
  background: #d2c6a5 url("assets/paper-grain.png");
  opacity: .9;
  box-shadow: inset 0 -2px 2px #94896d59;
  clip-path: polygon(1% 3%, 98% 0, 97% 15%, 100% 20%, 98.5% 32%, 100% 41%, 98% 52%, 100% 65%, 98% 73%, 100% 87%, 99% 99%, 1% 100%, 2% 88%, 0 76%, 1.5% 62%, 0 55%, 2% 42%, 0 27%, 2% 17%);
}
.feature-caption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .45rem; border-top: 1px solid #5a5b50; padding-top: .72rem; }
.feature-info { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.feature-index { color: var(--lime); font-size: .65rem; letter-spacing: .075em; white-space: nowrap; }
.feature-title { padding-left: .92rem; border-left: 1px solid #6a6b5f; font-size: .87rem; font-weight: 600; }
.feature-controls { display: flex; gap: .45rem; }
.arrow-button, .card-arrow, .dialog-close {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #65665b;
  background: transparent;
  border-radius: 50%;
  padding: 0;
}
.arrow-button { position: relative; width: 2.15rem; height: 2.15rem; transition: background-color .18s, border-color .18s; }
.arrow-button .icon { width: 1rem; height: 1rem; }
.previous .icon { transform: rotate(180deg); }
.arrow-button:hover, .arrow-button:active { color: var(--deep-ink); background: var(--lime); border-color: var(--lime); }

/* The narrow strip is a repeat of the printing instructions. */
.print-strip { overflow: hidden; background: var(--lime); color: var(--deep-ink); border-block: 1px solid var(--deep-ink); }
.strip-track { width: max-content; min-width: 100%; display: flex; justify-content: space-around; padding-left: 1.6rem; }
.strip-group { display: flex; align-items: center; gap: clamp(1.8rem, 3.3vw, 3.6rem); padding-right: clamp(1.8rem, 3.3vw, 3.6rem); height: 2.95rem; white-space: nowrap; }
.strip-group span { font-family: var(--display); font-size: 1.14rem; font-weight: 900; letter-spacing: .065em; text-transform: uppercase; }
.star { width: .95rem; height: .95rem; stroke-width: 3; }

/* Print archive */
.archive { color-scheme: light; background: var(--cream); color: var(--ink); padding-block: clamp(3.6rem, 5.5vw, 6rem) clamp(4.5rem, 6.3vw, 7rem); }
.archive-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.archive h2, .manifesto h2 { font-size: clamp(3.8rem, 5.5vw, 6rem); line-height: .89; letter-spacing: -.035em; }
.archive h2 span { color: #717d2b; }
.archive-spec { color: #515347; font-size: .65rem; white-space: nowrap; }
.archive-spec span { padding-inline: .45rem; color: #77796e; }
.print-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.1vw, 2.3rem); }
.print-card { display: block; }
[data-stock="lime"] { --mat: #d2d3bd; --turn: -4deg; }
[data-stock="red"] { --mat: #d8c6b4; --turn: 3deg; }
[data-stock="cream"] { --mat: #bec5b6; --turn: -3deg; }
.card-mat, .dialog-art {
  background-color: var(--mat);
  background-image: url("assets/paper-grain.png");
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.card-mat { aspect-ratio: 1.21; }
.card-mat img { width: 53%; height: auto; box-shadow: 2px 4px 6px #27291f45; transform: rotate(var(--turn)); transition: transform .3s, box-shadow .3s; }
.print-card:hover .card-mat img, .print-card:focus-visible .card-mat img { transform: rotate(0deg) scale(1.04); box-shadow: 2px 8px 9px #27291f3a; }
.card-label { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding-top: 1rem; }
.edition { display: block; color: #535548; font-size: .63rem; }
.card-label h3 { margin-top: .22rem; font-size: clamp(1.65rem, 2.3vw, 2.3rem); line-height: 1; letter-spacing: -.014em; }
.card-arrow { width: 2.1rem; height: 2.1rem; border-color: #87897c; color: var(--ink); transition: background .18s, border-color .18s; }
.card-arrow .icon { width: 1rem; height: 1rem; }
.print-card:hover .card-arrow { border-color: var(--ink); background: var(--lime); }

/* Manifesto and colophon */
.manifesto { padding-block: clamp(4rem, 7.5vw, 8rem); background-color: var(--ink); background-image: linear-gradient(#1b1c19df, #1b1c19df), url("assets/paper-grain.png"); }
.manifesto-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7.3vw, 8.5rem); align-items: center; }
.manifesto h2 { margin-top: 1.35rem; font-size: clamp(4rem, 7.4vw, 7.4rem); line-height: .88; }
.manifesto-copy { max-width: 32rem; }
.manifesto-copy p { font-size: clamp(1.04rem, 1.26vw, 1.22rem); line-height: 1.6; color: #d4d3c9; }
.manifesto-copy p + p { margin-top: 1rem; }
.manifesto-copy .text-link { margin-top: 1.25rem; border-color: #8b9764; color: var(--lime); }
.manifesto-copy .icon { width: 1rem; height: 1rem; }
footer { border-top: 1px solid var(--line); background: var(--deep-ink); }
.footer-inner { display: flex; align-items: center; gap: 2rem; min-height: 6rem; }
footer .brand img { width: 6.9rem; }
.copyright { margin-left: auto; color: #a9aaa1; font: .69rem/1.4 var(--mono); }
.back-top { display: inline-flex; align-items: center; gap: .6rem; }
.back-top .icon { transform: rotate(-90deg); width: .95rem; height: .95rem; }

/* Individual print preview */
html:has(.print-dialog[open]) { overflow: hidden; }
.print-dialog { color-scheme: light; width: min(49rem, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 0; color: var(--ink); background: var(--cream); overscroll-behavior: contain; }
.print-dialog::backdrop { background: #080a08c9; }
.dialog-layout { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.dialog-art { min-height: 28rem; padding: 2rem; }
.dialog-art img { width: 88%; height: auto; transform: rotate(-3deg); box-shadow: 3px 7px 9px #26271d40; }
.dialog-copy { align-self: center; padding: 3.75rem clamp(1.5rem, 3vw, 2.75rem) 2.75rem; }
.dialog-copy h2 { font: 900 clamp(3.3rem, 5.2vw, 4.5rem)/.9 var(--display); text-transform: uppercase; letter-spacing: -.04em; margin: .65rem 0 1.3rem; }
.dialog-copy > p:not(.edition) { font-size: .94rem; line-height: 1.54; }
.print-details { margin: 1.4rem 0; font-size: .77rem; padding-block: .65rem; border-block: 1px solid #b9bbac; }
.print-details div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.print-details dt { color: #525449; }
.print-details dd { font-weight: 600; }
.dialog-copy .action { width: 100%; justify-content: space-between; }
.dialog-copy .action:hover .icon { transform: translateY(2px); }
.dialog-copy > .print-tip:not(.edition) { font-size: .74rem; margin-top: .8rem; color: #58594d; }
.dialog-close { position: absolute; top: .8rem; right: .8rem; background: var(--cream); border-color: #8e9083; width: 2.3rem; height: 2.3rem; }
.dialog-close .icon { width: 1rem; height: 1rem; }
.dialog-close:hover { background: var(--ink); color: var(--cream); }

@media (max-width: 1020px) {
  :root { --gutter: clamp(1.5rem, 4.6vw, 3.5rem); }
  .hero-inner { gap: 2rem; }
  .hero-copy { padding-bottom: 1.25rem; }
  .feature { --poster-width: clamp(13.5rem, 27.5vw, 17.5rem); }
  .eyebrow { font-size: .63rem; }
  .hero-intro { max-width: 24rem; }
  .hero-actions { gap: 1.2rem; }
  .action { padding-inline: 1rem; }
  .feature-info { gap: .55rem; }
  .feature-title { padding-left: .55rem; }
  .archive-heading { margin-bottom: 1.6rem; }
}

@media (max-width: 740px) {
  :root { --gutter: clamp(1.25rem, 5.6vw, 2.5rem); scroll-padding-top: .75rem; }
  .header-inner { min-height: 4.3rem; gap: 1rem; flex-wrap: wrap; }
  .has-menu .header-inner { flex-wrap: nowrap; }
  .brand img { width: 7.2rem; }
  .header-print { margin-left: auto; min-height: 2.5rem; gap: .6rem; }
  .has-menu .menu-toggle { position: relative; display: grid; place-content: center; gap: 5px; width: 2.5rem; height: 2.5rem; border: 0; background: none; }
  .menu-toggle span { display: block; width: 1.3rem; height: 2px; background: var(--cream); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { order: 2; width: 100%; margin: 0; gap: 1.7rem; }
  .has-menu .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 1; padding: .6rem var(--gutter) 1rem; background: var(--deep-ink); border-bottom: 1px solid var(--line); box-shadow: 0 6px 8px #0002; }
  .has-menu .site-nav[data-open="true"] { display: flex; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-block: clamp(2.65rem, 7vw, 4rem) 1.65rem; }
  .hero-copy { padding: 0; }
  h1 { margin-block: 1.05rem 1.25rem; font-size: clamp(3.75rem, 20vw, 7.75rem); }
  .hero-intro { font-size: 1.02rem; max-width: 27rem; }
  .hero-actions { margin-top: 1.35rem; gap: .6rem 1.2rem; }
  .hero-actions .action { gap: .65rem; }
  .feature { --poster-width: clamp(13.25rem, 63vw, 19.5rem); width: min(100%, 27rem); padding-top: .5rem; }
  .pinboard { min-height: calc(var(--poster-width) * 1.25 + 2.9rem); }
  .feature-caption { margin-top: .25rem; padding-top: .55rem; }
  .arrow-button { width: 2.4rem; height: 2.4rem; }
  .feature-controls { gap: .55rem; }
  .strip-group { height: 2.55rem; }
  .strip-group span { font-size: 1.02rem; }
  .strip-track { padding-left: .8rem; }
  .archive { padding-block: 3rem 3.5rem; }
  .archive-heading { flex-wrap: wrap; gap: .65rem; }
  .archive h2 { font-size: clamp(2.45rem, 11.3vw, 4.45rem); }
  .print-grid { grid-template-columns: minmax(0, 1fr); gap: 2.1rem; }
  .card-mat { aspect-ratio: 1.3; }
  .card-mat img { width: 51%; }
  .card-label h3 { font-size: 1.9rem; }
  .manifesto-inner { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .manifesto h2 { margin-top: 1rem; }
  .footer-inner { min-height: 5.25rem; gap: 1.25rem; }
  footer .brand img { width: 5.8rem; }
  .copyright { font-size: .6rem; }
  .back-top { font-size: .78rem; }
}

@media (max-width: 550px) {
  .hero::before { background-position: 67% center; opacity: .53; }
  .archive-heading { flex-direction: column; }
  .print-dialog { width: min(26rem, calc(100% - 1.4rem)); max-height: calc(100dvh - 1.4rem); }
  .dialog-layout { grid-template-columns: minmax(0, 1fr); }
  .dialog-art { min-height: 0; padding: 1.5rem; }
  .dialog-art img { width: auto; height: clamp(7rem, 24dvh, 15rem); }
  .dialog-copy { padding: 1.5rem; }
  .dialog-copy h2 { font-size: 2.9rem; margin-bottom: .7rem; }
  .print-details { margin-block: 1rem; }
}

@media (max-width: 375px) {
  .header-inner { gap: .55rem; }
  .header-inner .brand img { width: 6.1rem; }
  .header-print { padding-inline: .66rem; gap: .42rem; font-size: .78rem; }
  .hero-actions { gap: 1rem; }
  .hero-actions a { font-size: .83rem; }
  .hero-actions .action { gap: .5rem; }
  .hero-intro { font-size: .98rem; }
  .footer-inner { flex-wrap: wrap; padding-block: 1.25rem; gap: .75rem; }
}

@media (pointer: coarse) {
  .arrow-button, .dialog-close, .menu-toggle, .header-print { min-width: 44px; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

@media (forced-colors: active) {
  h1 span, h1 em { background: none; color: CanvasText; }
  .action, .header-print, .menu-toggle { border: 1px solid ButtonText; }
  .menu-toggle span, .ink-line { background: ButtonText; }
}
