/* SUPER DUPER CORP — site styles. Bold, flat, loud. */
:root {
  --paper: #f2efe6;
  --ink: #0d0d0d;
  --mute: #6b675e;
  --line: #0d0d0d;
  --red: #ff3b1f;
  --yellow: #ffd400;
  --blue: #2b3bff;
  --green: #00c46a;
  --gut: clamp(16px, 3vw, 40px);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.5 var(--font); font-variation-settings: "wdth" 100;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

/* type */
.h-mega, .h-xl, .hero__word, .foot__big, .next__t, .poster__t, .card__title, .cat__l {
  font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -0.02em; line-height: .88; text-transform: uppercase;
}
.h-mega { font-size: clamp(56px, 13vw, 210px); margin: 0; }
.h-mega sup { font: 700 .16em var(--mono); vertical-align: top; margin-left: .3em; letter-spacing: 0; }
.h-xl { font-size: clamp(34px, 6vw, 84px); margin: 0 0 .5em; }
.kicker { font: 700 13px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.prose p { margin: 0 0 1em; max-width: 64ch; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* buttons */
.btn {
  display: inline-block; border: 3px solid var(--ink); background: var(--paper); color: var(--ink);
  font: 700 14px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em;
  padding: 14px 18px; text-decoration: none; cursor: pointer; box-shadow: 5px 5px 0 var(--ink);
  transition: transform .12s, box-shadow .12s, background .12s;
}
.btn:hover { background: var(--yellow); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn--big { font-size: 17px; padding: 18px 26px; }

/* top bar */
.bar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gut); background: var(--paper); border-bottom: 3px solid var(--ink);
}
.bar__mark { display: flex; align-items: center; gap: 10px; font: 900 18px/1 var(--font); font-variation-settings: "wdth" 125; text-decoration: none; letter-spacing: -.01em; }
.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--red); border: 3px solid var(--ink); flex: none; }
.bar__nav { display: flex; gap: 6px; }
.bar__nav a {
  font: 700 14px/1 var(--mono); text-transform: uppercase; text-decoration: none; padding: 10px 14px; border: 3px solid transparent;
}
.bar__nav a:hover { border-color: var(--ink); }
.bar__nav a[aria-current] { background: var(--ink); color: var(--paper); }
.bar__toggle { display: none; }

/* hero */
.hero { padding: var(--gut); display: grid; grid-template-columns: 1fr; gap: 24px; border-bottom: 3px solid var(--ink); }
.hero__word { margin: 0; font-size: clamp(64px, 19vw, 330px); line-height: .8; display: flex; flex-direction: column; }
.hero__word span:nth-child(2) { color: var(--paper); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.hero__word span:nth-child(3) { display: flex; align-items: flex-end; gap: .06em; }
.hero__dot { display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--red); border: .035em solid var(--ink); margin-bottom: .04em; animation: pop 2.6s ease-in-out infinite; }
@keyframes pop { 0%, 100% { transform: scale(1); background: var(--red); } 33% { transform: scale(1.15); background: var(--yellow); } 66% { background: var(--blue); } }
.hero__side { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hero__lede { font-size: clamp(20px, 2.4vw, 32px); line-height: 1.2; font-weight: 600; max-width: 30ch; margin: 0; }
.hero__stat { font: 400 14px/1.6 var(--mono); text-transform: uppercase; margin: 0; }
.hero__stat b { font-size: 1.3em; }

/* ticker */
.ticker { overflow: hidden; background: var(--ink); color: var(--paper); border-bottom: 3px solid var(--ink); }
.ticker__track { display: flex; width: max-content; gap: 28px; padding: 16px 0; animation: tick 40s linear infinite; font: 900 clamp(22px, 3vw, 40px)/1 var(--font); font-variation-settings: "wdth" 125; text-transform: uppercase; }
.ticker__track b { color: var(--yellow); }
@keyframes tick { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(48px, 8vw, 110px) var(--gut); border-bottom: 3px solid var(--ink); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section__head .h-xl { margin: 0; }
.pagehead { padding: clamp(40px, 6vw, 90px) var(--gut) 32px; }
.pagehead__lede { font-size: clamp(19px, 2vw, 26px); font-weight: 600; max-width: 42ch; margin: 24px 0 0; line-height: 1.25; }

/* cards */
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border: 3px solid var(--ink); transition: transform .15s, box-shadow .15s; min-width: 0; }
.card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--cc, var(--ink)); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 3px solid var(--ink); background: var(--cc); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__meta { padding: 14px 16px 16px; display: grid; gap: 4px; }
.card__title { font-size: clamp(20px, 2vw, 28px); line-height: .95; }
.card__sub, .card__cat, .card__yr { font: 400 13px/1.3 var(--mono); text-transform: uppercase; color: var(--mute); }
.card__cat, .card__yr { display: none; }

