:root {
  --type-display: clamp(2.1rem, 3.3vw, 3.4rem);
  --type-section-title: 1.75rem;
  --type-listing-title: 1.62rem;
  --type-longform-h2: clamp(2rem, 3.2vw, 2.65rem);
  --type-longform-h3: clamp(1.45rem, 2.5vw, 1.95rem);
  --type-longform-h4: clamp(1.15rem, 2vw, 1.4rem);
}

.home-hero {
  max-width: 900px;
  margin-bottom: 8rem;
  padding: 0;
  border: 0;
}
.home-title {
  font-size: clamp(2.7rem, 5.4vw, 4.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  max-width: 13ch;
}
.hero-copy {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  color: var(--secondary);
  max-width: 32ch;
  opacity: 0.9;
  font-weight: 200;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tertiary);
  opacity: 0.7;
  margin: 0 0 1rem;
}
.feature-card {
  margin-bottom: 9rem;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr);
  gap: 3rem;
  align-items: start;
}
.feature-visual {
  aspect-ratio: 16 / 9;
  position: relative;
  min-height: 320px;
  border-radius: .45rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(62,81,122,0.08), rgba(120,116,145,0.16)), linear-gradient(135deg, #d8e2f3 0%, #edf5fb 58%, #dfe4f2 100%);
}
.feature-visual--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-card .entry-date { margin-bottom: .75rem; }
.feature-card h2 {
  font-size: var(--type-display);
  letter-spacing: 0.03em;
  color: var(--primary-deep);
  margin-bottom: 2rem;
}
.feature-card > *:first-child p:last-of-type {
  margin: 0 0 2rem;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34rem;
  font-weight: 300;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 5rem;
  margin-bottom: 9rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(197, 198, 207, 0.35);
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: var(--type-section-title);
  letter-spacing: 0.05em;
  color: var(--primary-deep);
}
.section-header a,
.section-header .disabled-link {
  font-size: 0.95rem;
  color: var(--secondary);
  font-weight: 300;
}
.note-list {
  display: grid;
  gap: 3rem;
}
.note-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.note-item h3, .listing-card h2 {
  font-size: 1.28rem;
  margin-bottom: 0.7rem;
}
.note-item p:last-child, .listing-card p:last-child { margin-bottom: 0; }
.entry-date, .listing-meta, .post-meta, .note-item time {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(118, 119, 125, 0.72);
  font-weight: 300;
  padding-top: 0.35rem;
}
.empty-state-block {
  padding: 0;
}
.empty-state-block .eyebrow {
  margin-bottom: .25rem;
}
.empty-state-block--panel {
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(197, 198, 207, 0.28);
  background: rgba(255,255,255,0.38);
}
.about-panel {
  background: var(--surface-low);
  padding: 2rem;
}
.about-panel h2 {
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 1.5rem;
}
.about-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.9;
  font-weight: 300;
}
.about-page-shell {
  max-width: 1120px;
  margin: 0 auto 6rem;
}
.about-page-hero {
  max-width: 900px;
  margin: 0 0 6rem;
}
.about-page-hero h1 {
  max-width: 15ch;
  margin: 0 0 2rem;
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--primary-deep);
}
.about-page-intro {
  max-width: 44rem;
  margin: 0;
  color: var(--secondary);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.75;
  font-weight: 300;
}
.about-page-section {
  margin-bottom: 6rem;
}
.about-collaboration-card {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.6fr);
  gap: 3rem;
  padding: 2.2rem;
  border: 1px solid rgba(197, 198, 207, 0.24);
  background: rgba(255,255,255,0.48);
}
.about-collaboration-card h2 {
  margin: 0;
  color: var(--primary-deep);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.12;
}
.about-page-copy {
  display: grid;
  gap: 1.1rem;
}
.about-page-copy p {
  margin: 0;
  color: var(--secondary);
  font-size: 1.02rem;
  line-height: 1.9;
  font-weight: 300;
}
.author-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.author-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.35rem;
  border: 1px solid rgba(197, 198, 207, 0.24);
  background: rgba(255,255,255,0.55);
}
.author-card-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  background: var(--surface-low);
  color: var(--primary-deep);
  font-weight: 700;
}
.author-card-avatar--placeholder {
  border: 1px solid rgba(197, 198, 207, 0.35);
}
.author-card h3 {
  margin: .1rem 0 .35rem;
  font-size: 1.25rem;
  color: var(--primary-deep);
}
.author-card-tagline {
  margin: 0 0 .7rem;
  color: var(--secondary);
  line-height: 1.55;
  font-weight: 400;
}
.author-card-bio {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.75;
  font-weight: 300;
}
.author-card-meta {
  margin: .9rem 0 0;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(118, 119, 125, 0.78);
}
.spotlight-home-section {
  margin: 0 0 6rem;
}
.spotlight-home-section .section-header {
  margin-bottom: 1.5rem;
}
.spotlight-home-card {
  max-width: 1100px;
}
.spotlight-home-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.spotlight-home-media {
  width: 360px;
  aspect-ratio: 16 / 9;
  border-radius: .45rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(62,81,122,0.08), rgba(120,116,145,0.16)), linear-gradient(135deg, #d8e2f3 0%, #edf5fb 58%, #dfe4f2 100%);
}
.spotlight-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spotlight-home-copy {
  min-width: 0;
}
.spotlight-home-card h3 {
  margin: 0 0 .85rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
  color: var(--primary-deep);
}
.spotlight-home-card p {
  max-width: 42rem;
}
.spotlight-home-card .listing-meta,
.spotlight-home-card .tag-row--header {
  margin-bottom: .9rem;
}
.spotlight-home-card .text-link {
  display: inline-flex;
  margin-top: .5rem;
}
.projects-section {
  margin-bottom: 7rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.project-item {
  padding: 2rem;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(197, 198, 207, 0.2);
  transition: background 180ms ease, border-color 180ms ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.project-item:hover {
  background: rgba(229, 239, 245, 0.72);
  border-color: rgba(62, 81, 122, 0.2);
}
.project-card-cover {
  display: block;
  margin: -2rem -2rem 1.65rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #d8e2f3 0%, #edf5fb 58%, #dfe4f2 100%);
}
.project-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}
.project-item:hover .project-card-cover img {
  transform: scale(1.025);
}
.project-card-meta {
  margin: -.3rem 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(118, 119, 125, 0.72);
  font-weight: 300;
}
.project-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 3rem;
  gap: 1rem;
}
.project-top .tag-pill {
  color: var(--secondary);
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  margin-right: 0;
  padding: .24rem .64rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 500;
}
.project-item h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.project-item p {
  margin: 0;
  color: var(--secondary);
  font-size: 0.97rem;
  font-weight: 300;
}
.project-item > p:not(.project-card-meta) {
  margin-bottom: auto;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-deep);
  font-weight: 500;
  opacity: 0;
  transition: opacity 180ms ease;
}
.project-item:hover .project-link { opacity: 1; }
.post-shell-wrap {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}
.post-shell {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}
.post-backlink {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}
.post-backlink--outer {
  display: block;
  width: fit-content;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}
