:root {
  --bg: #edf0ed;
  --paper: #fbfcfa;
  --ink: #101716;
  --muted: #56615f;
  --line: #c9d0cc;
  --teal: #007a70;
  --teal-dark: #005f58;
  --teal-soft: #d3ebe7;
  --gold: #bc8300;
  --gold-soft: #f2e2b3;
  --coral: #d34f3f;
  --coral-soft: #f1d8d4;
  --blue: #3867a8;
  --shadow: 0 16px 36px rgba(16, 23, 22, 0.11);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
}

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 2px solid rgba(16, 23, 22, 0.92);
  background: rgba(237, 240, 237, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  width: min(1160px, calc(100% - 40px));
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 4px;
  background: var(--coral);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav-links {
  gap: 18px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:not(.language-link):hover {
  color: var(--ink);
}

.language-link {
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 5px 10px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  width: min(1160px, calc(100% - 40px));
  min-height: calc(66vh - 68px);
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  gap: 72px;
  margin: 0 auto;
  padding: 48px 0 66px;
  scroll-margin-top: 82px;
}

.hero-copy::before {
  position: absolute;
  top: 4px;
  left: -24px;
  width: 6px;
  height: 112px;
  background: var(--coral);
  content: "";
}

.hero-copy {
  position: relative;
  max-width: 760px;
}

.hero-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.hero-meta-line span:last-child {
  color: var(--coral);
}

.eyebrow,
.kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: 5.15rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-title-sub {
  margin-top: 18px;
  color: #34413d;
  font-size: 0.38em;
  font-weight: 760;
  line-height: 1.25;
}

h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: #3b4844;
  font-size: 1.17rem;
}

.hero-actions,
.theme-links,
.curation-links,
.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 30px;
}

.primary-link,
.secondary-link,
.theme-links a,
.curation-links a,
.card-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 8px 13px;
  font-weight: 800;
  text-decoration: none;
}

.primary-link {
  background: var(--coral);
  color: #fff;
}

.secondary-link,
.theme-links a,
.curation-links a,
.card-links a {
  border: 1px solid var(--line);
  background: var(--paper);
}

.primary-link:hover,
.collection-tab.is-active:hover,
.filter-button.is-active:hover {
  background: #293532;
}

.secondary-link:hover,
.theme-links a:hover,
.curation-links a:hover,
.card-links a:hover {
  border-color: #9aa6a2;
}

.profile-panel {
  border: 0;
  border-radius: 4px;
  padding: 26px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 12px 12px 0 var(--teal);
}

.profile-intro {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.avatar {
  display: block;
  width: 96px;
  height: 96px;
  border: 4px solid #34413e;
  border-radius: 50%;
  object-fit: cover;
}

.profile-name {
  margin: 0;
  font-size: 1.13rem;
  font-weight: 850;
  line-height: 1.4;
}

.profile-meta {
  margin: 4px 0 0;
  color: #b8c2bf;
  font-size: 0.9rem;
  line-height: 1.5;
}

.profile-social {
  display: inline-flex;
  margin-top: 8px;
  color: #f1bd41;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.stats {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
}

.stats div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid #34413e;
  padding-top: 8px;
}

.stats dt {
  color: #9eaaa6;
  font-size: 0.82rem;
}

.stats dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
}

.visual-index {
  display: grid;
  width: min(1160px, calc(100% - 40px));
  grid-template-columns: 1.55fr 0.74fr 0.74fr;
  gap: 12px;
  margin: 0 auto;
  padding: 0 0 78px;
}

.visual-item {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 0;
  color: var(--ink);
  text-decoration: none;
}

.visual-frame {
  display: grid;
  height: 286px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #0a1211;
}

.visual-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.visual-frame-app {
  background: #e8ecea;
}

.visual-frame-app > img {
  width: 48%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 22%;
  box-shadow: 0 16px 32px rgba(67, 77, 72, 0.18);
}

.visual-item:hover .visual-frame > img {
  transform: scale(1.025);
}

.visual-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(16, 23, 22, 0.9);
  color: #fff;
}

