/* Ali Qureshi: navy, warm paper and pixel details. No build step. */
:root {
  --bg: #000;
  --frame: #07182d;
  --cream: #efe3c5;
  --body: #b6c4ce;
  --muted: #8fa7b9;
  --line: #294156;
  --yellow: #f5c518;
  --ink: #07182d;
  --gold: #d4a044;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Doto", monospace;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0;
  min-height: 100svh;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
p {
  color: var(--body);
  text-wrap: pretty;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 5px;
}
::selection {
  background: var(--yellow);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 24px;
  top: -80px;
  z-index: 100;
  background: var(--yellow);
  color: var(--ink);
  padding: 12px 18px;
}
.skip-link:focus {
  top: 24px;
}
.frame {
  margin: 14px;
  min-height: calc(100svh - 28px);
  padding: 30px 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: clip;
  background: var(--frame);
  border: 1px solid var(--line);
  border-radius: 28px;
}
.frame--texture {
  background-image: url("/assets/pixel-texture.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  flex-shrink: 0;
}
.wordmark {
  position: absolute;
  left: 0;
  font: 900 22px/28px var(--display);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pill {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border: 1px solid #222;
  border-radius: 999px;
  background: #111;
  color: #a6a6a6;
}
.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  min-height: 36px;
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
  border-radius: 999px;
  transition:
    opacity 0.2s,
    background 0.2s;
}
.nav-link:hover {
  background: #252525;
  color: #fff;
}
.nav-link[aria-current="page"]:not(.nav-cta) {
  background: #262626;
  color: #fff;
}
.nav-link.nav-cta {
  background: var(--yellow);
  color: #090909;
  font-weight: 500;
}
.nav-cta:hover {
  opacity: 0.85;
}
.site-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 13px;
  line-height: 20px;
  color: var(--body);
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
}
.social-icon svg {
  width: 20px;
  height: 20px;
}
.social-icon:hover {
  color: var(--cream);
}
.home-main {
  width: 100%;
  max-width: 780px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
}
.home-copy {
  font-size: 24px;
  line-height: 38px;
  letter-spacing: -0.015em;
}
.home-copy p + p {
  margin-top: 28px;
}
.home-copy .home-intro {
  font-size: 30px;
  line-height: 44px;
  font-weight: 600;
  color: var(--cream);
}
.face {
  display: inline-block;
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 9px;
  vertical-align: middle;
  margin: 0 3px 3px;
}
.brand {
  display: inline;
  color: var(--cream);
  font-weight: 600;
  white-space: nowrap;
  vertical-align: baseline;
}
.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  background: var(--yellow);
  border-radius: 5px;
  vertical-align: middle;
  margin-right: 7px;
}
.tile svg {
  width: 100%;
  height: 100%;
}
.strong {
  font-weight: 600;
  color: var(--cream);
}
.text-link {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s;
}
.text-link:hover {
  text-decoration-color: currentColor;
}
.display-title {
  font: 700 42px/50px var(--display);
  letter-spacing: 0.02em;
  color: var(--cream);
}
.section-title {
  font: 700 28px/38px var(--display);
  letter-spacing: 0.02em;
  color: var(--cream);
}
.eyebrow,
.book-number {
  font: 700 13px/20px var(--display);
  letter-spacing: 0.02em;
}
.eyebrow {
  color: var(--muted);
}
.page-main {
  width: 100%;
  max-width: 1000px;
  padding: 72px 0 52px;
}
.page-lead {
  max-width: 800px;
  font-size: 24px;
  line-height: 34px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.page-intro {
  font-size: 18px;
  line-height: 28px;
  max-width: 700px;
}
.consulting-main > .page-lead {
  margin-top: 22px;
}
.consulting-main > .page-intro {
  margin-top: 18px;
}
.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 34px 0 44px;
}
.book-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 420px;
  gap: 22px;
  border-radius: 2px;
  border-left: 6px solid;
}
.book-card--navy {
  background: #102f50;
  color: var(--cream);
  border-left-color: #081c32;
}
.book-card--gold {
  background: var(--gold);
  color: var(--ink);
  border-left-color: #a97c2f;
}
.book-card--cream {
  background: var(--cream);
  color: var(--ink);
  border-left-color: #c1b290;
}
.book-card h2 {
  font-size: 22px;
  line-height: 30px;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.book-card p {
  font-size: 16px;
  line-height: 25px;
}
.book-card--gold p,
.book-card--cream p {
  color: var(--ink);
}
.pixel-icon {
  object-fit: contain;
  image-rendering: pixelated;
  max-width: 100%;
  height: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 2px;
  background: var(--yellow);
  color: #090909;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-align: center;
  transition:
    opacity 0.18s,
    transform 0.18s ease-out;
}
.btn:hover {
  opacity: 0.85;
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.btn--block {
  width: 100%;
}
.workshop-route {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.workshop-route p {
  font-size: 16px;
  line-height: 26px;
}
.contact-main {
  width: 100%;
  max-width: 600px;
  padding: 72px 0 56px;
}
.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.title-row img {
  object-fit: contain;
  image-rendering: pixelated;
}
.contact-main > .page-intro {
  margin-top: 22px;
  font-size: 16px;
  line-height: 26px;
}
.contact-main .text-link {
  text-decoration-color: var(--line);
  color: var(--cream);
}
.contact-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-margin-top: 24px;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.field {
  width: 100%;
  height: 52px;
  min-width: 0;
  padding: 0 14px;
  background: #081626;
  border: 1px solid #41566d;
  border-radius: 2px;
  font-size: 15px;
  line-height: 22px;
  color: var(--cream);
  outline: none;
}
.field::placeholder {
  color: #a6b2bd;
}
.field:focus {
  border-color: var(--cream);
  outline: 2px solid transparent;
}
textarea.field {
  height: 120px;
  min-height: 120px;
  padding: 14px;
  resize: vertical;
}
.form-note {
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
}
.form-status {
  font-size: 14px;
  line-height: 23px;
  white-space: pre-line;
}
.form-status:empty {
  display: none;
}
.form-status a {
  text-decoration: underline;
}
.contact-questions {
  margin-top: 56px;
}
.contact-questions > .page-intro {
  margin: 10px 0 20px;
  font-size: 16px;
  line-height: 26px;
}
.question {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.question:last-child {
  border-bottom: 1px solid var(--line);
}
.question summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  line-height: 28px;
  color: var(--cream);
  font-weight: 500;
}
.question summary::-webkit-details-marker {
  display: none;
}
.question summary::after {
  content: "+";
  color: var(--muted);
  flex-shrink: 0;
}
.question[open] summary::after {
  content: "−";
}
.question p {
  margin-top: 12px;
  font-size: 17px;
  line-height: 28px;
  max-width: 850px;
}
.contact-questions .question summary {
  font-size: 15px;
  line-height: 24px;
}
.contact-questions .question p {
  font-size: 15px;
  line-height: 25px;
}
.workshop-main {
  width: 100%;
  max-width: 1000px;
  padding: 72px 0 0;
}
.workshop-hero {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 350px);
  gap: 50px;
  align-items: start;
  padding-bottom: 64px;
}
.workshop-promise {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.workshop-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 120px;
}
.workshop-heading .pixel-icon {
  width: 184px;
  height: 120px;
}
.workshop-promise > p:not(.page-lead) {
  font-size: 18px;
  line-height: 28px;
}
.workshop-promise > p.audience {
  font-size: 13px;
  line-height: 21px;
  color: var(--muted);
}
.ticket {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px;
  border-radius: 2px;
  border-left: 6px solid #c1b290;
}
.ticket .eyebrow,
.ticket .section-title {
  color: var(--ink);
}
.ticket p {
  color: #334a5c;
  font-size: 16px;
  line-height: 26px;
}
.ticket .section-title {
  font-size: 27px;
  line-height: 35px;
}
.ticket-date {
  font-size: 16px;
  line-height: 25px;
  border-block: 1px solid #c1b290;
  padding: 16px 0;
  font-weight: 500;
}
.small-copy,
.ticket p.small-copy {
  font-size: 13px;
  line-height: 21px;
}
.workshop-section {
  border-top: 1px solid var(--line);
  padding: 56px 0;
}
.workshop-section > .section-title {
  margin-bottom: 24px;
}
.workshop-section > p {
  font-size: 19px;
  line-height: 30px;
  margin: 20px 0 24px;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.section-heading .eyebrow {
  font-size: 11px;
}
.brain-demo {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: #0b223b;
  border: 1px solid var(--line);
}
.brain-context {
  padding: 24px;
  background: #102f50;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid var(--line);
}
.brain-context .eyebrow {
  color: var(--cream);
}
.brain-context ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 24px;
  color: var(--body);
}
.brain-context li::before {
  content: "▤";
  color: var(--muted);
  margin-right: 10px;
}
.brain-task {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.brain-task h3 {
  font-size: 24px;
  line-height: 34px;
  font-weight: 500;
}
.brain-output {
  padding: 18px;
  border-left: 2px solid var(--yellow);
  background: var(--frame);
}
.brain-output strong {
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
}
.brain-output p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 23px;
}
.learning-grid {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 350px);
  gap: 50px;
  align-items: start;
}
.agenda {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.agenda li {
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.agenda .book-number {
  width: 24px;
  flex-shrink: 0;
  color: var(--muted);
  line-height: 27px;
}
.agenda h3 {
  font-size: 18px;
  line-height: 27px;
  font-weight: 500;
  margin-bottom: 6px;
}
.agenda p {
  font-size: 16px;
  line-height: 26px;
}
.take-home {
  padding: 24px;
  border-radius: 2px;
  border-left: 6px solid #a97c2f;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.take-home h2 {
  font-size: 23px;
  line-height: 32px;
  font-weight: 500;
}
.take-home > div {
  padding-top: 16px;
  border-top: 1px solid #b08538;
}
.take-home h3 {
  font-size: 16px;
  line-height: 25px;
  font-weight: 500;
  margin-bottom: 5px;
}
.take-home p {
  font-size: 14px;
  line-height: 23px;
  color: var(--ink);
}
.take-home .small-copy {
  font-size: 13px;
  line-height: 21px;
}
.host {
  display: flex;
  gap: 36px;
  align-items: start;
}
.host > img {
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.host h2 {
  font-size: 26px;
  line-height: 36px;
  font-weight: 500;
  margin: 12px 0;
}
.host p {
  font-size: 19px;
  line-height: 31px;
  max-width: 820px;
}
.workshop-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.workshop-close p {
  font-size: 17px;
  line-height: 28px;
  margin-top: 8px;
}
.frame--newsletter {
  min-height: calc(100svh - 28px);
  padding-bottom: 30px;
}
.frame--newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgb(7 24 45 / 0.86) 0%,
    rgb(7 24 45 / 0.86) 45%,
    rgb(7 24 45 / 0.7) 55%,
    rgb(7 24 45 / 0.22) 72%,
    rgb(7 24 45 / 0) 90%
  );
}
.newsletter-main {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  min-height: 680px;
}
.newsletter-scene {
  position: absolute;
  left: -52px;
  right: -52px;
  top: -80px;
  width: calc(100% + 104px);
  height: calc(100% + 110px);
  object-fit: cover;
  object-position: center;
  image-rendering: pixelated;
  pointer-events: none;
}
.newsletter-signup {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 600px;
  padding: 210px 0 240px;
}
.newsletter-signup > p {
  font-size: 18px;
  line-height: 28px;
  color: #e3e8ec;
  margin: 16px auto 26px;
  max-width: 560px;
}
.signup-row {
  display: flex;
  gap: 10px;
}
.signup-row .field {
  flex: 1;
}
.signup-row .btn {
  flex-shrink: 0;
  font-size: 15px;
}
.newsletter-form .form-note {
  margin-top: 12px;
  color: #a6b2bd;
}
.newsletter-form .form-status {
  padding: 12px;
  background: var(--frame);
  text-align: left;
  margin-top: 10px;
}
.previous-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 16px/24px var(--display);
  letter-spacing: 0.02em;
  margin-top: 30px;
}
.previous-toggle:hover {
  opacity: 0.8;
}
.library {
  position: relative;
  z-index: 3;
  background: var(--frame);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  width: min(100%, 1040px);
  margin: 0 auto;
}
.newsletter-main:has(.library:not([hidden])) {
  flex-wrap: wrap;
}
.library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.library-close {
  display: none;
}
.library.is-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-height: 85svh;
  overflow: auto;
  width: calc(100% - 64px);
  max-width: 1040px;
  box-shadow: 0 0 0 100vmax rgb(0 0 0 / 0.75);
}
.library.is-modal .library-close {
  display: block;
  color: var(--body);
  background: none;
  border: 0;
  font-size: 15px;
  padding: 10px;
}
.library-filters {
  display: flex;
  gap: 8px;
  margin: 24px 0;
}
.library-filters button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: none;
  color: var(--body);
  font-size: 13px;
}
.library-filters button[aria-pressed="true"] {
  background: #23394d;
  color: var(--cream);
}
.bookshelf {
  display: flex;
  gap: 28px;
  align-items: end;
  overflow-x: auto;
  padding: 10px 0 22px;
  border-bottom: 5px solid #294156;
}
.edition {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  flex: 0 0 248px;
  min-height: 324px;
  padding: 22px;
  border-left: 8px solid #081c32;
  border-radius: 2px;
  transition: transform 0.2s;
}
.edition:hover {
  transform: translateY(-6px);
}
.edition h3 {
  font-size: 26px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.edition .eyebrow {
  color: var(--cream);
}
.edition > span:not(.eyebrow) {
  font-size: 12px;
  line-height: 20px;
}
.edition-open {
  color: var(--cream);
  text-decoration: underline;
}
.library-empty {
  font-size: 16px;
  line-height: 26px;
  margin-top: 24px;
}
.library-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgb(0 0 0 / 0.7);
}
.library.is-modal {
  z-index: 21;
}
@media (min-width: 1600px) {
  .frame {
    padding-inline: max(52px, calc((100vw - 1440px) / 2));
  }
  .home-main {
    max-width: 780px;
  }
  .newsletter-scene {
    left: calc(-1 * max(52px, (100vw - 1440px)/2));
    width: calc(100% + 2 * max(52px, (100vw - 1440px)/2));
  }
}
@media (max-width: 1050px) {
  .wordmark {
    position: static;
    margin-right: auto;
  }
  .site-header {
    justify-content: space-between;
    gap: 28px;
  }
  .workshop-hero,
  .learning-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
    gap: 30px;
  }
  .workshop-heading .pixel-icon {
    width: 110px;
    height: auto;
  }
  .display-title {
    font-size: 36px;
    line-height: 44px;
  }
  .book-card {
    padding: 20px;
    min-height: 400px;
  }
  .book-card h2 {
    font-size: 20px;
  }
  .book-card p {
    font-size: 15px;
  }
  .home-main {
    max-width: 780px;
  }
}
@media (max-width: 760px) {
  .frame {
    margin: 10px;
    min-height: calc(100svh - 20px);
    padding: 18px 20px 24px;
    border-radius: 24px;
  }
  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .wordmark {
    position: static;
    align-self: center;
    margin: 0;
    font-size: 18px;
    line-height: 24px;
  }
  .pill {
    align-self: center;
    max-width: 100%;
  }
  .nav-link {
    font-size: 12px;
    line-height: 18px;
    min-height: 34px;
    padding: 8px 9px;
  }
  .site-footer {
    padding-top: 20px;
    font-size: 12px;
  }
  .home-main {
    padding: 80px 0;
    max-width: 520px;
  }
  .home-copy {
    font-size: 19px;
    line-height: 29px;
  }
  .home-copy .home-intro {
    font-size: 20px;
    line-height: 30px;
  }
  .home-copy p + p {
    margin-top: 26px;
  }
  .face {
    width: 25px;
    height: 25px;
    border-radius: 6px;
    margin: 0 2px 2px;
  }
  .tile {
    width: 25px;
    height: 25px;
    margin-right: 6px;
  }
  .display-title {
    font-size: 30px;
    line-height: 38px;
  }
  .section-title {
    font-size: 24px;
    line-height: 32px;
  }
  .page-main {
    padding: 48px 0 36px;
  }
  .page-lead {
    font-size: 20px;
    line-height: 30px;
  }
  .page-intro {
    font-size: 16px;
    line-height: 25px;
  }
  .book-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 34px;
  }
  .book-card {
    min-height: 312px;
    padding: 24px;
    max-width: 520px;
  }
  .book-card .pixel-icon {
    align-self: center;
    width: 184px;
    height: 120px;
  }
  .book-card h2 {
    font-size: 20px;
    line-height: 28px;
  }
  .book-card p {
    font-size: 16px;
    line-height: 25px;
  }
  .workshop-route {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .contact-main {
    padding: 48px 0 36px;
  }
  .title-row {
    gap: 16px;
  }
  .title-row img {
    width: 56px;
    height: 40px;
  }
  .title-row h1 {
    font-size: 28px;
  }
  .field-pair {
    grid-template-columns: 1fr;
  }
  .question summary {
    font-size: 17px;
    line-height: 27px;
  }
  .question p {
    font-size: 15px;
    line-height: 25px;
  }
  .contact-questions {
    margin-top: 48px;
  }
  .workshop-main {
    padding-top: 48px;
  }
  .workshop-hero,
  .learning-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .workshop-hero {
    padding-bottom: 36px;
  }
  .workshop-promise {
    display: contents;
  }
  .workshop-heading {
    order: 0;
    width: 100%;
    min-height: 0;
  }
  .workshop-heading .pixel-icon {
    display: none;
  }
  .workshop-promise > .page-lead {
    order: 1;
  }
  .ticket {
    order: 2;
    width: 100%;
    padding: 20px;
    gap: 14px;
  }
  .ticket .section-title {
    font-size: 24px;
    line-height: 32px;
  }
  .ticket p {
    font-size: 14px;
    line-height: 23px;
  }
  .ticket .small-copy {
    font-size: 12px;
    line-height: 20px;
  }
  .ticket-date {
    padding: 10px 0;
    font-size: 14px;
    line-height: 23px;
  }
  .workshop-promise > p:not(.page-lead) {
    order: 3;
    font-size: 16px;
    line-height: 26px;
  }
  .workshop-promise > p.audience {
    font-size: 13px;
    line-height: 21px;
  }
  .workshop-section {
    padding: 36px 0;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .workshop-section > p {
    font-size: 16px;
    line-height: 26px;
  }
  .brain-demo {
    grid-template-columns: 1fr;
  }
  .brain-context {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brain-task h3 {
    font-size: 21px;
    line-height: 29px;
  }
  .learning-grid {
    gap: 36px;
  }
  .take-home {
    width: 100%;
  }
  .host {
    flex-direction: column;
    gap: 22px;
  }
  .host p {
    font-size: 16px;
    line-height: 26px;
  }
  .workshop-close {
    align-items: start;
    flex-direction: column;
  }
  .workshop-close .btn {
    width: 100%;
  }
  .frame--newsletter {
    padding-bottom: 24px;
  }
  .newsletter-main {
    min-height: 680px;
    flex-direction: column;
    align-items: center;
  }
  .newsletter-signup {
    padding: 110px 0 250px;
  }
  .newsletter-signup > p {
    font-size: 18px;
    line-height: 28px;
  }
  .signup-row {
    flex-direction: column;
  }
  .signup-row .field {
    flex: auto;
  }
  .newsletter-scene {
    left: -20px;
    top: 0;
    width: calc(100% + 40px);
    height: 100%;
    object-position: center bottom;
  }
  .library {
    padding: 24px;
  }
  .library.is-modal {
    width: calc(100% - 32px);
    padding: 24px;
    max-height: 85svh;
  }
  .library .section-title {
    font-size: 21px;
    line-height: 30px;
  }
  .edition {
    flex-basis: 210px;
    min-height: 290px;
  }
  .edition h3 {
    font-size: 23px;
    line-height: 29px;
  }
}
@media (max-width: 359px) {
  .frame {
    padding-inline: 16px;
  }
  .nav-link {
    font-size: 11px;
    padding-inline: 7px;
  }
  .pill {
    gap: 0;
  }
  .home-copy {
    font-size: 18px;
    line-height: 28px;
  }
}
/* Short entrances echo the pixel type without animating individual letters. */
@keyframes pixel-reveal {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 0.4;
  }
  to {
    clip-path: inset(0);
    opacity: 1;
  }
}
@keyframes content-arrive {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes library-arrive {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 10px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-group(root) {
    animation-duration: 0.18s;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.18s;
    animation-timing-function: ease-in-out;
  }
  html {
    scroll-behavior: smooth;
  }
  .wordmark {
    animation: pixel-reveal 0.3s steps(10, end) both;
  }
  .display-title,
  .home-copy .home-intro {
    animation: pixel-reveal 0.46s steps(12, end) both;
  }
  .home-copy > p:not(.home-intro),
  .page-main > :not(.display-title),
  .contact-main > :not(.title-row),
  .workshop-hero > *,
  .newsletter-signup > :not(.display-title) {
    animation: content-arrive 0.4s ease-out both;
    animation-delay: 0.08s;
  }
  .home-copy > p:nth-of-type(3),
  .page-main > .page-intro,
  .newsletter-signup > form {
    animation-delay: 0.16s;
  }
  .newsletter-signup > .previous-toggle {
    animation-delay: 0.22s;
  }
  .book-card {
    animation: content-arrive 0.4s ease-out both;
    animation-delay: 0.12s;
  }
  .book-card:nth-child(2) {
    animation-delay: 0.19s;
  }
  .book-card:nth-child(3) {
    animation-delay: 0.26s;
  }
  .library.is-modal {
    animation: library-arrive 0.2s ease-out both;
  }
  .question[open] > p {
    animation: content-arrive 0.22s ease-out both;
  }
  @media (hover: hover) {
    .btn:not(:disabled):hover {
      transform: translateY(-2px);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 760px) {
  .frame--texture {
    background-image: url("/assets/pixel-texture-mobile.svg");
  }
}