.feature-grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(6, minmax(0, 1fr)); }
.feature-grid .card { grid-column: span 2; }
.feature-grid .card--f0 { grid-column: span 4; grid-row: span 2; }
.feature-grid .card--f0 .card__media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.feature-grid .card--f0 .card__title { font-size: clamp(28px, 4vw, 56px); }
.feature-grid .card--f3, .feature-grid .card--f4 { grid-column: span 3; }

/* poster fallback cover */
.poster {
  width: 100%; height: 100%; min-height: 100%; background: var(--pc); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between; padding: 18px; position: relative; overflow: hidden;
  container-type: inline-size;
}
.poster--ink { color: var(--ink); }
.poster::after { content: ""; position: absolute; right: -12%; bottom: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 10cqw solid currentColor; opacity: .18; }
.poster__t { font-size: clamp(26px, 13cqw, 140px); line-height: .85; word-break: break-word; hyphens: auto; position: relative; z-index: 1; }
.poster__m { font: 700 12px/1 var(--mono); text-transform: uppercase; position: relative; z-index: 1; }
.poster--hero { aspect-ratio: 16 / 9; border: 3px solid var(--ink); }

/* categories */
.cats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 3px solid var(--ink); }
.cat { padding: 24px 20px 28px; text-decoration: none; border-right: 3px solid var(--ink); display: flex; flex-direction: column; gap: 10px; min-height: 280px; transition: background .15s; }
.cat:last-child { border-right: 0; }
.cat:hover { background: var(--cc); }
.cat__n { font: 700 14px var(--mono); }
.cat__l { font-size: clamp(24px, 2.6vw, 42px); margin-top: auto; overflow-wrap: anywhere; }
.cat__d { font-size: 15px; line-height: 1.4; max-width: 30ch; }

/* clients */
.clients__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.clients__list li { font: 800 clamp(22px, 3vw, 40px)/1.15 var(--font); font-variation-settings: "wdth" 110; text-transform: uppercase; }
.clients__list li:not(:last-child)::after { content: "/"; color: var(--red); margin: 0 .35em; }