.visual-label small {
  color: #f1bd41;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.visual-label strong {
  overflow: hidden;
  font-size: 0.94rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whats-new-band {
  position: absolute;
  top: 36px;
  right: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 22px;
  margin: 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 13px;
  scroll-margin-top: 78px;
}

.whats-new-heading .eyebrow {
  margin-bottom: 3px;
}

.whats-new-heading h2 {
  font-size: 1.22rem;
}

.whats-new-period {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.whats-new-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
}

.whats-new-scroller {
  min-width: 0;
}

.whats-new-next {
  display: none;
}

.whats-new-next[hidden] {
  display: none !important;
}

.whats-new-item {
  min-width: 0;
  border-left: 1px solid var(--line);
  padding: 0 14px;
}

.whats-new-item:first-child {
  border-left-color: var(--teal);
}

.whats-new-label {
  margin: 0 0 2px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.whats-new-item[data-kind="note"] .whats-new-label,
.whats-new-item[data-kind="suno"] .whats-new-label {
  color: var(--coral);
}

.whats-new-item[data-kind="app"] .whats-new-label,
.whats-new-item[data-kind="project"] .whats-new-label {
  color: var(--gold);
}

.whats-new-item h3 {
  font-size: 0.88rem;
  line-height: 1.4;
}

.whats-new-item h3 a {
  text-decoration: none;
}

.whats-new-item h3 a:hover {
  text-decoration: underline;
}

.whats-new-item p:last-child {
  display: none;
}

.whats-new-empty {
  margin: 0;
  color: var(--muted);
}

.codex-choice-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 54px;
  padding: 50px 0 46px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 0 0 100vmax var(--ink);
  clip-path: inset(0 -100vmax);
  scroll-margin-top: 78px;
}

.choice-switcher {
  display: grid;
  width: max-content;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 4px;
  margin: 0 0 32px auto;
  border: 1px solid #52605c;
  border-radius: 4px;
  padding: 4px;
  background: #0b1110;
}

.choice-switch-button {
  min-height: 40px;
  border: 0;
  border-radius: 2px;
  padding: 7px 15px;
  background: transparent;
  color: #b8c2be;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
}

.choice-switch-button:hover {
  color: #fff;
}

.choice-switch-button:disabled {
  color: #66716e;
  cursor: wait;
}

.choice-switch-button.is-active {
  background: #f1bd41;
  color: var(--ink);
}

.choice-panel {
  min-width: 0;
}

.choice-panel[hidden] {
  display: none;
}

.codex-choice-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 38px 56px;
}

.codex-choice-media {
  position: relative;
  min-width: 0;
  margin: 0;
}

.codex-choice-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1280 / 670;
  border: 1px solid #34413e;
  border-radius: 3px;
  background: #1b2523;
  object-fit: cover;
}

.codex-choice-media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 13px;
  background: rgba(16, 23, 22, 0.88);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.codex-choice-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.codex-choice-heading .eyebrow {
  margin-bottom: 4px;
  color: #f1bd41;
}

.codex-choice-period {
  margin: 0;
  color: #9eaaa6;
  font-size: 0.78rem;
  font-weight: 750;
}

.codex-choice-copy h2 {
  margin-top: 16px;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1.12;
}

.codex-choice-copy h2 a {
  text-decoration: none;
}

.codex-choice-copy h2 a:hover {
  text-decoration: underline;
}

.codex-choice-dek {
  margin: 20px 0 0;
  color: #e6ebe8;
  font-size: 1.02rem;
  line-height: 1.8;
}

.codex-choice-reflection {
  margin-top: 24px;
  border-left: 4px solid var(--coral);
  padding: 2px 0 2px 18px;
}

.codex-choice-reflection .kicker {
  margin-bottom: 5px;
  color: #f1bd41;
}

.codex-choice-reflection p:last-child {
  margin: 0;
  color: #bcc6c2;
  font-size: 0.94rem;
  line-height: 1.8;
}

.codex-choice-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  border-bottom: 2px solid #f1bd41;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.codex-choice-link::after {
  content: "\2197";
}

