@import url("./blog-tokens/colors.css");
@import url("./blog-tokens/accents.css");
@import url("./blog-tokens/typography.css");
@import url("./blog-tokens/shape.css");
@import url("./blog-tokens/spacing.css");
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1184px;
  margin: auto;
  padding-inline: 32px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: 10px;
  left: 15px;
  z-index: 10;
  padding: 12px;
  background: var(--surface);
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.journal-nav {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.journal-nav .logo,
.journal-footer .logo {
  font-size: 24px;
}
.journal-nav nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
}
.journal-nav nav > a:not(.button) {
  color: var(--muted);
}
.journal-nav nav > a[aria-current] {
  color: var(--ink);
}
.theme-toggle {
  border: 1px solid var(--line);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 20px;
}
.button {
  gap: 15px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--muted);
}
.tiny-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
}
.journal-hero {
  position: relative;
  padding: 76px 0 62px;
}
.journal-hero h1 {
  font-size: clamp(44px, 5.3vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 500;
  margin: 25px 0 24px;
}
.journal-hero h1 span {
  color: var(--accent);
}
.journal-hero > p:last-of-type {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}
.hero-flower {
  position: absolute;
  right: 75px;
  top: 88px;
  font-size: 145px;
  line-height: 1;
  color: var(--accent-line-strong);
  transform: rotate(15deg);
}
.featured {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}
.featured .cover {
  height: 100%;
  min-height: 365px;
  border-radius: 0;
}
.featured-copy {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-copy .eyebrow {
  font-size: 9px;
  color: var(--accent-ink);
}
.featured-copy .eyebrow span {
  padding-inline: 9px;
  color: var(--faint);
}
.featured h2 {
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.035em;
  margin: 22px 0 15px;
}
.featured-copy > p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}
.featured-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  font-size: 11px;
  color: var(--muted);
}
.read-link {
  font-size: 12px;
  color: var(--ink);
  font-weight: 550;
}
.read-link:hover {
  color: var(--accent);
}
.cover {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 235px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  isolation: isolate;
}
.cover-script {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-2));
}
.art-top,
.art-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 8px var(--font-mono);
  letter-spacing: 0.06em;
  z-index: 1;
}
.art-bottom {
  opacity: 0.8;
}
.script-art {
  position: relative;
  padding: 15px 18px;
}
.art-label {
  font: 7px var(--font-mono);
  letter-spacing: 0.12em;
}
.art-headline {
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 8px 0 18px;
  font-weight: 500;
}
.art-headline em {
  font-weight: 400;
  font-family: Georgia, serif;
}
.film-track {
  display: flex;
  gap: 4px;
}
.film-track > span {
  flex: 1;
  font: 7px var(--font-mono);
  background: var(--surface-glass);
  padding: 7px 6px;
  border: 1px solid var(--accent-line);
  border-radius: 3px;
}
.film-track b {
  font-size: 8px;
  font-weight: 400;
  display: inline-block;
  margin-top: 5px;
}
.playhead {
  position: absolute;
  right: 30%;
  height: 40px;
  bottom: 13px;
  width: 1px;
  background: var(--accent);
}
.playhead:before {
  content: "";
  position: absolute;
  top: 0;
  left: -3px;
  width: 7px;
  height: 7px;
  background: var(--accent);
}
.featured .script-art {
  padding: 20px 28px;
}
.featured .art-headline {
  font-size: 49px;
  margin-bottom: 25px;
}
.featured .film-track > span {
  padding: 9px 10px;
  font-size: 9px;
}
.featured .film-track b {
  font-size: 10px;
}
.featured .art-label {
  font-size: 9px;
}
.featured .playhead {
  bottom: 18px;
  height: 56px;
}
.board-art {
  display: flex;
  align-items: center;
  gap: 8px;
  transform: rotate(-5deg);
  padding: 15px 2px;
}
.mini-scene {
  width: 33%;
  height: 119px;
  background: var(--surface);
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px -18px var(--accent);
  transform: translateY(-5px);
}
.mini-scene:nth-child(2) {
  transform: translateY(8px);
}
.mini-scene:nth-child(3) {
  transform: translateY(20px);
}
.mini-scene > span {
  font: 6px var(--font-mono);
  white-space: nowrap;
}
.mini-scene > b {
  font-size: 9px;
  font-weight: 500;
  margin-top: auto;
  color: var(--ink);
}
.mini-scene > i {
  width: 75%;
  height: 5px;
  background: var(--accent-line);
  margin-top: 13px;
}
.mini-scene > i + i {
  margin-top: 5px;
  width: 50%;
}
.mini-scene strong {
  font-size: 28px;
  color: var(--accent);
  font-weight: 400;
  margin: auto;
}
.mini-window {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px;
  margin-top: 14px;
}
.mini-window i {
  display: block;
  background: var(--accent-line);
  height: 4px;
  margin-bottom: 4px;
}
.cover-storyboard {
  background: var(--subtle);
}
.cover-screens {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-soft));
}
.screens-art {
  position: relative;
  flex: 1;
  margin: 15px 10px;
}
.screen-back {
  position: absolute;
  top: 0;
  left: 8%;
  width: 70%;
  height: 100px;
  border: 1px solid var(--accent-line);
  border-radius: 7px;
  background: var(--surface-glass);
  padding: 12px;
  transform: rotate(-7deg);
}
.screen-back > span,
.screen-front > span {
  font: 7px var(--font-mono);
}
.screen-back > i {
  display: block;
  width: 60%;
  height: 5px;
  background: var(--accent-line);
  margin-top: 10px;
}
.screen-front {
  position: absolute;
  right: 2%;
  top: 40px;
  width: 85%;
  height: 100px;
  background: var(--surface);
  border: 1px solid var(--accent-line);
  border-radius: 7px;
  padding: 12px;
  transform: rotate(3deg);
  box-shadow: 0 10px 22px -17px var(--accent);
}
.screen-row {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 9px;
}
.screen-check {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 5px 8px;
  border-radius: 5px;
}
.screen-row b {
  display: block;
  font-size: 11px;
  font-weight: 550;
  color: var(--ink);
}
.screen-row small {
  font-size: 8px;
  color: var(--muted);
}
.screen-progress {
  height: 3px;
  width: 70%;
  background: var(--accent-line);
  margin-top: 9px;
}
.stories {
  padding: 65px 0 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.section-heading h2 {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0;
}
.section-heading > a {
  font-size: 13px;
}
.tools {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 28px;
}
.filters {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.filters button {
  border: 0;
  background: none;
  font-size: 11px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 6px;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}
.filters button:hover:not([aria-pressed="true"]) {
  background: var(--subtle);
  color: var(--ink);
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  padding: 6px 11px;
  color: var(--muted);
}
.search input {
  font-size: 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  width: 135px;
  min-width: 0;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.card-link {
  display: block;
  height: 100%;
}
.card-link .cover {
  transition: transform 0.2s;
}
.card-link:hover .cover {
  transform: translateY(-3px);
}
.card-meta {
  display: flex;
  justify-content: space-between;
  margin: 20px 0 10px;
  font: 10px var(--font-mono);
  color: var(--muted);
}
.card-meta > span:first-child {
  color: var(--accent-ink);
}
.post-card h3 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.post-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 18px;
}
.empty {
  text-align: center;
  padding: 50px 15px;
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.empty h3 {
  font-weight: 500;
}
.empty p {
  color: var(--muted);
}
.early-access {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 72px 0;
  padding: 42px;
  border: 1px solid var(--accent-line);
  border-radius: 16px;
  background: var(--gradient-hero), var(--accent-wash);
}
.early-access h2 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 18px 0 16px;
}
.early-access p {
  font-size: 13px;
  color: var(--muted);
  max-width: 440px;
  margin: 0;
  line-height: 1.7;
}
.early-access .button {
  white-space: nowrap;
}
.journal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 35px;
  border-top: 1px solid var(--line);
}
.journal-footer > span {
  font-size: 12px;
  color: var(--muted);
}
.journal-footer nav {
  display: flex;
  gap: 22px;
  font-size: 12px;
  color: var(--muted);
}
.article-back {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 35px;
}
.article-back > span {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.article-heading {
  max-width: 800px;
  margin: 48px auto 35px;
}
.article-heading h1 {
  font-size: clamp(36px, 4.3vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 20px 0;
}
.lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin-top: 26px;
}
.byline small {
  font-size: 11px;
  color: var(--muted);
}
.author-icon {
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  width: 37px;
  height: 37px;
  font-weight: 650;
  font-size: 21px;
}
main > .cover {
  height: 350px;
  max-width: 800px;
  margin: auto;
}
main > .cover .script-art {
  max-width: 500px;
  width: 100%;
  margin: auto;
}
main > .cover .art-headline {
  font-size: 54px;
}
main > .cover .board-art {
  max-width: 500px;
  width: 100%;
  margin: auto;
}
main > .cover .mini-scene {
  height: 180px;
}
main > .cover .mini-scene > span {
  font-size: 9px;
}
main > .cover .mini-scene > b {
  font-size: 13px;
}
main > .cover .screens-art {
  width: 500px;
  max-width: 90%;
  margin: 10px auto;
}
main > .cover .screen-back {
  height: 150px;
}
main > .cover .screen-front {
  top: 65px;
  height: 150px;
  padding: 25px;
}
main > .cover .screen-row {
  margin-top: 15px;
}
.reading-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 680px);
  gap: 60px;
  margin: 60px 0 75px;
}
.toc {
  font-size: 12px;
}
.toc details {
  position: sticky;
  top: 35px;
}
.toc summary {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.toc nav {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.toc a {
  display: flex;
  gap: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.toc a span {
  font: 10px var(--font-mono);
  color: var(--accent);
  padding-top: 2px;
}
.toc a:hover {
  color: var(--accent);
}
.prose {
  min-width: 0;
  font-size: 16px;
  line-height: 1.85;
}
.prose section {
  margin-bottom: 42px;
  scroll-margin-top: 30px;
}
.prose h2 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 550;
  margin: 0 0 20px;
}
.prose p {
  margin: 0 0 20px;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose ul {
  padding-left: 22px;
}
.prose li {
  margin-bottom: 10px;
}
.note {
  background: var(--accent-wash);
  border-left: 3px solid var(--accent-line-strong);
  padding: 24px;
  margin: 25px 0;
  font-size: 14px;
}
.note p {
  margin: 10px 0 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 25px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  min-width: 440px;
}
.prose th,
.prose td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  background: var(--subtle);
  font-weight: 550;
}
.prose tr:last-child td {
  border-bottom: 0;
}
.template {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  margin: 26px 0;
  overflow: hidden;
}
.template-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 18px;
  background: var(--subtle);
  font: 11px var(--font-mono);
}
.template-head button {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
  font: 11px var(--font);
  padding: 6px 10px;
}
.template pre {
  padding: 22px;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 12px/1.8 var(--font-mono);
  color: var(--ink);
}
.related {
  border-top: 1px solid var(--line);
  padding-top: 35px;
}
.related .post-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.related .cover {
  height: 260px;
}
.related .script-art {
  max-width: 340px;
  width: 100%;
  margin: auto;
}
.related .board-art {
  max-width: 350px;
  margin: auto;
}
.related .screens-art {
  max-width: 350px;
  width: 100%;
  margin: 15px auto;
}
@media (min-width: 1200px) {
  .journal-hero {
    padding-top: 85px;
    padding-bottom: 68px;
  }
}
@media (max-width: 950px) {
  .hero-flower {
    right: 10px;
    font-size: 115px;
  }
  .featured-copy {
    padding: 28px;
  }
  .featured .art-headline {
    font-size: 40px;
  }
  .tools {
    align-items: flex-start;
    flex-direction: column;
  }
  .search {
    align-self: stretch;
  }
  .search input {
    width: 100%;
  }
  .post-grid {
    gap: 18px;
  }
  .post-card h3 {
    font-size: 20px;
  }
  .cover {
    height: 220px;
    padding: 15px;
  }
  .script-art {
    padding: 12px 0;
  }
  .art-headline {
    font-size: 28px;
  }
  .mini-scene {
    padding: 6px;
  }
  .mini-scene > span {
    font-size: 5px;
  }
  .mini-scene > b {
    font-size: 8px;
  }
  .reading-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 30px;
  }
  .early-access {
    padding: 30px;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding-inline: 22px;
  }
  .journal-nav {
    height: 78px;
  }
  .journal-nav .logo {
    font-size: 22px;
  }
  .journal-nav nav {
    gap: 16px;
  }
  .journal-nav nav > a:first-child,
  .nav-cta {
    display: none !important;
  }
  .theme-toggle {
    width: 32px;
    height: 32px;
  }
  .journal-hero {
    padding: 48px 0 36px;
  }
  .journal-hero h1 {
    font-size: 45px;
    margin-top: 22px;
  }
  .journal-hero > p:last-of-type {
    font-size: 14px;
    max-width: 280px;
  }
  .journal-hero > p:last-of-type br {
    display: none;
  }
  .hero-flower {
    font-size: 58px;
    top: 43px;
    right: 6px;
    opacity: 0.5;
  }
  .featured {
    grid-template-columns: 1fr;
  }
  .featured .cover {
    min-height: 280px;
  }
  .featured .art-headline {
    font-size: 43px;
  }
  .featured-copy {
    padding: 26px;
  }
  .featured h2 {
    font-size: 30px;
    margin-top: 18px;
  }
  .featured-bottom {
    margin-top: 24px;
  }
  .stories {
    padding-top: 42px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .section-heading > .eyebrow {
    display: none;
  }
  .filters {
    gap: 4px;
  }
  .filters button {
    padding: 8px 10px;
  }
  .post-grid,
  .related .post-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .cover {
    height: 245px;
    padding: 20px;
  }
  .art-headline {
    font-size: 35px;
  }
  .script-art {
    padding: 12px 15px;
  }
  .mini-scene {
    padding: 10px;
    height: 130px;
  }
  .mini-scene > span {
    font-size: 6px;
  }
  .mini-scene > b {
    font-size: 10px;
  }
  .post-card h3 {
    font-size: 24px;
  }
  .post-card p {
    font-size: 14px;
  }
  .card-meta {
    margin-top: 17px;
  }
  .early-access {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    margin: 45px 0;
    gap: 25px;
  }
  .early-access h2 {
    font-size: 29px;
  }
  .early-access .eyebrow {
    font-size: 9px;
  }
  .journal-footer {
    flex-wrap: wrap;
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .journal-footer > span {
    display: none;
  }
  .journal-footer nav {
    gap: 16px;
  }
  .journal-footer .logo {
    font-size: 21px;
  }
  .article-heading {
    margin-top: 35px;
  }
  .article-heading h1 {
    font-size: 38px;
  }
  .lede {
    font-size: 16px;
  }
  main > .cover {
    height: 275px;
  }
  main > .cover .art-headline {
    font-size: 42px;
  }
  main > .cover .mini-scene {
    height: 140px;
  }
  main > .cover .mini-scene > span {
    font-size: 6px;
  }
  main > .cover .mini-scene > b {
    font-size: 10px;
  }
  main > .cover .screen-front {
    padding: 15px;
    height: 120px;
    top: 45px;
  }
  .reading-layout {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 35px;
  }
  .toc {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .toc details {
    position: static;
  }
  .toc nav {
    gap: 12px;
  }
  .prose h2 {
    font-size: 25px;
  }
  .prose {
    font-size: 16px;
  }
  .template-head {
    font-size: 9px;
    padding: 12px;
  }
  .template pre {
    padding: 16px;
    font-size: 11px;
  }
  .related .section-heading h2 {
    font-size: 22px;
  }
  .related .section-heading a {
    font-size: 11px;
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