/* filters */
.filters { position: sticky; top: 63px; z-index: 10; background: var(--paper); padding: 12px var(--gut); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); display: grid; gap: 10px; }
.filters__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
  font: 700 13px/1 var(--mono); text-transform: uppercase; border: 3px solid var(--ink); background: var(--paper); padding: 10px 14px; cursor: pointer; color: var(--ink);
}
.chip:hover { background: var(--cc, var(--yellow)); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--cc, var(--yellow)); }
.select { font: 400 14px var(--mono); border: 3px solid var(--ink); background: var(--paper); padding: 9px 12px; color: var(--ink); min-width: 0; border-radius: 0; }
input.select { flex: 1 1 200px; }
.viewtoggle { display: flex; margin-left: auto; }
.viewtoggle button { font: 700 13px/1 var(--mono); text-transform: uppercase; border: 3px solid var(--ink); background: var(--paper); padding: 10px 12px; cursor: pointer; color: var(--ink); }
.viewtoggle button + button { border-left: 0; }
.viewtoggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* works grid / archive list */
.works { padding: 32px var(--gut) 80px; display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.works__year { display: none; }
.works__empty { grid-column: 1 / -1; font: 700 18px var(--mono); }
.works[data-view="list"] { display: block; padding-top: 0; }
.works[data-view="list"] .works__year {
  display: block; font: 900 clamp(40px, 7vw, 100px)/1 var(--font); font-variation-settings: "wdth" 125; padding: 36px 0 8px; border-bottom: 3px solid var(--ink);
}
.works[data-view="list"] .card { flex-direction: row; align-items: center; border: 0; border-bottom: 1px solid var(--ink); background: none; }
.works[data-view="list"] .card:hover { transform: none; box-shadow: none; background: var(--cc); }
.works[data-view="list"] .card__media { width: 96px; flex: none; aspect-ratio: 1; border: 0; margin: 8px 0; }
.works[data-view="list"] .card__media .poster { padding: 6px; }
.works[data-view="list"] .poster__t, .works[data-view="list"] .poster__m, .works[data-view="list"] .poster::after { display: none; }
.works[data-view="list"] .card__meta { flex: 1; grid-template-columns: 2fr 1.4fr 1fr 70px; align-items: center; gap: 16px; }
.works[data-view="list"] .card__title { font-size: clamp(18px, 2vw, 26px); }
.works[data-view="list"] .card__cat, .works[data-view="list"] .card__yr { display: block; color: var(--ink); }
.works[data-view="list"] .card:hover .card__sub, .works[data-view="list"] .card:hover .card__cat { color: var(--ink); }
.card[hidden], .works__year[hidden] { display: none !important; }

/* project page */
.project { padding: 0 var(--gut) 60px; }
.project__head { padding: clamp(32px, 5vw, 80px) 0 28px; }
.project__cat { display: inline-block; font: 700 13px/1 var(--mono); text-transform: uppercase; background: var(--cc); color: var(--ink); border: 3px solid var(--ink); padding: 8px 10px; text-decoration: none; margin-bottom: 20px; }
.project__title { font-size: clamp(44px, 10vw, 170px); overflow-wrap: anywhere; }
.project__summary { font-size: clamp(20px, 2.4vw, 32px); font-weight: 600; line-height: 1.2; max-width: 34ch; margin: 24px 0 0; }
.project__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); margin: 0 0 32px; }
.project__facts div { padding: 14px 14px 14px 0; }
.project__facts dt { font: 700 12px var(--mono); text-transform: uppercase; color: var(--mute); }
.project__facts dd { margin: 4px 0 0; font-weight: 700; }
.project__hero img { width: 100%; border: 3px solid var(--ink); }
.project__video { aspect-ratio: 16 / 9; border: 3px solid var(--ink); margin-top: 24px; background: var(--ink); }
.project__video iframe { width: 100%; height: 100%; border: 0; }
.project__body { font-size: clamp(18px, 1.6vw, 22px); padding: 48px 0 16px; max-width: 760px; }
.project__credits { padding-top: 32px; font: 400 14px/1.7 var(--mono); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: 32px; }
.gallery__item { margin: 0; }
.gallery__item.is-wide { grid-column: 1 / -1; }
.gallery__item img, .gallery__item video { width: 100%; border: 3px solid var(--ink); cursor: zoom-in; }
.gallery figcaption { font: 400 13px/1.4 var(--mono); margin-top: 8px; }
.draft-flag { background: var(--yellow); border: 3px solid var(--ink); padding: 10px 14px; font: 700 13px var(--mono); margin: 20px 0 0; display: inline-block; }
.next { display: block; padding: clamp(40px, 7vw, 100px) var(--gut); background: var(--cc); border-top: 3px solid var(--ink); text-decoration: none; }
.next__t { font-size: clamp(36px, 8vw, 130px); display: block; transition: transform .2s; }
.next:hover .next__t { transform: translateX(16px); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(13,13,13,.94); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lb img { max-height: 92vh; width: auto; border: 3px solid var(--paper); }
.lb button { position: absolute; top: 14px; right: 14px; }

/* about */
.about { padding: 0 var(--gut) 64px; }
.about__statement { font: 800 clamp(26px, 4vw, 58px)/1.08 var(--font); font-variation-settings: "wdth" 100; max-width: 22ch; margin: 0 0 64px; letter-spacing: -.01em; }
.about__founder { display: grid; grid-template-columns: minmax(200px, 360px) 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.about__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--red); }
.about__photo--empty { background: var(--yellow); display: grid; place-items: center; font: 900 160px/1 var(--font); font-variation-settings: "wdth" 125; }
.services { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.services li { display: grid; grid-template-columns: 60px 1fr 1.3fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--ink); align-items: baseline; }
.services__n { font: 700 14px var(--mono); }
.services__t { font: 900 clamp(22px, 2.6vw, 36px)/1 var(--font); font-variation-settings: "wdth" 125; text-transform: uppercase; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ink); font-size: 18px; }
.timeline__y { font: 700 16px var(--mono); }