.codex-choice-link:hover {
  color: #f1bd41;
}

.codex-choice-history {
  grid-column: 1 / -1;
  border-top: 1px solid #3c4845;
}

.codex-choice-history summary {
  padding: 17px 0;
  color: #fff;
  cursor: pointer;
  font-weight: 850;
}

.codex-choice-history[open] summary {
  border-bottom: 1px solid #3c4845;
}

.codex-choice-history-list {
  display: grid;
}

.codex-choice-history-item {
  display: grid;
  grid-template-columns: 155px minmax(150px, 0.35fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 22px;
  border-bottom: 1px solid #303b38;
  padding: 15px 0;
}

.codex-choice-history-period,
.codex-choice-history-item p:last-child {
  margin: 0;
  color: #9eaaa6;
  font-size: 0.84rem;
}

.codex-choice-history-item h3 a {
  color: #f1bd41;
}

.codex-choice-history-toggle {
  margin-top: 16px;
  border: 1px solid #52605c;
  border-radius: 4px;
  padding: 8px 12px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.codex-choice-history-toggle:hover {
  border-color: #f1bd41;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 3px solid var(--ink);
  padding: 78px 0;
  scroll-margin-top: 78px;
}

.section-heading {
  margin-bottom: 36px;
}

.compact-heading {
  display: grid;
  max-width: 780px;
  gap: 2px;
}

.section-copy {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.theme-card {
  position: relative;
  display: flex;
  min-height: 370px;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-top: 6px solid var(--ink);
  border-radius: 3px;
  padding: 28px;
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.theme-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--line);
}

.theme-card h3 {
  max-width: 260px;
  font-size: 1.4rem;
}

.theme-card > p:not(.kicker) {
  margin: 16px 0 22px;
  color: var(--muted);
}

.theme-number {
  position: absolute;
  top: 12px;
  right: 18px;
  color: #d4dad7;
  font-size: 3.4rem;
  font-weight: 850;
  line-height: 1;
}

.theme-links {
  margin-top: auto;
}

.accent-teal {
  border-top-color: var(--teal);
}

.accent-gold {
  border-top-color: var(--gold);
}

.accent-coral {
  border-top-color: var(--coral);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.featured-section {
  border-top: 0;
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
}

.featured-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  border-top: 6px solid var(--ink);
  padding: 24px 22px 10px;
  background: #f3f5f2;
}

.featured-card:nth-child(2) {
  border-top-color: var(--gold);
}

.featured-card:nth-child(3) {
  border-top-color: var(--coral);
}

.featured-index {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
}

.featured-card h3 {
  min-height: 3.2em;
  font-size: 1.28rem;
}

.featured-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.featured-card strong,
.essay-list strong {
  color: var(--ink);
}

.curation-links {
  margin-top: auto;
  padding-top: 18px;
}

.curation-portrait {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  column-gap: 44px;
  row-gap: 20px;
  margin-top: 50px;
  border-top: 0;
  border-bottom: 0;
  border-radius: 3px;
  padding: 32px;
  background: var(--ink);
  color: var(--paper);
}

.portrait-heading h3 {
  margin-top: 5px;
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--paper);
}

.portrait-byline {
  margin: 8px 0 0;
  color: #aeb9b5;
  font-size: 0.83rem;
  font-weight: 750;
}

.portrait-lead {
  margin: 0;
  color: #f1f4f1;
  font-size: 1.02rem;
  line-height: 1.85;
}

.portrait-details,
.portrait-links {
  grid-column: 2;
}

.portrait-details {
  border-top: 1px solid #3c4845;
}

.portrait-details summary {
  padding: 15px 0;
  cursor: pointer;
  font-weight: 850;
}

.portrait-copy {
  padding: 4px 0 10px;
}

.portrait-copy h4 {
  margin: 18px 0 5px;
  font-size: 1rem;
  color: #f1bd41;
}

.portrait-copy p {
  margin: 0;
  color: #c2cbc8;
  font-size: 0.94rem;
  line-height: 1.75;
}

.portrait-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.portrait-links a {
  color: #f1bd41;
  font-size: 0.88rem;
  font-weight: 800;
}

.more-picks {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.more-picks summary {
  padding: 17px 0;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.more-picks[open] summary {
  border-bottom: 1px solid var(--line);
}

.compact-picks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
  padding: 8px 0 20px;
}

.compact-picks article {
  display: grid;
  grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.compact-picks p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.compact-picks a {
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 800;
}

.collection-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  padding: 4px;
}

.collection-tab {
  min-height: 42px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.collection-tab:hover {
  background: var(--bg);
  color: var(--ink);
}

.collection-tab.is-active {
  background: var(--ink);
  color: #fff;
}

.collection-panel {
  padding-top: 32px;
}

.collection-panel[hidden] {
  display: none;
}

.panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.panel-heading .kicker {
  margin-bottom: 4px;
}

.panel-heading h3 {
  font-size: 1.45rem;
}

.panel-heading-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.panel-external-link {
  color: var(--teal);
  font-weight: 850;
  white-space: nowrap;
}

.collection-note {
  margin: -8px 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.filter-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 6px 11px;
  background: var(--paper);
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.publication-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: -4px 0 14px;
}

.publication-filter-group {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  padding: 3px;
}

.publication-filter-button {
  min-height: 36px;
  border: 0;
  border-radius: 2px;
  padding: 6px 11px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.publication-filter-button:hover {
  background: var(--bg);
  color: var(--ink);
}

.publication-filter-button.is-active {
  background: var(--ink);
  color: #fff;
}

.publication-filter-button span {
  margin-left: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.publication-search {
  display: grid;
  grid-template-columns: auto minmax(210px, 270px);
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.publication-search input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
}

.publication-search input:focus {
  border-color: var(--teal);
  outline: 2px solid color-mix(in srgb, var(--teal) 24%, transparent);
  outline-offset: 1px;
}

.publication-count {
  margin: 0 0 15px;
}

.publication-list {
  margin: 0;
  border-top: 2px solid var(--ink);
  padding: 0;
  list-style: none;
}

.publication-entry {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 24px;
  min-width: 0;
  border-bottom: 1px solid var(--line);
  padding: 22px 0 23px;
}

.publication-chronology {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
}

.publication-year {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.02rem;
  font-weight: 850;
}

.publication-kind {
  border-left: 3px solid var(--teal);
  padding-left: 7px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.25;
}

.publication-entry[data-category="non-peer-reviewed"] .publication-kind {
  border-left-color: var(--gold);
}

.publication-entry[data-category="misc"] .publication-kind {
  border-left-color: var(--coral);
}

.publication-citation {
  min-width: 0;
}

.publication-citation h4 {
  max-width: 920px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 1.06rem;
  line-height: 1.48;
}

.publication-citation h4 a {
  color: var(--ink);
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.publication-citation h4 a:hover {
  color: var(--teal);
  text-decoration-color: currentColor;
}

.publication-authors,
.publication-venue,
.publication-identifier {
  margin: 0;
}

.publication-authors {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.publication-author-self {
  color: var(--ink);
  font-weight: 850;
}

.publication-venue {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.publication-venue cite {
  color: var(--ink);
  font-style: italic;
}

.publication-venue strong {
  color: var(--ink);
  font-weight: 850;
}

.publication-identifier {
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.publication-identifier a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.publication-empty {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
}

.publication-toggle {
  margin-top: 24px;
}

.media-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -8px 0 14px;
}

.media-toolbar .collection-note {
  margin: 0;
}

.media-filter-group {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 7px;
}

.media-filter-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 10px;
  background: var(--paper);
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.media-filter-button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.media-filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.media-intro {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.8;
}

.media-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 38px;
}

.media-entry {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding: 22px 0 24px;
}

.media-entry-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.media-date {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 750;
}

.media-medium {
  border-left: 3px solid var(--teal);
  padding-left: 8px;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 850;
}

.media-entry[data-group="authored"] .media-medium {
  border-left-color: var(--gold);
}

.media-entry[data-group="broadcast"] .media-medium {
  border-left-color: var(--coral);
}

.media-entry h4 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.45;
}

.media-entry h4 a {
  color: var(--ink);
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.media-entry h4 a:hover {
  color: var(--teal);
  text-decoration-color: currentColor;
}

.media-outlet,
.media-role,
.media-summary {
  margin: 0;
}

.media-outlet {
  margin-top: 9px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.media-role {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.media-summary {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.media-sources {
  margin-top: 13px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.media-sources summary {
  width: fit-content;
  cursor: pointer;
}

.media-sources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.media-sources a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-grid,
.ios-app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card,
.ios-app-card {
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 3px;
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover,
.ios-app-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.project-card[data-kind="research"] {
  border-top-color: var(--gold);
}

.project-card[data-kind="tool"] {
  border-top-color: var(--coral);
}

.project-card[data-kind="art"] {
  border-top-color: var(--blue);
}

.ios-app-card {
  border-top-color: var(--gold);
}

.project-card {
  display: flex;
  min-height: 258px;
  flex-direction: column;
  padding: 20px;
}

.project-card p {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border-radius: 6px;
  padding: 4px 8px;
  background: var(--teal-soft);
  color: #155e5a;
  font-size: 0.74rem;
  font-weight: 800;
}

.project-card[data-kind="research"] .tag-list li {
  background: var(--gold-soft);
  color: #75520c;
}

.project-card[data-kind="tool"] .tag-list li {
  background: var(--coral-soft);
  color: #873f30;
}

.project-card[data-kind="art"] .tag-list li {
  background: #e2e8f2;
  color: var(--blue);
}

.card-links {
  margin-top: auto;
}

.show-more-button {
  display: block;
  min-height: 42px;
  margin: 24px auto 0;
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 8px 16px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.show-more-button:hover {
  background: var(--ink);
  color: #fff;
}

.show-more-button[hidden] {
  display: none;
}

.ios-app-card {
  display: flex;
  min-height: 188px;
  gap: 16px;
  padding: 18px;
}

.ios-app-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(40, 45, 45, 0.13);
}

.ios-app-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.ios-app-head {
  display: grid;
  gap: 2px;
}

.ios-app-head span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.ios-app-card p {
  margin: 11px 0 13px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.ios-app-card a {
  margin-top: auto;
  font-weight: 850;
}

.note-links {
  margin: 0 0 13px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
  font-size: 0.88rem;
}

.note-links summary {
  color: var(--teal);
  cursor: pointer;
  font-weight: 850;
}

.note-links ul {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding-left: 18px;
}

.note-links + a {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 14px 15px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td:first-child {
  font-weight: 850;
}

.project-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.project-favicon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 5px;
  background: #fff;
  object-fit: contain;
}

.framework {
  display: inline-flex;
  min-width: 66px;
  justify-content: center;
  border-radius: 6px;
  padding: 3px 8px;
  background: #e4e9ef;
  color: #2f4d7d;
  font-size: 0.76rem;
  font-weight: 850;
}

.x-choice-shelf {
  margin: 0;
  padding: 0;
  color: var(--paper);
}

.x-choice-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.x-choice-heading .kicker {
  margin-bottom: 3px;
  color: #f1bd41;
}

.x-choice-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 2.25rem;
  line-height: 1.16;
}

.x-choice-date {
  flex: 0 0 auto;
  margin: 0;
  color: #9eaaa6;
  font-size: 0.84rem;
  font-weight: 800;
}

.x-choice-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 30px;
  align-items: stretch;
}

.x-choice-post {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  margin: 0;
  border-left: 6px solid var(--coral);
  border-top: 1px solid #34413e;
  border-right: 1px solid #34413e;
  border-bottom: 1px solid #34413e;
  padding: 24px 24px 20px 26px;
  overflow: hidden;
  background: #182220;
  color: #fff;
}

.x-choice-post::after {
  position: absolute;
  right: 16px;
  bottom: -34px;
  color: rgba(255, 255, 255, 0.07);
  content: "X";
  font-size: 8.5rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.x-choice-post blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.85;
  white-space: pre-line;
}

.x-choice-post figcaption {
  position: relative;
  z-index: 1;
  font-size: 0.84rem;
  font-weight: 850;
}

.x-choice-post figcaption a {
  color: var(--gold-soft);
}

.x-choice-commentary {
  display: grid;
  align-content: start;
  gap: 18px;
}

.x-choice-commentary > div + div {
  border-top: 1px solid #3c4845;
  padding-top: 18px;
}

.x-choice-commentary p {
  margin: 0;
}

.x-choice-commentary .x-choice-label {
  margin-bottom: 5px;
  color: #f1bd41;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.x-choice-commentary p:last-child {
  color: #bcc6c2;
  font-size: 0.92rem;
  line-height: 1.7;
}

.x-choice-history {
  margin-top: 22px;
  border-top: 1px solid #3c4845;
  padding-top: 14px;
}

.x-choice-history summary {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.x-choice-history-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  margin-top: 12px;
}

.x-choice-history-item {
  border-top: 1px solid #303b38;
  padding: 14px 0;
}

.x-choice-history-item p,
.x-choice-history-item h5 {
  margin: 0;
}

.x-choice-history-item h5 {
  margin: 2px 0 5px;
  font-size: 0.96rem;
}

.x-choice-history-item time,
.x-choice-history-item p {
  color: #9eaaa6;
  font-size: 0.82rem;
  line-height: 1.55;
}

.x-choice-history-item h5 a {
  color: #f1bd41;
}

.essay-list,
.suno-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.essay-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
}

.essay-list li {
  display: grid;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding: 17px 0;
}

.essay-list a {
  color: var(--ink);
  font-weight: 850;
}

.essay-list span {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

.suno-list {
  display: grid;
  max-width: 1040px;
  gap: 0;
}

.suno-summary {
  display: grid;
  max-width: 1040px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.suno-summary-copy {
  line-height: 1.65;
}

.suno-total-history {
  display: grid;
  grid-template-columns: auto 142px;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.suno-total-history-label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  white-space: nowrap;
}

.suno-summary .suno-sparkline-button {
  justify-self: end;
}

.suno-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(150px, auto) 148px;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.suno-rank {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 3px;
  background: var(--coral);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 850;
}

.suno-list a {
  font-weight: 850;
}

.suno-meta {
  display: grid;
  gap: 1px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.suno-legend {
  display: flex;
  max-width: 1040px;
  justify-content: flex-end;
  gap: 16px;
  margin: -10px 0 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.suno-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.suno-legend span::before {
  width: 9px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.suno-legend .is-plays {
  color: var(--teal);
}

.suno-legend .is-likes {
  color: var(--coral);
}

.suno-sparkline-button {
  display: grid;
  width: 142px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 4px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--ink);
  cursor: pointer;
}

.suno-sparkline-button:hover {
  border-color: var(--teal);
  background: var(--paper);
}

.suno-sparkline-button svg {
  display: block;
  width: 132px;
  height: 42px;
}

.suno-sparkline-separator,
.suno-chart-gridline {
  stroke: var(--line);
  stroke-width: 1;
}

.suno-line-plays,
.suno-line-likes {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.suno-line-plays {
  stroke: var(--teal);
}

.suno-line-likes {
  stroke: var(--coral);
}

.suno-dot-plays {
  fill: var(--teal);
}

.suno-dot-likes {
  fill: var(--coral);
}

.suno-history-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 24px;
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(16, 23, 22, 0.28);
  color: var(--ink);
}

.suno-history-dialog::backdrop {
  background: rgba(16, 23, 22, 0.64);
  backdrop-filter: blur(4px);
}

.suno-dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 16px;
}

.suno-dialog-head h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 1.7rem;
  line-height: 1.25;
}

.suno-dialog-close {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
}

.suno-dialog-close:hover {
  background: var(--ink);
  color: #fff;
}

.suno-dialog-controls {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 18px 0 10px;
}

.suno-dialog-controls label {
  font-size: 0.84rem;
  font-weight: 850;
}

.suno-dialog-controls select {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 36px 0 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
}

.suno-mode-toggle {
  display: inline-grid;
  grid-auto-flow: column;
  border: 1px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
}

.suno-mode-toggle button {
  min-height: 40px;
  border: 0;
  border-left: 1px solid var(--ink);
  padding: 0 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
}

.suno-mode-toggle button:first-child {
  border-left: 0;
}

.suno-mode-toggle button.is-active {
  background: var(--ink);
  color: #fff;
}

.suno-dialog-summary {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.suno-chart-block {
  border-top: 1px solid var(--line);
  padding: 14px 0 4px;
}

.suno-chart-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.suno-chart-caption span {
  font-size: 0.82rem;
  font-weight: 850;
}

.suno-chart-caption strong {
  font-size: 0.94rem;
}

.suno-chart-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.suno-chart-axis-label {
  fill: var(--muted);
  font-family: inherit;
  font-size: 11px;
}

.suno-chart-empty {
  display: grid;
  min-height: 120px;
  place-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.about-note {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 20px 0 46px;
  color: var(--muted);
  font-size: 0.88rem;
}

.about-note h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
}

.about-note p {
  max-width: 860px;
  margin: 0;
}

.about-note a {
  color: var(--teal);
  font-weight: 850;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 38px;
  }

  .hero-copy::before {
    top: 4px;
  }

  .hero-copy {
    max-width: 800px;
  }

  h1 {
    font-size: 3.7rem;
  }

  .profile-panel {
    max-width: 540px;
  }

  .visual-frame {
    height: 250px;
  }

  .codex-choice-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .codex-choice-media img {
    max-height: 430px;
  }

  .theme-grid,
  .project-grid,
  .ios-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-card:last-child {
    grid-column: 1 / -1;
    min-height: 280px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .featured-card {
    min-height: 0;
  }

  .featured-card h3 {
    min-height: 0;
  }

  .curation-links {
    margin-top: 18px;
  }

  .compact-picks {
    grid-template-columns: 1fr;
  }

  .curation-portrait {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portrait-details,
  .portrait-links {
    grid-column: 1;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .nav {
    width: min(100% - 24px, 1160px);
    min-height: 62px;
    gap: 12px;
    overflow: hidden;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-links {
    min-width: 0;
    gap: 8px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .nav-links a[href="#codex-choice"] {
    display: none;
  }

  .language-link {
    padding: 4px 7px;
  }

  .hero,
  .section,
  .whats-new-band,
  .codex-choice-section,
  .about-note {
    width: min(100% - 24px, 1160px);
  }

  .codex-choice-section {
    margin-bottom: 36px;
    padding: 34px 0 32px;
  }

  .codex-choice-copy h2 {
    font-size: 2.05rem;
  }

  .codex-choice-dek {
    font-size: 0.97rem;
  }

  .codex-choice-reflection {
    padding-left: 14px;
  }

  .codex-choice-history-item {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .visual-index {
    display: flex;
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding: 0 12px 42px;
    scroll-padding-inline: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .visual-index::-webkit-scrollbar {
    display: none;
  }

  .visual-item {
    flex: 0 0 min(78vw, 320px);
    scroll-snap-align: start;
  }

  .visual-frame {
    height: 238px;
  }

  .whats-new-band {
    position: static;
    grid-column: 1 / -1;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    padding: 8px 0 10px;
  }

  .whats-new-heading .eyebrow {
    display: none;
  }

  .whats-new-heading h2 {
    font-size: 1rem;
  }

  .whats-new-period {
    margin-top: 2px;
    font-size: 0.65rem;
  }

  .whats-new-list {
    display: flex;
    gap: 0;
    overflow-x: auto;
    margin-right: 0;
    padding-right: 0;
    scroll-padding-inline: 0 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .whats-new-scroller {
    position: relative;
    padding-right: 40px;
  }

  .whats-new-next {
    position: absolute;
    top: 50%;
    right: 0;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 23, 22, 0.24);
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    line-height: 1;
  }

  .whats-new-next:hover {
    background: var(--teal-dark);
  }

  .whats-new-list::-webkit-scrollbar {
    display: none;
  }

  .whats-new-item {
    flex: 0 0 min(58vw, 230px);
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 0 12px;
    scroll-snap-align: start;
  }

  .whats-new-item:first-child {
    border-top: 0;
    border-left: 2px solid var(--teal);
  }

  .hero {
    padding: 26px 0 38px;
  }

  .hero-meta-line {
    display: grid;
    gap: 1px;
    padding-left: 10px;
    font-size: 0.7rem;
  }

  .hero-copy::before {
    top: 4px;
    left: 0;
    width: 4px;
    height: 76px;
  }

  h1 {
    font-size: 2.65rem;
  }

  .hero-title-sub {
    margin-top: 10px;
    font-size: 0.5em;
  }

  h2 {
    font-size: 1.8rem;
  }

  .lead {
    font-size: 1.03rem;
  }

  .profile-panel,
  .theme-card,
  .project-card,
  .ios-app-card {
    padding: 18px;
  }

  .profile-panel {
    margin-right: 7px;
    box-shadow: 7px 7px 0 var(--teal);
  }

  .profile-intro {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
  }

  .avatar {
    width: 82px;
    height: 82px;
  }

  .section {
    padding: 48px 0;
  }

  .curation-portrait {
    padding: 24px 20px;
  }

  .theme-grid,
  .project-grid,
  .ios-app-grid,
  .essay-list {
    grid-template-columns: 1fr;
  }

  .x-choice-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .choice-switcher {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(104px, 0.48fr);
    margin-left: 0;
  }

  .choice-switch-button {
    padding-right: 10px;
    padding-left: 10px;
    line-height: 1.35;
  }

  .x-choice-heading h2 {
    font-size: 1.85rem;
  }

  .x-choice-layout,
  .x-choice-history-list {
    grid-template-columns: 1fr;
  }

  .x-choice-post {
    padding: 21px 20px 18px;
  }

  .theme-card,
  .theme-card:last-child {
    min-height: 320px;
    grid-column: auto;
  }

  .featured-card {
    padding-top: 18px;
  }

  .compact-picks article {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .collection-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .collection-tab {
    min-width: 84px;
    flex: 1 0 auto;
  }

  .filter-group {
    width: 100%;
  }

  .filter-button {
    flex: 1 1 42%;
  }

  .publication-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .publication-filter-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .publication-filter-button {
    width: 100%;
  }

  .publication-search {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .publication-entry {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    padding: 19px 0 20px;
  }

  .publication-year {
    font-size: 0.9rem;
  }

  .publication-kind {
    padding-left: 6px;
    font-size: 0.6rem;
  }

  .publication-citation h4 {
    font-size: 0.98rem;
  }

  .publication-authors,
  .publication-venue {
    font-size: 0.79rem;
  }

  .media-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .media-filter-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-filter-button {
    width: 100%;
  }

  .media-list {
    grid-template-columns: 1fr;
  }

  .panel-heading h3 {
    font-size: 1.25rem;
  }

  .suno-list li {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .suno-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .suno-total-history {
    justify-content: start;
  }

  .suno-meta {
    grid-column: 2;
    white-space: normal;
  }

  .suno-legend {
    justify-content: flex-start;
    margin-top: -6px;
  }

  .suno-sparkline-button {
    width: min(180px, 100%);
    grid-column: 2;
    justify-self: start;
  }

  .suno-sparkline-button svg {
    width: 100%;
  }

  .suno-summary .suno-sparkline-button {
    grid-column: auto;
    justify-self: start;
  }

  .suno-history-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    padding: 18px;
  }

  .suno-dialog-head {
    gap: 12px;
  }

  .suno-dialog-head h3 {
    font-size: 1.35rem;
  }

  .suno-dialog-controls {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .suno-mode-toggle {
    justify-self: start;
  }

  .suno-chart-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
  }

  .ios-app-icon {
    width: 56px;
    height: 56px;
    border-radius: 13px;
  }

  .stats div {
    grid-template-columns: 78px minmax(0, 1fr);
  }
}

@media (max-width: 360px) {
  .nav-links a[href="#whats-new"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .visual-frame > img {
    transition: none;
  }
}