.post-backlink:hover {
  color: var(--primary-deep);
}
.post-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(197, 198, 207, 0.35);
}
.post-header .eyebrow {
  margin-bottom: 1.1rem;
}
.post-cover-wrap {
  margin: 0 0 2.25rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #d8e2f3 0%, #edf5fb 58%, #dfe4f2 100%);
}
.post-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-meta {
  margin: 0 0 1.15rem;
}
.post-meta--header {
  margin: 0 0 1rem;
  font-size: .92rem;
}
.post-meta--byline {
  margin: .45rem 0 0;
}
.post-update-note {
  margin: 0 0 1.15rem;
  color: var(--secondary);
  font-size: 0.92rem;
}
.post-author-card {
  max-width: 700px;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(197, 198, 207, 0.22);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.post-author-card--tight {
  align-items: flex-start;
}
.post-author-copy {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.post-author-avatar-shell {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #dfe7f1 0%, #f2f7fb 100%);
}
.post-author-avatar {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}
.post-author-avatar--placeholder {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(197, 198, 207, 0.3);
  background: linear-gradient(135deg, #d7e1ec 0%, #f4f7fb 100%);
  display: block;
}
.post-author-label {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--secondary);
}
.post-author-card h4 {
  margin: 0 0 .2rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: .02em;
}
.post-author-card p:last-child {
  margin: 0;
  color: var(--secondary);
  font-size: .95rem;
}
.post-author-copy h4 {
  margin: 0;
}
.post-title {
  margin: 0 0 1.1rem;
  font-size: clamp(2.7rem, 4.8vw, 4.9rem);
  line-height: 1.02;
  max-width: 12ch;
}
.post-dek {
  font-size: clamp(1.12rem, 1.8vw, 1.4rem);
  color: var(--secondary);
  margin: 0 0 1.6rem;
  max-width: 42ch;
  font-weight: 200;
  line-height: 1.6;
}
.tag-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag-row--header { margin: 0 0 1.15rem; }
.post-body {
  font-size: 1.1rem;
  line-height: 1.95;
  max-width: 720px;
}
.post-body p { margin: 0 0 1.35rem; }
.post-body p:last-child { margin-bottom: 0; }
.story-shell {
  max-width: 100%;
  margin: 0 auto;
}
.story-progress-track {
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 200px;
  background: #c8c3e3;
  z-index: 40;
}
.story-progress-fill {
  width: 100%;
  height: 35%;
  background: var(--primary-deep);
}
.story-header {
  display: block !important;
  max-width: 680px;
  margin: 0 auto 4.5rem;
  width: 100%;
}
.story-shell > .post-backlink {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}
.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2rem;
}
.story-tags .tag-pill {
  background: var(--surface-low);
}
.story-title {
  display: block;
  width: 100%;
  font-size: clamp(2.7rem, 4.6vw, 4.1rem);
  font-weight: 100;
  color: var(--primary-deep);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 0 1.75rem;
  max-width: 12ch;
}
.story-meta {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: rgba(93, 94, 100, 0.88);
  font-size: .82rem;
  font-weight: 300;
  letter-spacing: .02em;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
.story-dot {
  width: .22rem;
  height: .22rem;
  border-radius: 999px;
  background: rgba(117, 119, 127, 0.45);
}
.story-hero {
  position: relative;
  max-width: 960px;
  margin: 0 auto 3.5rem;
  min-height: 250px;
  border-radius: .35rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(216, 226, 243, 0.58), rgba(243, 250, 255, 0.3)), linear-gradient(135deg, #dfe6f2 0%, #eef3f9 52%, #dde2ee 100%);
}
.story-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(38,58,97,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(38,58,97,0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .5;
}
.story-cover-wrap {
  max-width: 960px;
  margin: 0 auto 3.5rem;
  aspect-ratio: 16 / 9;
  border-radius: .45rem;
  overflow: hidden;
  background: #eef3f9;
}
.story-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.story-content {
  max-width: 660px;
  margin: 0 auto;
  font-size: 1.04rem;
  line-height: 1.86;
  color: var(--text);
}
.story-content p {
  margin: 0 0 1.45rem;
}
.story-content a,
.post-body a {
  color: #3e517a;
  text-decoration-line: underline;
  text-decoration-color: rgba(117, 119, 127, 0.34);
  text-underline-offset: .16em;
}
.story-content a:hover,
.post-body a:hover {
  color: #263a61;
  text-decoration-color: rgba(38, 58, 97, 0.42);
}
.story-content h2,
.post-body h2,
.story-content h3,
.post-body h3,
.story-content h4,
.post-body h4 {
  color: #263a61;
  font-weight: 100;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 2.25rem 0 1rem;
}
.story-content h2,
.post-body h2 { font-size: var(--type-longform-h2); }
.story-content h3,
.post-body h3 { font-size: var(--type-longform-h3); }
.story-content h4,
.post-body h4 { font-size: var(--type-longform-h4); }
.story-content pre,
.post-body pre,
.story-content code,
.post-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.story-content pre,
.post-body pre {
  background: #1f2937;
  color: #e5eef8;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  overflow-x: auto;
  line-height: 1.7;
  margin: 1.6rem 0;
}
.story-content code,
.post-body code {
  background: rgba(62, 81, 122, 0.08);
  padding: .12rem .35rem;
  border-radius: 6px;
  font-size: .95em;
}
.story-content pre code,
.post-body pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: inherit;
}
.story-pullquote {
  position: relative;
  margin: 2.5rem 0;
  padding: 1rem 0 1rem 1.7rem;
}
.story-pullquote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(62, 81, 122, 0.26);
}
.story-pullquote p {
  margin: 0;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  font-weight: 200;
  font-style: italic;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--primary);
}
.story-signoff {
  max-width: 700px;
  margin: 4rem auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(197, 198, 207, 0.12);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.story-signoff--inline {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(197, 198, 207, 0.22);
}
.story-signoff--tight {
  align-items: flex-start;
}
.story-signoff-avatar-shell {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #dfe7f1 0%, #f2f7fb 100%);
}
.story-signoff-avatar {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}
.story-signoff-avatar--placeholder {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(197, 198, 207, 0.3);
  background: linear-gradient(135deg, #d7e1ec 0%, #f4f7fb 100%);
  display: block;
}
.story-signoff h4 {
  margin: 0 0 .2rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: .02em;
}
.story-signoff p {
  margin: 0;
  color: var(--secondary);
  font-size: .95rem;
}
.listing-shell {
  display: grid;
  gap: 2.75rem;
  width: 100%;
  max-width: 1120px;
}
.listing-header {
  max-width: 780px;
  margin-bottom: .5rem;
}
.listing-header h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  margin-bottom: 1rem;
  max-width: 12ch;
}
.listing-header .muted {
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 44ch;
}
.user-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.user-menu summary {
  list-style: none;
}
.user-menu summary::-webkit-details-marker {
  display: none;
}
.user-menu-trigger {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid rgba(197, 198, 207, 0.42);
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.user-menu-trigger:hover,
.user-menu[open] .user-menu-trigger {
  border-color: rgba(38, 58, 97, 0.26);
  box-shadow: 0 10px 26px rgba(38, 58, 97, 0.11);
  transform: translateY(-1px);
}
.user-menu-avatar {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  object-fit: cover;
  background: var(--surface-low);
  color: var(--primary-deep);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.user-menu-panel {
  position: absolute;
  top: calc(100% + .75rem);
  right: 0;
  z-index: 80;
  min-width: 190px;
  display: grid;
  gap: .2rem;
  padding: .65rem;
  border: 1px solid rgba(197, 198, 207, 0.35);
  border-radius: 16px;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: 0 18px 54px rgba(23, 33, 43, 0.14);
  backdrop-filter: blur(18px);
  letter-spacing: 0;
}
.user-menu-name {
  margin: 0 0 .35rem;
  padding: .45rem .55rem .6rem;
  border-bottom: 1px solid rgba(197, 198, 207, 0.28);
  color: var(--primary-deep);
  font-size: .84rem;
  font-weight: 600;
}
.site-header nav .user-menu-panel a,
.site-header nav .user-menu-panel button.nav-link {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  padding: .55rem .6rem;
  border: 0;
  border-radius: 10px;
  color: var(--secondary);
  text-align: left;
  text-decoration: none;
}
.site-header nav .user-menu-panel a:hover,
.site-header nav .user-menu-panel button.nav-link:hover,
.site-header nav .user-menu-panel a:focus-visible,
.site-header nav .user-menu-panel button.nav-link:focus-visible {
  background: rgba(229, 239, 245, 0.75);
  border-bottom-color: transparent;
  color: var(--primary-deep);
}
.user-menu-panel form {
  margin: 0;
}
.collection-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 1rem;
}
.collection-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .82rem;
  border: 1px solid rgba(197, 198, 207, 0.35);
  border-radius: 999px;
  background: rgba(255,255,255,0.38);
  color: var(--secondary);
  text-decoration: none;
  font-size: .92rem;
}
.collection-chip:hover { background: rgba(229, 239, 245, 0.72); }
.collection-chip--active {
  background: rgba(229, 239, 245, 0.72);
  color: var(--primary-deep);
  border-color: rgba(62, 81, 122, 0.2);
}
.collection-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  font-size: .8rem;
  font-weight: 500;
}
.listing-card {
  padding: 0 0 2.6rem;
  border-bottom: 1px solid rgba(197, 198, 207, 0.35);
  max-width: 100%;
}
.listing-card--with-cover {
  display: grid;
  grid-template-columns: minmax(8.5rem, 12rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.listing-card-cover {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
  background: rgba(229, 239, 245, 0.72);
  box-shadow: 0 16px 40px rgba(23, 33, 43, 0.08);
}
.listing-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}
.listing-card-cover:hover img {
  transform: scale(1.03);
}
.listing-card h2 {
  font-size: var(--type-listing-title);
  margin: .45rem 0 .85rem;
  max-width: 30ch;
}
.listing-card p {
  color: var(--secondary);
  line-height: 1.85;
  max-width: 70ch;
}
.listing-card-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem 1.5rem;
  margin-top: 1.15rem;
}
.listing-tag-row {
  align-items: center;
}
.listing-tag-row .tag-pill {
  margin-right: 0;
  font-size: 0.78rem;
  color: var(--primary);
}
.listing-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-deep);
  font-weight: 500;
  white-space: nowrap;
  align-self: start;
  padding-bottom: .15rem;
}
.notes-feed {
  display: grid;
  gap: 5.25rem;
  margin-top: 1.25rem;
}
.note-feed-item {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 3rem;
  padding: 1.25rem 1.5rem;
  margin: 0 -1.5rem;
  border-radius: 1rem;
  transition: background-color 180ms ease;
}
.note-feed-item:hover {
  background: rgba(229, 239, 245, 0.45);
}
.note-feed-meta {
  padding-top: 0.25rem;
}
.note-feed-date {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(38, 58, 97, 0.82);
}
.note-feed-date--repeat {
  visibility: hidden;
}
.note-feed-title-row {
  display: flex;
  align-items: baseline;
  gap: .85rem;
  flex-wrap: wrap;
  margin-bottom: .95rem;
}
.note-feed-tag {
  margin-right: 0;
  flex: 0 0 auto;
  color: var(--primary);
}
.note-feed-title {
  font-size: 1.45rem;
  font-weight: 200;
  letter-spacing: 0.03em;
  color: var(--primary);
  margin: 0;
}
.note-feed-body {
  color: var(--text);
  line-height: 1.8;
  font-size: 1.06rem;
}
.note-feed-body p {
  margin: 0 0 1rem;
}
.note-feed-body p:last-child {
  margin-bottom: 0;
}
.note-feed-linkrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-top: 0.75rem;
  color: rgba(117, 119, 127, 0.8);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.note-feed-linkicon {
  font-size: 0.95rem;
  line-height: 1;
}
.disabled-link { color: rgba(118, 119, 125, 0.6); text-decoration: none; cursor: default; pointer-events: none; }
@media (max-width: 1100px) {
  .feature-card,
  .content-grid,
  .projects-grid,
  .spotlight-home-layout,
  .about-collaboration-card {
    grid-template-columns: 1fr;
  }
  .feature-visual { min-height: 420px; }
  .spotlight-home-media {
    width: 100%;
    min-height: 260px;
  }
  .listing-card-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .listing-card--with-cover {
    grid-template-columns: minmax(7rem, 9rem) minmax(0, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 800px) {
  .home-hero { margin-bottom: 5rem; }
  .about-page-hero,
  .about-page-section,
  .feature-card,
  .content-grid,
  .projects-section { margin-bottom: 5rem; }
  .projects-grid { gap: 1rem; }
  .project-item,
  .about-panel,
  .about-collaboration-card { padding: 1.5rem; }
  .note-item,
  .note-feed-item,
  .author-card,
  .listing-card--with-cover {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .listing-card-cover {
    max-width: 22rem;
  }
  .note-feed-item {
    margin: 0;
    padding: 0 0 2rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(197, 198, 207, 0.25);
  }
  .note-feed-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: .45rem;
  }
  .story-progress-track {
    display: none;
  }
  .story-header,
  .story-content,
  .story-signoff,
  .story-hero {
    margin-left: 0;
    margin-right: 0;
  }
  .post-backlink--outer {
    margin-left: 0;
    margin-right: 0;
  }
  .story-hero {
    min-height: 260px;
    margin-bottom: 3rem;
  }
  .story-pullquote {
    padding-left: 1.5rem;
  }
}

.brand-guide-shell {
  display: grid;
  gap: 5rem;
  margin-bottom: 7rem;
}
.brand-guide-hero {
  max-width: 62rem;
}
.brand-guide-hero h1 {
  font-size: var(--type-display);
  letter-spacing: -0.02em;
  color: var(--primary-deep);
  margin: 0 0 1.35rem;
}
.brand-guide-intro {
  max-width: 40rem;
  font-size: 1.08rem;
  line-height: 1.9;
}
.brand-guide-section {
  display: grid;
  gap: 1.8rem;
}
.brand-guide-grid {
  display: grid;
  gap: 1.5rem;
}
.brand-guide-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.brand-guide-card {
  padding: 1.5rem;
}
.brand-guide-card p:last-child,
.brand-guide-type-row code,
.brand-swatch code {
  margin-bottom: 0;
}
.brand-guide-swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.brand-swatch {
  display: grid;
  gap: .5rem;
  padding: 1rem;
  border: 1px solid rgba(197, 198, 207, 0.35);
  background: rgba(255,255,255,0.58);
}
.brand-swatch-chip {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 2.4;
  border-radius: 16px;
}
.brand-guide-stack {
  display: grid;
  gap: 1rem;
}
.brand-guide-type-row {
  padding: 1.4rem 1.5rem;
}
.brand-guide-type {
  color: var(--primary-deep);
  margin: 0 0 .85rem;
}
.brand-guide-type--display {
  font-size: var(--type-display);
  line-height: 1.05;
  max-width: 14ch;
}
.brand-guide-type--section {
  font-size: var(--type-section-title);
}
.brand-guide-type--listing {
  font-size: var(--type-listing-title);
  max-width: 30ch;
}
.brand-guide-type--longform-h2 {
  font-size: var(--type-longform-h2);
}
.brand-guide-type--longform-h3 {
  font-size: var(--type-longform-h3);
}
.brand-guide-type--longform-h4 {
  font-size: var(--type-longform-h4);
}
.brand-guide-example-card,
.brand-guide-project-example,
.brand-guide-prose {
  height: 100%;
}
.brand-guide-prose {
  padding: 1.6rem;
}
@media (max-width: 900px) {
  .brand-guide-grid--two,
  .brand-guide-swatches {
    grid-template-columns: 1fr;
  }
}
.brand-swatch-preview {
  margin: .1rem 0 0;
  line-height: 1.7;
}
.brand-swatch-preview--primary {
  color: var(--primary-deep);
  font-size: 1.15rem;
}
.brand-swatch-preview--secondary {
  color: var(--secondary);
}
.brand-swatch-preview--tertiary {
  color: var(--tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: .82rem;
}
.brand-swatch-preview--surface {
  background: var(--surface-low);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: .9rem;
}
.brand-swatch small {
  color: var(--secondary);
  font-size: .82rem;
  letter-spacing: 0.04em;
}
.brand-swatch-chip {
  min-height: 88px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.projects-grid--archive {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}
.project-item--archive {
  min-height: 320px;
  background: rgba(255,255,255,0.72);
}
.project-archive-title {
  font-size: var(--type-listing-title);
  margin: 0 0 1rem;
  max-width: 20ch;
}
.project-archive-tags {
  margin-top: 1.25rem;
}
.project-item .project-archive-tags {
  margin-top: 1.35rem;
}
.project-link--visible {
  opacity: 1;
}
@media (max-width: 900px) {
  .projects-grid--archive {
    grid-template-columns: 1fr;
  }
}

.article-visual--explainer {
  width: min(960px, calc(100vw - 3rem));
  margin: clamp(2.25rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4.25rem);
  margin-left: 50%;
  transform: translateX(-50%);
  padding: clamp(1rem, 2.5vw, 1.45rem);
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: 28px;
}
.article-visual--explainer img,
.article-visual--explainer svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}
.article-visual--explainer figcaption {
  margin-top: .95rem;
  color: var(--secondary);
  font-size: .95rem;
  line-height: 1.5;
}