/* contact */
.contact { padding: 16px var(--gut) 80px; display: grid; grid-template-columns: 2fr 1fr; gap: clamp(24px, 5vw, 80px); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font: 700 13px var(--mono); text-transform: uppercase; }
.form label span { font-weight: 400; color: var(--mute); }
.form input, .form select, .form textarea { font: 400 18px/1.4 var(--font); border: 3px solid var(--ink); background: #fff; padding: 12px 14px; border-radius: 0; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; box-shadow: 5px 5px 0 var(--blue); }
.form button { justify-self: start; }
.form__err { background: var(--red); color: var(--paper); padding: 12px 14px; border: 3px solid var(--ink); margin: 0; font-weight: 700; }
.contact__done { background: var(--green); border: 3px solid var(--ink); padding: 32px; box-shadow: 10px 10px 0 var(--ink); }
.contact__done .h-xl { margin: 0 0 12px; }
.contact__mail { font: 800 clamp(18px, 2vw, 26px)/1.2 var(--font); word-break: break-all; }

/* footer */
.foot { background: var(--ink); color: var(--paper); padding: clamp(48px, 7vw, 100px) var(--gut) 28px; }
.foot__cta .kicker { color: var(--yellow); }
.foot__big { display: inline-block; font-size: clamp(48px, 11vw, 190px); text-decoration: none; transition: color .15s; }
.foot__big:hover { color: var(--yellow); }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid #444; font: 400 13px/1.7 var(--mono); }
.foot__cols a { text-decoration: none; } .foot__cols a:hover { color: var(--yellow); }
.foot__legal { color: #9a968c; }

/* responsive */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid .card, .feature-grid .card--f3, .feature-grid .card--f4 { grid-column: span 1; }
  .feature-grid .card--f0 { grid-column: span 2; grid-row: auto; }
  .cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { min-height: 200px; border-bottom: 3px solid var(--ink); }
  .cat:nth-child(2n) { border-right: 0; }
  .cat:nth-last-child(-n+2) { border-bottom: 0; }
  .about__founder, .contact { grid-template-columns: 1fr; }
  .about__founder > :first-child { max-width: 320px; }
  .services li { grid-template-columns: 44px 1fr; }
  .services__d { grid-column: 2; }
  .works[data-view="list"] .card__meta { grid-template-columns: 1fr auto; gap: 2px 12px; }
  .works[data-view="list"] .card__cat { display: none; }
  .foot__cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bar__toggle { display: block; font: 700 13px/1 var(--mono); text-transform: uppercase; border: 3px solid var(--ink); background: var(--paper); padding: 10px 12px; color: var(--ink); }
  .bar__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--paper); border-bottom: 3px solid var(--ink); padding: 8px var(--gut) 16px; }
  .bar__nav.is-open { display: flex; }
  .bar__nav a { font-size: 22px; padding: 14px 4px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid .card--f0 { grid-column: auto; }
  .cats__grid { grid-template-columns: 1fr; }
  .cat { border-right: 0 !important; border-bottom: 3px solid var(--ink) !important; min-height: 0; }
  .cat:last-child { border-bottom: 0 !important; }
  .filters { top: 61px; position: static; }
  .viewtoggle { margin-left: 0; }
  .gallery { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .works[data-view="list"] .card__media { width: 64px; }
  .timeline li { grid-template-columns: 80px 1fr; }
  .hero__word span:nth-child(2) { -webkit-text-stroke-width: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
