@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap");

:root {
  --paper: #f5efe1;
  --paper-deep: #ece4d0;
  --ink: #1a1a1a;
  --coral: #ee5d4d;
  --mint: #8fc5a8;
  --mustard: #e2a946;
  --inkblue: #2e4a7b;

  --accent-card-bg: #2e4a7b;
  --accent-card-text: #f5efe1;
  --shadow-offset: #1a1a1a;
  --credit-text: rgba(26, 26, 26, 0.6);
  --label-bg: #ece4d0;
}

[data-theme="dark"] {
  --paper: #1c1f2b;
  --paper-deep: #262a38;
  --ink: #ede4d0;
  --coral: #f29385;
  --mint: #a8d4ba;
  --mustard: #e8b85a;
  --inkblue: #8aa9d8;

  --accent-card-bg: #4d3a52;
  --accent-card-text: #f5efe1;
  --shadow-offset: rgba(237, 228, 208, 0.6);
  --credit-text: rgba(237, 228, 208, 0.55);
  --label-bg: #2a2f3e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
}

html,
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(238, 93, 77, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(46, 74, 123, 0.04) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(242, 147, 133, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(138, 169, 216, 0.05) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--ink);
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: min(94%, 1400px);
  margin: 0 auto;
  padding: 40px 30px 80px;

  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.top-strip {
  grid-column: 1 / -1;

  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);

  padding: 14px 0;
  margin-bottom: 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  gap: 12px;

  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.top-strip .issue {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.top-strip .issue .dot {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
}

.top-strip nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.top-strip nav a {
  position: relative;
  padding-bottom: 2px;
  transition: color 0.15s ease;
}

.top-strip nav a:hover {
  color: var(--coral);
}

.top-strip nav a.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--coral);
}

.sidebar {
  position: sticky;
  top: 30px;
}

.masthead {
  margin-bottom: 28px;
}

.masthead .kicker {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;

  color: var(--coral);
  background: var(--label-bg);

  margin-bottom: 8px;
  display: inline-block;
  padding: 3px 8px;

  transform: rotate(-2deg);
}

.masthead h1 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 64px;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.masthead h1 .swash {
  font-style: italic;
  font-weight: 700;
  color: var(--coral);
}

.masthead .tagline {
  font-family: "Caveat", cursive;
  font-size: 22px;
  display: inline-block;
  margin-top: 4px;
}

.avatar-mini {
  width: 64px;
  height: 64px;
  object-fit: cover;

  border: 1.5px solid var(--ink);
  margin-bottom: 16px;

  box-shadow: 3px 3px 0 var(--shadow-offset);
}

.s-card {
  background: var(--paper-deep);
  border: 1.5px solid var(--ink);

  padding: 18px 16px;
  margin-bottom: 18px;

  position: relative;

  box-shadow: 4px 4px 0 var(--shadow-offset);
}

.s-card .s-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--inkblue);
  margin-bottom: 8px;
  font-weight: 700;
}

.s-card .s-label::before {
  content: "\203B";
  margin-right: 6px;
  color: var(--coral);
}

.s-card p {
  font-family: "Fraunces", serif;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 8px;
}

.s-card .meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.s-card .meta span {
  font-size: 10px;
  padding: 2px 7px;
  background: var(--paper);
  border: 1px solid var(--ink);
}

.s-links {
  border-top: 2px dashed var(--ink);
  padding-top: 16px;
  margin-bottom: 18px;
}

.s-links .s-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
}

.s-links .s-label::before {
  content: "\2192";
  margin-right: 6px;
  color: var(--coral);
}

.s-links ul {
  list-style: none;
}

.s-links li {
  padding: 4px 0;
  font-family: "Fraunces", serif;
  font-size: 15px;
}

.s-links li::before {
  content: "\25CB";
  margin-right: 8px;
  font-size: 10px;
  color: var(--mint);
}

.s-links li a {
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: all 0.15s ease;
}

.s-links li a:hover {
  color: var(--coral);
  border-bottom-color: var(--coral);
  padding-left: 6px;
}

.now-playing {
  background: var(--accent-card-bg);
  color: var(--accent-card-text);

  padding: 14px 16px;

  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--shadow-offset);

  margin-bottom: 18px;
}

.np-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 6px;
}

.np-title {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.np-artist {
  font-size: 11px;
  opacity: 0.85;
}

.bars {
  display: flex;
  gap: 3px;
  margin-top: 10px;
  align-items: flex-end;
  height: 14px;
}

.bars span {
  width: 3px;
  background: var(--coral);
}

.bars span:nth-child(1) { height: 60%; }
.bars span:nth-child(2) { height: 90%; }
.bars span:nth-child(3) { height: 40%; }
.bars span:nth-child(4) { height: 75%; }
.bars span:nth-child(5) { height: 55%; }

.socials {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.socials a {
  width: 34px;
  height: 34px;

  border: 1.5px solid var(--ink);
  background: var(--paper);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.15s ease;
}

.socials a:hover {
  background: var(--coral);
  color: var(--paper);
  transform: translateY(-2px);
}

.socials a svg {
  width: 16px;
  height: 16px;
}

.theme-toggle {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;

  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);

  padding: 8px 12px;

  cursor: pointer;
  width: 100%;

  transition: all 0.15s ease;
}

.theme-toggle:hover {
  background: var(--ink);
  color: var(--paper);
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}

.page-banner {
  border: 1.5px solid var(--ink);
  background: var(--paper-deep);

  padding: 12px 16px;
  margin-bottom: 4px;

  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  box-shadow: 4px 4px 0 var(--shadow-offset);
}

.page-banner strong {
  color: var(--coral);
}

.post {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  position: relative;
  box-shadow: 6px 6px 0 var(--shadow-offset);

}

.post-head {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 14px 18px 10px;
  border-bottom: 1.5px dashed var(--ink);
}

.upload-kind {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 700;
}

.post-head .timestamp,
.post-head .timestamp {
  margin-left: auto;

  font-size: 10px;
  opacity: 0.55;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-body {
  padding: 18px 22px;
}

.post-body h2 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.post-body h3 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  margin: 10px 0 8px;
}

.post-body p {
  font-family: "Fraunces", serif;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 10px;
}

.post-body p:last-child {
  margin-bottom: 0;
}

.post-body > a:not(.media-link),
.post-body p a {
  color: var(--coral);
  border-bottom: 1px solid var(--coral);
}

.post-body > a:not(.media-link):hover,
.post-body p a:hover {
  background: var(--coral);
  color: var(--paper);
}

.post-body blockquote {
  border-left: 3px solid var(--mint);
  padding-left: 14px;
  margin: 10px 0;
  font-style: italic;
}

.post-body ul,
.post-body ol {
  padding-left: 24px;
  margin: 10px 0;
  font-family: "Fraunces", serif;
}

.post-body li {
  margin-bottom: 4px;
}

.photo-block,
.video-block {
  width: calc(100% + 44px);
  margin: -18px -22px 18px;

  border-bottom: 1.5px dashed var(--ink);
  background: var(--paper-deep);

  overflow: hidden;
}

.photo-block img {
  width: 100%;
  height: auto;
  display: block;
  filter: none;
  transform: none;
}

.video-block video {
  width: 100%;
  display: block;
  background: #000;
  transform: none;
}

.media-link {
  display: block;
  border: 0 !important;
}

.media-link:hover {
  background: transparent !important;
}

.gallery-grid {
  width: calc(100% + 44px);
  margin: -18px -22px 18px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 2px;
  background: var(--ink);

  border-bottom: 1.5px dashed var(--ink);
}

.gallery-grid a {
  background: var(--paper-deep);
  display: block;
  min-width: 0;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 520px;

  object-fit: cover;

  filter: none;
  transform: none;
}

.tags {
  padding: 0 22px 14px;

  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span {
  font-size: 10px;
  color: var(--inkblue);

  padding: 2px 6px;

  background: var(--paper-deep);
  border: 1px solid transparent;
}

.tags span::before {
  content: "#";
  opacity: 0.6;
}

.feed-message {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--shadow-offset);
  padding: 20px 22px;
}

.feed-message p {
  font-family: "Fraunces", serif;
  font-size: 15px;
}

.credit {
  grid-column: 1 / -1;

  margin-top: 60px;
  padding-top: 24px;

  border-top: 1px dashed var(--ink);

  text-align: center;

  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;

  color: var(--credit-text);
}

.credit a {
  color: var(--coral);
  border-bottom: 1px solid var(--coral);
}

@media (max-width: 900px) {

  .wrap {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px 16px 60px;
  }

  .sidebar {
    position: static;
  }

  .masthead h1 {
    font-size: 52px;
  }

  .post-body {
    padding: 16px 18px;
  }

  .photo-block,
  .video-block,
  .gallery-grid {
    width: calc(100% + 36px);
    margin: -16px -18px 16px;
  }

  .tags {
    padding: 0 18px 12px;
  }
}

@media (max-width: 560px) {

  html,
  body {
    font-size: 13px;
  }

  .wrap {
    padding: 14px 10px 45px;
  }

  .top-strip nav {
    gap: 14px;
  }

  .masthead h1 {
    font-size: 46px;
  }

  .feed {
    gap: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    min-height: 0;
    max-height: none;
    object-fit: contain;
  }

  .post-body h2 {
    font-size: 25px;
  }
}

.top-strip {
  justify-content: flex-end;
}

.avatar-mini,
.page-banner,
.credit,
.tags {
  display: none !important;
}

.all-posts-link {
  display: inline-block;
  margin-top: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  border-bottom: 1px solid var(--coral);
}

.all-posts-link:hover {
  background: var(--coral);
  color: var(--paper);
}

.view-controls {
  display: grid;
  gap: 8px;
}

.theme-credit-mini {
  margin-top: 12px;
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.45;
}

.theme-credit-mini a {
  border-bottom: 1px dotted currentColor;
}

.feed {
  align-self: start;
}

#upload-feed.gallery-mode {
  display: block;
  column-count: 3;
  column-gap: 18px;
}

#upload-feed.gallery-mode .upload-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;

  min-width: 0;
  box-shadow: 4px 4px 0 var(--shadow-offset);
}

#upload-feed.gallery-mode .upload-card .post-head,
#upload-feed.gallery-mode .upload-card .upload-text {
  display: none;
}

#upload-feed.gallery-mode .upload-card .post-body {
  padding: 0;
}

#upload-feed.gallery-mode .upload-card .photo-block,
#upload-feed.gallery-mode .upload-card .video-block,
#upload-feed.gallery-mode .upload-card .gallery-grid {
  width: 100%;
  margin: 0;
  border-bottom: 0;
}

#upload-feed.gallery-mode .upload-card .photo-block img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

#upload-feed.gallery-mode .upload-card .video-block video {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

#upload-feed.gallery-mode .upload-card .gallery-grid {
  display: block;
  background: transparent;
}

#upload-feed.gallery-mode .upload-card .gallery-grid a {
  display: none;
}

#upload-feed.gallery-mode .upload-card .gallery-grid a:first-child {
  display: block;
}

#upload-feed.gallery-mode .upload-card .gallery-grid img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.blog-card .post-body img {
  margin: 14px 0;
  border: 1.5px solid var(--ink);
}

@media (max-width: 1100px) {
  #upload-feed.gallery-mode {
    column-count: 2;
    column-gap: 16px;
  }
}

@media (max-width: 560px) {
  #upload-feed.gallery-mode {
    column-count: 1;
  }

  #upload-feed.gallery-mode .upload-card {
    margin-bottom: 12px;
  }
}

.anchor-target {
  display: block;
  position: relative;
  top: -20px;
  visibility: hidden;
}

.socials-intro {
  margin-bottom: 22px !important;
}

.social-page-links {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.social-page-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;

  padding: 18px 20px;

  background: var(--paper-deep);
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--shadow-offset);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.social-page-link:hover {
  background: var(--coral);
  color: var(--paper);

  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--shadow-offset);
}

.social-name {
  font-family: "Fraunces", serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 700;
}

.social-handle {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

.social-page-link:hover .social-handle {
  color: var(--paper);
}

@media (max-width: 560px) {
  .social-page-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

.blog-content:not(.short-post)::after {
  content: "";
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 52px;

  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(245, 239, 225, 0),
      var(--paper)
    );
}

.blog-card.expanded .blog-content {
  max-height: none;
  overflow: visible;
}

.blog-card.expanded .blog-content::after {
  display: none;
}

.blog-expand-button {
  margin-top: 16px;

  padding: 7px 12px;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  background: var(--paper-deep);
  color: var(--ink);

  border: 1.5px solid var(--ink);

  cursor: pointer;

  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.blog-expand-button:hover {
  background: var(--coral);
  color: var(--paper);

  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--shadow-offset);
}

.blog-expand-button[hidden] {
  display: none;
}

.blog-details {
  margin-top: 2px;
}

.blog-details summary {
  list-style: none;
  cursor: pointer;
}

.blog-details summary::-webkit-details-marker {
  display: none;
}

.blog-preview-text {
  display: block;

  font-family: "Fraunces", serif;
  font-size: 15px;
  line-height: 1.65;

  margin-bottom: 14px;
}

.blog-toggle-label {
  display: inline-block;

  padding: 7px 12px;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  background: var(--paper-deep);
  color: var(--ink);

  border: 1.5px solid var(--ink);

  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.blog-toggle-label::before {
  content: "read more";
}

.blog-details[open] .blog-toggle-label::before {
  content: "show less";
}

.blog-details summary:hover .blog-toggle-label {
  background: var(--coral);
  color: var(--paper);

  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--shadow-offset);
}

.blog-details[open] .blog-preview-text {
  display: none;
}

.blog-details[open] .blog-full-content {
  margin-top: 2px;
  margin-bottom: 14px;
}

.blog-full-content img {
  max-width: 100%;
  height: auto;
}

.blog-full-content p {
  margin-bottom: 18px;
}

.blog-full-content p:last-child {
  margin-bottom: 0;
}

.about-page {
  min-width: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-section-card {
  background: var(--paper-deep);
  border: 1.5px solid var(--ink);

  padding: 20px;

  box-shadow: 4px 4px 0 var(--shadow-offset);
}

.about-section-label {
  margin-bottom: 12px;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: var(--inkblue);
}

.about-section-label::before {
  content: "\203B";
  margin-right: 7px;
  color: var(--coral);
}

.about-section-card p {
  font-family: "Fraunces", serif;
  font-size: 15px;
  line-height: 1.65;
}

.about-skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-skill-list li {
  padding: 6px 0;

  font-family: "Fraunces", serif;
  font-size: 16px;

  border-bottom: 1px dashed var(--ink);
}

.about-skill-list li:last-child {
  border-bottom: 0;
}

.about-skill-list li::before {
  content: "\25CB";
  margin-right: 9px;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;

  color: var(--mint);
}

.about-edit-note {
  opacity: 0.65;
  font-style: italic;
}

@media (max-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {

  .sidebar {
    text-align: center;
  }

  .masthead {
    margin-bottom: 16px;
    text-align: center;
  }

  .masthead .kicker {
    font-size: 8px;
    letter-spacing: 0.16em;
    margin-bottom: 6px;
    transform: none;
  }

  .masthead h1 {
    font-size: 38px;
    line-height: 0.9;
    margin-bottom: 8px;
  }

  .masthead .tagline {
    font-size: 17px;
    line-height: 1.2;
    margin-top: 2px;
  }

  .sidebar .s-card,
  .sidebar .s-links {
    display: none;
  }

  .view-controls,
  .sidebar > .theme-toggle {
    width: min(100%, 260px);
    margin-left: auto;
    margin-right: auto;
  }

  .theme-credit-mini {
    margin-top: 10px;
  }
}

.masthead h1,
.masthead h1 a,
.masthead h1 .swash {
  font-family: "Bangers", "Fraunces", serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.035em;
}

.masthead h1 .swash {
  color: var(--coral);
}

.masthead .kicker {
  font-family: "Permanent Marker", "JetBrains Mono", monospace;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.masthead .tagline {
  font-family: "Permanent Marker", "Caveat", cursive;
  font-style: normal;
  letter-spacing: 0.01em;
}

.top-strip nav,
.top-strip nav a {
  font-family: "Bangers", "JetBrains Mono", sans-serif;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.post-body h2,
.post-body h3 {
  font-family: "Bangers", "Fraunces", serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.035em;
}

.upload-kind,
.s-card .s-label,
.s-links .s-label,
.about-section-label {
  font-family: "Bangers", "JetBrains Mono", sans-serif;
  font-weight: 400;
  letter-spacing: 0.11em;
}

.theme-toggle,
.blog-expand-button,
.blog-toggle-label {
  font-family: "Bangers", "JetBrains Mono", sans-serif;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.social-name {
  font-family: "Bangers", "Fraunces", serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
}

@media (min-width: 901px) {
  .masthead h1 {
    font-size: 68px;
    line-height: 0.82;
  }
}

@media (max-width: 560px) {
  .masthead h1 {
    font-size: 42px;
    line-height: 0.86;
  }

  .masthead .kicker {
    font-size: 9px;
  }

  .masthead .tagline {
    font-size: 16px;
  }

  .top-strip nav,
  .top-strip nav a {
    letter-spacing: 0.09em;
  }
}

.gallery-caption {
  display: none;
}

#upload-feed.gallery-mode .gallery-caption {
  display: block;

  padding: 10px 11px 11px;

  background: var(--paper);

  border-top: 1px dashed var(--ink);
}

#upload-feed.gallery-mode .gallery-caption-title {
  font-family: "Fraunces", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;

  margin-bottom: 3px;
}

#upload-feed.gallery-mode .gallery-caption-description {
  font-family: "Fraunces", serif;
  font-size: 12px;
  line-height: 1.4;

  opacity: 0.78;

  margin-bottom: 5px;
}

#upload-feed.gallery-mode .gallery-caption-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;

  letter-spacing: 0.1em;
  text-transform: uppercase;

  opacity: 0.5;
}

#upload-feed.gallery-mode .upload-text {
  display: none;
}

@media (max-width: 560px) {

  #upload-feed.gallery-mode .gallery-caption {
    padding: 8px 9px 9px;
  }

  #upload-feed.gallery-mode .gallery-caption-title {
    font-size: 14px;
  }

  #upload-feed.gallery-mode .gallery-caption-description {
    font-size: 11px;
  }

}

@media (max-width: 560px) {

  .new-masthead {
    text-align: center;
    margin-bottom: 14px;
  }

  .portfolio-label {
    font-size: 8px;
  }

  .portfolio-name {
    font-size: 40px;
  }

  .portfolio-disciplines {
    font-size: 8px;
  }

  .learning-badge {
    font-size: 8px;
  }
}

.upload-card .post-body,
.blog-card .post-body,
.upload-card .post-body p,
.blog-card .post-body p,
.blog-full-content,
.blog-full-content p,
.blog-preview-text {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
}

.upload-card .post-body p,
.blog-card .post-body p,
.blog-full-content,
.blog-full-content p,
.blog-preview-text {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.upload-card .upload-text h2 {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.blog-card .post-body > h2 {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.blog-card .blog-full-content h2,
.blog-card .blog-full-content h3,
.upload-card .post-body h3 {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.upload-card .post-body em,
.upload-card .post-body i,
.blog-card .post-body em,
.blog-card .post-body i {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-style: italic;
}

#upload-feed.gallery-mode .gallery-caption-title {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: 2px;
}

#upload-feed.gallery-mode .gallery-caption-description {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  opacity: 0.78;
  margin-bottom: 5px;
}

.blog-card .blog-full-content li,
.blog-card .blog-full-content blockquote {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 560px) {

  .upload-card .post-body p,
  .blog-card .post-body p,
  .blog-full-content,
  .blog-full-content p,
  .blog-preview-text,
  .blog-card .blog-full-content li,
  .blog-card .blog-full-content blockquote {
    font-size: 16px;
  }

  .upload-card .upload-text h2 {
    font-size: 18px;
  }

  .blog-card .post-body > h2 {
    font-size: 22px;
  }

  #upload-feed.gallery-mode .gallery-caption-title {
    font-size: 13px;
  }

  #upload-feed.gallery-mode .gallery-caption-description {
    font-size: 12px;
  }
}

.new-masthead {
  margin-bottom: 28px;
}

.portfolio-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 5px;
}

.portfolio-name {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  padding-bottom: 8px;
  margin-bottom: 9px;
  border-bottom: 3px solid var(--ink);
  text-decoration: none;
  color: var(--ink);
}

.portfolio-name:hover {
  color: var(--coral);
}

.portfolio-disciplines {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 12px;
}

.learning-badge {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  color: var(--ink);
  background: var(--mustard);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--shadow-offset);
}

@media (max-width: 560px) {

  .new-masthead {
    text-align: center;
    margin-bottom: 14px;
  }

  .portfolio-label {
    font-size: 8px;
  }

  .portfolio-name {
    font-size: 40px;
  }

  .portfolio-disciplines {
    font-size: 8px;
  }

  .learning-badge {
    font-size: 8px;
  }
}

.sidebar .s-card p {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.sidebar .s-links li a,
.sidebar .all-posts-link {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  letter-spacing: 0.01em;
}

.sidebar .s-links li a {
  font-size: 14px;
  line-height: 1.45;
}

.sidebar .all-posts-link {
  font-size: 11px;
}

.about-page .post-body,
.about-page .post-body p,
.about-page .post-body li,
.about-page .post-body a,
.about-page .about-section-card,
.about-page .about-section-card p,
.about-page .about-section-card li,
.about-page .about-skill-list,
.about-page .about-skill-list li {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  letter-spacing: 0.01em;
}

.about-page .post-body h2,
.about-page .post-body h3 {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.about-page .post-body p,
.about-page .about-section-card p,
.about-page .about-skill-list li {
  font-size: 16px;
  line-height: 1.65;
}

.about-page .post-body p {
  margin-bottom: 18px;
}

.about-page .post-body p:last-child {
  margin-bottom: 0;
}

.about-page .about-skill-list li {
  padding-top: 7px;
  padding-bottom: 7px;
}

.about-page em,
.about-page i {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-style: italic;
}

.socials-card .post-body,
.socials-card .post-body p,
.socials-card .post-body h2,
.socials-card .social-page-link,
.socials-card .social-name,
.socials-card .social-handle {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  letter-spacing: 0.01em;
}

.socials-card .post-body h2,
.socials-card .social-name {
  font-weight: 700;
  letter-spacing: 0;
}

.socials-card .post-body p {
  font-size: 16px;
  line-height: 1.65;
}

.socials-card .social-name {
  font-size: 18px;
}

.socials-card .social-handle {
  font-size: 13px;
}

@media (max-width: 560px) {

  .sidebar .s-card p {
    font-size: 15px;
  }

  .about-page .post-body p,
  .about-page .about-section-card p,
  .about-page .about-skill-list li,
  .socials-card .post-body p {
    font-size: 16px;
  }

}

body.gallery-viewer-open {
  overflow: hidden;
}

.gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
  place-items: center;

  padding: 18px;

  background: rgba(20, 18, 18, 0.92);
}

.gallery-viewer.is-open {
  display: grid;
}

.gallery-viewer-panel {
  position: relative;

  width: min(1500px, 96vw);
  height: min(94vh, 1050px);

  display: grid;

  grid-template-columns: 54px minmax(0, 1fr) 54px;
  grid-template-rows: minmax(0, 1fr) auto;

  gap: 10px;

  padding: 18px;

  background: var(--paper);
  color: var(--ink);

  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.35);
}

.gallery-viewer-stage {
  grid-column: 2;
  grid-row: 1;

  min-width: 0;
  min-height: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: #111;

  border: 1.5px solid var(--ink);

  touch-action: pan-y;
}

.gallery-viewer-image {
  display: block;

  width: auto;
  height: auto;

  max-width: 100%;
  max-height: 100%;

  object-fit: contain;

  user-select: none;
  -webkit-user-select: none;
}

.gallery-viewer-arrow,
.gallery-viewer-close {
  font-family: "JetBrains Mono", monospace;

  color: var(--ink);
  background: var(--paper);

  border: 1.5px solid var(--ink);

  cursor: pointer;
}

.gallery-viewer-arrow:hover,
.gallery-viewer-close:hover {
  background: var(--mustard);
}

.gallery-viewer-arrow:disabled {
  opacity: 0.25;
  cursor: default;
  background: var(--paper);
}

.gallery-viewer-arrow {
  align-self: center;

  width: 46px;
  height: 46px;

  font-size: 22px;
  font-weight: 700;
}

.gallery-viewer-prev {
  grid-column: 1;
  grid-row: 1;
}

.gallery-viewer-next {
  grid-column: 3;
  grid-row: 1;
}

.gallery-viewer-close {
  position: absolute;

  top: -12px;
  right: -12px;

  z-index: 2;

  width: 36px;
  height: 36px;

  font-size: 24px;
  line-height: 1;
}

.gallery-viewer-footer {
  grid-column: 1 / -1;
  grid-row: 2;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;

  min-width: 0;

  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 13px;
}

.gallery-viewer-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

  font-weight: 700;
}

.gallery-viewer-counter {
  flex-shrink: 0;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.gallery-grid a,
.photo-block a {
  cursor: zoom-in;
}

@media (max-width: 650px) {

  .gallery-viewer {
    padding: 8px;
  }

  .gallery-viewer-panel {
    width: 100%;
    height: 96vh;

    grid-template-columns: 42px minmax(0, 1fr) 42px;

    gap: 5px;

    padding: 10px;
  }

  .gallery-viewer-arrow {
    width: 38px;
    height: 44px;

    font-size: 18px;
  }

  .gallery-viewer-close {
    top: 5px;
    right: 5px;

    width: 34px;
    height: 34px;

    background: var(--paper);
  }

  .gallery-viewer-footer {
    font-size: 12px;
  }

}

@media (max-width: 430px) {

  .gallery-viewer-panel {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto auto;
  }

  .gallery-viewer-stage {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .gallery-viewer-prev,
  .gallery-viewer-next {
    grid-row: 2;

    width: 100%;
    height: 36px;
  }

  .gallery-viewer-prev {
    grid-column: 1;
  }

  .gallery-viewer-next {
    grid-column: 2;
  }

  .gallery-viewer-footer {
    grid-column: 1 / -1;
    grid-row: 3;
  }

}

.blog-preview-text a,
.blog-full-content a {
  color: var(--coral) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.blog-preview-text a:hover,
.blog-full-content a:hover {
  color: var(--mustard) !important;
}

.upload-year-section {
  width: 100%;
  min-width: 0;
}

.upload-year-heading {
  list-style: none;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 11px 14px;
  margin-bottom: 22px;

  background: var(--paper-deep);

  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);

  cursor: pointer;

  user-select: none;
  -webkit-user-select: none;
}

.upload-year-heading::-webkit-details-marker {
  display: none;
}

.upload-year-title {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.upload-year-toggle {
  flex-shrink: 0;

  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: var(--coral);
}

.upload-year-toggle::before {
  content: "open +";
}

.upload-year-section[open] .upload-year-toggle::before {
  content: "close \2212";
}

.upload-year-heading:hover .upload-year-title,
.upload-year-heading:hover .upload-year-toggle {
  color: var(--coral);
}

.year-upload-list {
  display: flex;
  flex-direction: column;
  gap: 36px;

  min-width: 0;

  margin-bottom: 38px;
}

#upload-feed.gallery-mode {
  display: flex;
  flex-direction: column;
  gap: 22px;

  column-count: auto;
  column-gap: normal;
}

#upload-feed.gallery-mode .upload-year-heading {
  margin-bottom: 16px;
}

#upload-feed.gallery-mode .year-upload-list {
  display: block;

  column-count: 3;
  column-gap: 18px;

  margin-bottom: 24px;
}

#upload-feed.gallery-mode .year-upload-list .upload-card {
  display: inline-block;
  width: 100%;

  margin: 0 0 18px;

  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

#upload-feed.gallery-mode .mixed-media-grid {
  width: 100%;
  margin: 0;

  display: block;

  background: transparent;
  border-bottom: 0;
}

#upload-feed.gallery-mode .mixed-media-grid > * {
  display: none;
}

#upload-feed.gallery-mode .mixed-media-grid > *:first-child {
  display: block;
}

#upload-feed.gallery-mode .mixed-media-grid img,
#upload-feed.gallery-mode .mixed-media-grid video {
  width: 100%;
  height: auto;

  max-height: none;

  object-fit: contain;
}

#upload-feed.gallery-mode .gallery-caption-description {
  display: none !important;
}

@media (max-width: 1100px) {

  #upload-feed.gallery-mode .year-upload-list {
    column-count: 2;
    column-gap: 16px;
  }

}

@media (max-width: 560px) {

  .upload-year-heading {
    padding: 10px 11px;
    margin-bottom: 14px;
  }

  .upload-year-title {
    font-size: 20px;
  }

  .upload-year-toggle {
    font-size: 8px;
  }

  .year-upload-list {
    gap: 24px;
    margin-bottom: 28px;
  }

  #upload-feed.gallery-mode .year-upload-list {
    column-count: 1;
  }

}

.upload-year-close-bottom {
  display: block;

  margin: -10px 0 38px auto;
  padding: 7px 10px;

  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;

  color: var(--coral);
  background: transparent;

  border: 1px solid var(--coral);

  cursor: pointer;

  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.upload-year-close-bottom:hover {
  color: var(--paper);
  background: var(--coral);
}

#upload-feed.gallery-mode .upload-year-close-bottom {
  margin-top: -4px;
  margin-bottom: 24px;
}

@media (max-width: 560px) {

  .upload-year-close-bottom {
    margin-top: -6px;
    margin-bottom: 28px;

    font-size: 12px;
  }

}

#upload-feed:not(.gallery-mode)
.gallery-grid:has(> a:nth-child(odd):last-child)
> a:first-child {
  grid-column: 1 / -1;
}

#upload-feed:not(.gallery-mode) .gallery-grid > a {
  min-width: 0;
}

#upload-feed:not(.gallery-mode) .gallery-grid > a img {
  display: block;
  width: 100%;
}

:root {
  --paper: #F3F0ED;
  --paper-deep: #ECE7E3;

  --coral: #EE4DB3;

  --soft-grey-card: #E5E3DF;
}

.sidebar .s-card,
.about-page .about-section-card {
  background: var(--soft-grey-card);
}

[data-theme="dark"] {
  --paper: #1c1f2b;
  --paper-deep: #262a38;

  --ink: #ede4d0;

  --coral: #F27FC4;

  --mint: #a8d4ba;

  --mustard: #e8b85a;

  --inkblue: #8aa9d8;

  --soft-grey-card: #292d3a;

  --accent-card-bg: #4d3a52;
  --accent-card-text: #f5efe1;

  --shadow-offset: rgba(237, 228, 208, 0.6);
  --credit-text: rgba(237, 228, 208, 0.55);

  --label-bg: #2a2f3e;
}

[data-theme="dark"] body {
  background-color: var(--paper);

  background-image:
    url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.upload-year-close-bottom,
.blog-close-bottom {
  display: block;

  padding: 7px 10px;

  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;

  color: var(--coral);
  background: transparent;

  border: 1px solid var(--coral);

  cursor: pointer;

  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.upload-year-close-bottom:hover,
.blog-close-bottom:hover {
  color: var(--paper);
  background: var(--coral);
}

.upload-year-close-bottom {
  margin: -10px 0 38px auto;
}

.blog-close-bottom {
  margin: 24px 0 0 auto;
}

@media (max-width: 560px) {

  .upload-year-close-bottom,
  .blog-close-bottom {
    font-size: 12px;
    padding: 7px 10px;
  }

  .upload-year-close-bottom {
    margin-top: -6px;
    margin-bottom: 28px;
  }

  .blog-close-bottom {
    margin: 24px 0 0 auto;
  }

}
");

:root {
  --paper: #f5efe1;
  --paper-deep: #ece4d0;
  --ink: #1a1a1a;
  --coral: #ee5d4d;
  --mint: #8fc5a8;
  --mustard: #e2a946;
  --inkblue: #2e4a7b;

  --accent-card-bg: #2e4a7b;
  --accent-card-text: #f5efe1;
  --shadow-offset: #1a1a1a;
  --credit-text: rgba(26, 26, 26, 0.6);
  --label-bg: #ece4d0;
}

[data-theme="dark"] {
  --paper: #1c1f2b;
  --paper-deep: #262a38;
  --ink: #ede4d0;
  --coral: #f29385;
  --mint: #a8d4ba;
  --mustard: #e8b85a;
  --inkblue: #8aa9d8;

  --accent-card-bg: #4d3a52;
  --accent-card-text: #f5efe1;
  --shadow-offset: rgba(237, 228, 208, 0.6);
  --credit-text: rgba(237, 228, 208, 0.55);
  --label-bg: #2a2f3e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
}

html,
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(238, 93, 77, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(46, 74, 123, 0.04) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(242, 147, 133, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(138, 169, 216, 0.05) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--ink);
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: min(94%, 1400px);
  margin: 0 auto;
  padding: 40px 30px 80px;

  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.top-strip {
  grid-column: 1 / -1;

  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);

  padding: 14px 0;
  margin-bottom: 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  gap: 12px;

  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.top-strip .issue {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.top-strip .issue .dot {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
}

.top-strip nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.top-strip nav a {
  position: relative;
  padding-bottom: 2px;
  transition: color 0.15s ease;
}

.top-strip nav a:hover {
  color: var(--coral);
}

.top-strip nav a.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--coral);
}

.sidebar {
  position: sticky;
  top: 30px;
}

.masthead {
  margin-bottom: 28px;
}

.masthead .kicker {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;

  color: var(--coral);
  background: var(--label-bg);

  margin-bottom: 8px;
  display: inline-block;
  padding: 3px 8px;

  transform: rotate(-2deg);
}

.masthead h1 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 64px;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.masthead h1 .swash {
  font-style: italic;
  font-weight: 700;
  color: var(--coral);
}

.masthead .tagline {
  font-family: "Caveat", cursive;
  font-size: 22px;
  display: inline-block;
  margin-top: 4px;
}

.avatar-mini {
  width: 64px;
  height: 64px;
  object-fit: cover;

  border: 1.5px solid var(--ink);
  margin-bottom: 16px;

  box-shadow: 3px 3px 0 var(--shadow-offset);
}

.s-card {
  background: var(--paper-deep);
  border: 1.5px solid var(--ink);

  padding: 18px 16px;
  margin-bottom: 18px;

  position: relative;

  box-shadow: 4px 4px 0 var(--shadow-offset);
}

.s-card .s-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--inkblue);
  margin-bottom: 8px;
  font-weight: 700;
}

.s-card .s-label::before {
  content: "\203B";
  margin-right: 6px;
  color: var(--coral);
}

.s-card p {
  font-family: "Fraunces", serif;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 8px;
}

.s-card .meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.s-card .meta span {
  font-size: 10px;
  padding: 2px 7px;
  background: var(--paper);
  border: 1px solid var(--ink);
}

.s-links {
  border-top: 2px dashed var(--ink);
  padding-top: 16px;
  margin-bottom: 18px;
}

.s-links .s-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
}

.s-links .s-label::before {
  content: "\2192";
  margin-right: 6px;
  color: var(--coral);
}

.s-links ul {
  list-style: none;
}

.s-links li {
  padding: 4px 0;
  font-family: "Fraunces", serif;
  font-size: 15px;
}

.s-links li::before {
  content: "\25CB";
  margin-right: 8px;
  font-size: 10px;
  color: var(--mint);
}

.s-links li a {
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: all 0.15s ease;
}

.s-links li a:hover {
  color: var(--coral);
  border-bottom-color: var(--coral);
  padding-left: 6px;
}

.now-playing {
  background: var(--accent-card-bg);
  color: var(--accent-card-text);

  padding: 14px 16px;

  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--shadow-offset);

  margin-bottom: 18px;
}

.np-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 6px;
}

.np-title {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.np-artist {
  font-size: 11px;
  opacity: 0.85;
}

.bars {
  display: flex;
  gap: 3px;
  margin-top: 10px;
  align-items: flex-end;
  height: 14px;
}

.bars span {
  width: 3px;
  background: var(--coral);
}

.bars span:nth-child(1) { height: 60%; }
.bars span:nth-child(2) { height: 90%; }
.bars span:nth-child(3) { height: 40%; }
.bars span:nth-child(4) { height: 75%; }
.bars span:nth-child(5) { height: 55%; }

.socials {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.socials a {
  width: 34px;
  height: 34px;

  border: 1.5px solid var(--ink);
  background: var(--paper);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.15s ease;
}

.socials a:hover {
  background: var(--coral);
  color: var(--paper);
  transform: translateY(-2px);
}

.socials a svg {
  width: 16px;
  height: 16px;
}

.theme-toggle {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;

  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);

  padding: 8px 12px;

  cursor: pointer;
  width: 100%;

  transition: all 0.15s ease;
}

.theme-toggle:hover {
  background: var(--ink);
  color: var(--paper);
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}

.page-banner {
  border: 1.5px solid var(--ink);
  background: var(--paper-deep);

  padding: 12px 16px;
  margin-bottom: 4px;

  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  box-shadow: 4px 4px 0 var(--shadow-offset);
}

.page-banner strong {
  color: var(--coral);
}

.post {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  position: relative;
  box-shadow: 6px 6px 0 var(--shadow-offset);

}

.post-head {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 14px 18px 10px;
  border-bottom: 1.5px dashed var(--ink);
}

.upload-kind {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 700;
}

.post-head .timestamp,
.post-head .timestamp {
  margin-left: auto;

  font-size: 10px;
  opacity: 0.55;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-body {
  padding: 18px 22px;
}

.post-body h2 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.post-body h3 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  margin: 10px 0 8px;
}

.post-body p {
  font-family: "Fraunces", serif;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 10px;
}

.post-body p:last-child {
  margin-bottom: 0;
}

.post-body > a:not(.media-link),
.post-body p a {
  color: var(--coral);
  border-bottom: 1px solid var(--coral);
}

.post-body > a:not(.media-link):hover,
.post-body p a:hover {
  background: var(--coral);
  color: var(--paper);
}

.post-body blockquote {
  border-left: 3px solid var(--mint);
  padding-left: 14px;
  margin: 10px 0;
  font-style: italic;
}

.post-body ul,
.post-body ol {
  padding-left: 24px;
  margin: 10px 0;
  font-family: "Fraunces", serif;
}

.post-body li {
  margin-bottom: 4px;
}

.photo-block,
.video-block {
  width: calc(100% + 44px);
  margin: -18px -22px 18px;

  border-bottom: 1.5px dashed var(--ink);
  background: var(--paper-deep);

  overflow: hidden;
}

.photo-block img {
  width: 100%;
  height: auto;
  display: block;
  filter: none;
  transform: none;
}

.video-block video {
  width: 100%;
  display: block;
  background: #000;
  transform: none;
}

.media-link {
  display: block;
  border: 0 !important;
}

.media-link:hover {
  background: transparent !important;
}

.gallery-grid {
  width: calc(100% + 44px);
  margin: -18px -22px 18px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 2px;
  background: var(--ink);

  border-bottom: 1.5px dashed var(--ink);
}

.gallery-grid a {
  background: var(--paper-deep);
  display: block;
  min-width: 0;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 520px;

  object-fit: cover;

  filter: none;
  transform: none;
}

.tags {
  padding: 0 22px 14px;

  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span {
  font-size: 10px;
  color: var(--inkblue);

  padding: 2px 6px;

  background: var(--paper-deep);
  border: 1px solid transparent;
}

.tags span::before {
  content: "#";
  opacity: 0.6;
}

.feed-message {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--shadow-offset);
  padding: 20px 22px;
}

.feed-message p {
  font-family: "Fraunces", serif;
  font-size: 15px;
}

.credit {
  grid-column: 1 / -1;

  margin-top: 60px;
  padding-top: 24px;

  border-top: 1px dashed var(--ink);

  text-align: center;

  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;

  color: var(--credit-text);
}

.credit a {
  color: var(--coral);
  border-bottom: 1px solid var(--coral);
}

@media (max-width: 900px) {

  .wrap {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px 16px 60px;
  }

  .sidebar {
    position: static;
  }

  .masthead h1 {
    font-size: 52px;
  }

  .post-body {
    padding: 16px 18px;
  }

  .photo-block,
  .video-block,
  .gallery-grid {
    width: calc(100% + 36px);
    margin: -16px -18px 16px;
  }

  .tags {
    padding: 0 18px 12px;
  }
}

@media (max-width: 560px) {

  html,
  body {
    font-size: 13px;
  }

  .wrap {
    padding: 14px 10px 45px;
  }

  .top-strip nav {
    gap: 14px;
  }

  .masthead h1 {
    font-size: 46px;
  }

  .feed {
    gap: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    min-height: 0;
    max-height: none;
    object-fit: contain;
  }

  .post-body h2 {
    font-size: 25px;
  }
}

.top-strip {
  justify-content: flex-end;
}

.avatar-mini,
.page-banner,
.credit,
.tags {
  display: none !important;
}

.all-posts-link {
  display: inline-block;
  margin-top: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  border-bottom: 1px solid var(--coral);
}

.all-posts-link:hover {
  background: var(--coral);
  color: var(--paper);
}

.view-controls {
  display: grid;
  gap: 8px;
}

.theme-credit-mini {
  margin-top: 12px;
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.45;
}

.theme-credit-mini a {
  border-bottom: 1px dotted currentColor;
}

.feed {
  align-self: start;
}

#upload-feed.gallery-mode {
  display: block;
  column-count: 3;
  column-gap: 18px;
}

#upload-feed.gallery-mode .upload-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;

  min-width: 0;
  box-shadow: 4px 4px 0 var(--shadow-offset);
}

#upload-feed.gallery-mode .upload-card .post-head,
#upload-feed.gallery-mode .upload-card .upload-text {
  display: none;
}

#upload-feed.gallery-mode .upload-card .post-body {
  padding: 0;
}

#upload-feed.gallery-mode .upload-card .photo-block,
#upload-feed.gallery-mode .upload-card .video-block,
#upload-feed.gallery-mode .upload-card .gallery-grid {
  width: 100%;
  margin: 0;
  border-bottom: 0;
}

#upload-feed.gallery-mode .upload-card .photo-block img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

#upload-feed.gallery-mode .upload-card .video-block video {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

#upload-feed.gallery-mode .upload-card .gallery-grid {
  display: block;
  background: transparent;
}

#upload-feed.gallery-mode .upload-card .gallery-grid a {
  display: none;
}

#upload-feed.gallery-mode .upload-card .gallery-grid a:first-child {
  display: block;
}

#upload-feed.gallery-mode .upload-card .gallery-grid img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.blog-card .post-body img {
  margin: 14px 0;
  border: 1.5px solid var(--ink);
}

@media (max-width: 1100px) {
  #upload-feed.gallery-mode {
    column-count: 2;
    column-gap: 16px;
  }
}

@media (max-width: 560px) {
  #upload-feed.gallery-mode {
    column-count: 1;
  }

  #upload-feed.gallery-mode .upload-card {
    margin-bottom: 12px;
  }
}

.anchor-target {
  display: block;
  position: relative;
  top: -20px;
  visibility: hidden;
}

.socials-intro {
  margin-bottom: 22px !important;
}

.social-page-links {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.social-page-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;

  padding: 18px 20px;

  background: var(--paper-deep);
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--shadow-offset);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.social-page-link:hover {
  background: var(--coral);
  color: var(--paper);

  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--shadow-offset);
}

.social-name {
  font-family: "Fraunces", serif;
  font-size: 21px;
  font-style: italic;
  font-weight: 700;
}

.social-handle {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

.social-page-link:hover .social-handle {
  color: var(--paper);
}

@media (max-width: 560px) {
  .social-page-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

.blog-content:not(.short-post)::after {
  content: "";
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 52px;

  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(245, 239, 225, 0),
      var(--paper)
    );
}

.blog-card.expanded .blog-content {
  max-height: none;
  overflow: visible;
}

.blog-card.expanded .blog-content::after {
  display: none;
}

.blog-expand-button {
  margin-top: 16px;

  padding: 7px 12px;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  background: var(--paper-deep);
  color: var(--ink);

  border: 1.5px solid var(--ink);

  cursor: pointer;

  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.blog-expand-button:hover {
  background: var(--coral);
  color: var(--paper);

  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--shadow-offset);
}

.blog-expand-button[hidden] {
  display: none;
}

.blog-details {
  margin-top: 2px;
}

.blog-details summary {
  list-style: none;
  cursor: pointer;
}

.blog-details summary::-webkit-details-marker {
  display: none;
}

.blog-preview-text {
  display: block;

  font-family: "Fraunces", serif;
  font-size: 15px;
  line-height: 1.65;

  margin-bottom: 14px;
}

.blog-toggle-label {
  display: inline-block;

  padding: 7px 12px;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  background: var(--paper-deep);
  color: var(--ink);

  border: 1.5px solid var(--ink);

  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.blog-toggle-label::before {
  content: "read more";
}

.blog-details[open] .blog-toggle-label::before {
  content: "show less";
}

.blog-details summary:hover .blog-toggle-label {
  background: var(--coral);
  color: var(--paper);

  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--shadow-offset);
}

.blog-details[open] .blog-preview-text {
  display: none;
}

.blog-details[open] .blog-full-content {
  margin-top: 2px;
  margin-bottom: 14px;
}

.blog-full-content img {
  max-width: 100%;
  height: auto;
}

.blog-full-content p {
  margin-bottom: 18px;
}

.blog-full-content p:last-child {
  margin-bottom: 0;
}

.about-page {
  min-width: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.about-section-card {
  background: var(--paper-deep);
  border: 1.5px solid var(--ink);

  padding: 20px;

  box-shadow: 4px 4px 0 var(--shadow-offset);
}

.about-section-label {
  margin-bottom: 12px;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: var(--inkblue);
}

.about-section-label::before {
  content: "\203B";
  margin-right: 7px;
  color: var(--coral);
}

.about-section-card p {
  font-family: "Fraunces", serif;
  font-size: 15px;
  line-height: 1.65;
}

.about-skill-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-skill-list li {
  padding: 6px 0;

  font-family: "Fraunces", serif;
  font-size: 16px;

  border-bottom: 1px dashed var(--ink);
}

.about-skill-list li:last-child {
  border-bottom: 0;
}

.about-skill-list li::before {
  content: "\25CB";
  margin-right: 9px;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;

  color: var(--mint);
}

.about-edit-note {
  opacity: 0.65;
  font-style: italic;
}

@media (max-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {

  .sidebar {
    text-align: center;
  }

  .masthead {
    margin-bottom: 16px;
    text-align: center;
  }

  .masthead .kicker {
    font-size: 8px;
    letter-spacing: 0.16em;
    margin-bottom: 6px;
    transform: none;
  }

  .masthead h1 {
    font-size: 38px;
    line-height: 0.9;
    margin-bottom: 8px;
  }

  .masthead .tagline {
    font-size: 17px;
    line-height: 1.2;
    margin-top: 2px;
  }

  .sidebar .s-card,
  .sidebar .s-links {
    display: none;
  }

  .view-controls,
  .sidebar > .theme-toggle {
    width: min(100%, 260px);
    margin-left: auto;
    margin-right: auto;
  }

  .theme-credit-mini {
    margin-top: 10px;
  }
}

.masthead h1,
.masthead h1 a,
.masthead h1 .swash {
  font-family: "Bangers", "Fraunces", serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.035em;
}

.masthead h1 .swash {
  color: var(--coral);
}

.masthead .kicker {
  font-family: "Permanent Marker", "JetBrains Mono", monospace;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.masthead .tagline {
  font-family: "Permanent Marker", "Caveat", cursive;
  font-style: normal;
  letter-spacing: 0.01em;
}

.top-strip nav,
.top-strip nav a {
  font-family: "Bangers", "JetBrains Mono", sans-serif;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.post-body h2,
.post-body h3 {
  font-family: "Bangers", "Fraunces", serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.035em;
}

.upload-kind,
.s-card .s-label,
.s-links .s-label,
.about-section-label {
  font-family: "Bangers", "JetBrains Mono", sans-serif;
  font-weight: 400;
  letter-spacing: 0.11em;
}

.theme-toggle,
.blog-expand-button,
.blog-toggle-label {
  font-family: "Bangers", "JetBrains Mono", sans-serif;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.social-name {
  font-family: "Bangers", "Fraunces", serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
}

@media (min-width: 901px) {
  .masthead h1 {
    font-size: 68px;
    line-height: 0.82;
  }
}

@media (max-width: 560px) {
  .masthead h1 {
    font-size: 42px;
    line-height: 0.86;
  }

  .masthead .kicker {
    font-size: 9px;
  }

  .masthead .tagline {
    font-size: 16px;
  }

  .top-strip nav,
  .top-strip nav a {
    letter-spacing: 0.09em;
  }
}

.gallery-caption {
  display: none;
}

#upload-feed.gallery-mode .gallery-caption {
  display: block;

  padding: 10px 11px 11px;

  background: var(--paper);

  border-top: 1px dashed var(--ink);
}

#upload-feed.gallery-mode .gallery-caption-title {
  font-family: "Fraunces", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;

  margin-bottom: 3px;
}

#upload-feed.gallery-mode .gallery-caption-description {
  font-family: "Fraunces", serif;
  font-size: 12px;
  line-height: 1.4;

  opacity: 0.78;

  margin-bottom: 5px;
}

#upload-feed.gallery-mode .gallery-caption-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;

  letter-spacing: 0.1em;
  text-transform: uppercase;

  opacity: 0.5;
}

#upload-feed.gallery-mode .upload-text {
  display: none;
}

@media (max-width: 560px) {

  #upload-feed.gallery-mode .gallery-caption {
    padding: 8px 9px 9px;
  }

  #upload-feed.gallery-mode .gallery-caption-title {
    font-size: 14px;
  }

  #upload-feed.gallery-mode .gallery-caption-description {
    font-size: 11px;
  }

}

@media (max-width: 560px) {

  .new-masthead {
    text-align: center;
    margin-bottom: 14px;
  }

  .portfolio-label {
    font-size: 8px;
  }

  .portfolio-name {
    font-size: 40px;
  }

  .portfolio-disciplines {
    font-size: 8px;
  }

  .learning-badge {
    font-size: 8px;
  }
}

.upload-card .post-body,
.blog-card .post-body,
.upload-card .post-body p,
.blog-card .post-body p,
.blog-full-content,
.blog-full-content p,
.blog-preview-text {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
}

.upload-card .post-body p,
.blog-card .post-body p,
.blog-full-content,
.blog-full-content p,
.blog-preview-text {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.upload-card .upload-text h2 {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.blog-card .post-body > h2 {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.blog-card .blog-full-content h2,
.blog-card .blog-full-content h3,
.upload-card .post-body h3 {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.upload-card .post-body em,
.upload-card .post-body i,
.blog-card .post-body em,
.blog-card .post-body i {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-style: italic;
}

#upload-feed.gallery-mode .gallery-caption-title {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: 2px;
}

#upload-feed.gallery-mode .gallery-caption-description {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  opacity: 0.78;
  margin-bottom: 5px;
}

.blog-card .blog-full-content li,
.blog-card .blog-full-content blockquote {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 560px) {

  .upload-card .post-body p,
  .blog-card .post-body p,
  .blog-full-content,
  .blog-full-content p,
  .blog-preview-text,
  .blog-card .blog-full-content li,
  .blog-card .blog-full-content blockquote {
    font-size: 16px;
  }

  .upload-card .upload-text h2 {
    font-size: 18px;
  }

  .blog-card .post-body > h2 {
    font-size: 22px;
  }

  #upload-feed.gallery-mode .gallery-caption-title {
    font-size: 13px;
  }

  #upload-feed.gallery-mode .gallery-caption-description {
    font-size: 12px;
  }
}

.new-masthead {
  margin-bottom: 28px;
}

.portfolio-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 5px;
}

.portfolio-name {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  padding-bottom: 8px;
  margin-bottom: 9px;
  border-bottom: 3px solid var(--ink);
  text-decoration: none;
  color: var(--ink);
}

.portfolio-name:hover {
  color: var(--coral);
}

.portfolio-disciplines {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 12px;
}

.learning-badge {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  color: var(--ink);
  background: var(--mustard);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--shadow-offset);
}

@media (max-width: 560px) {

  .new-masthead {
    text-align: center;
    margin-bottom: 14px;
  }

  .portfolio-label {
    font-size: 8px;
  }

  .portfolio-name {
    font-size: 40px;
  }

  .portfolio-disciplines {
    font-size: 8px;
  }

  .learning-badge {
    font-size: 8px;
  }
}

.sidebar .s-card p {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.sidebar .s-links li a,
.sidebar .all-posts-link {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  letter-spacing: 0.01em;
}

.sidebar .s-links li a {
  font-size: 14px;
  line-height: 1.45;
}

.sidebar .all-posts-link {
  font-size: 11px;
}

.about-page .post-body,
.about-page .post-body p,
.about-page .post-body li,
.about-page .post-body a,
.about-page .about-section-card,
.about-page .about-section-card p,
.about-page .about-section-card li,
.about-page .about-skill-list,
.about-page .about-skill-list li {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  letter-spacing: 0.01em;
}

.about-page .post-body h2,
.about-page .post-body h3 {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.about-page .post-body p,
.about-page .about-section-card p,
.about-page .about-skill-list li {
  font-size: 16px;
  line-height: 1.65;
}

.about-page .post-body p {
  margin-bottom: 18px;
}

.about-page .post-body p:last-child {
  margin-bottom: 0;
}

.about-page .about-skill-list li {
  padding-top: 7px;
  padding-bottom: 7px;
}

.about-page em,
.about-page i {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-style: italic;
}

.socials-card .post-body,
.socials-card .post-body p,
.socials-card .post-body h2,
.socials-card .social-page-link,
.socials-card .social-name,
.socials-card .social-handle {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  letter-spacing: 0.01em;
}

.socials-card .post-body h2,
.socials-card .social-name {
  font-weight: 700;
  letter-spacing: 0;
}

.socials-card .post-body p {
  font-size: 16px;
  line-height: 1.65;
}

.socials-card .social-name {
  font-size: 18px;
}

.socials-card .social-handle {
  font-size: 13px;
}

@media (max-width: 560px) {

  .sidebar .s-card p {
    font-size: 15px;
  }

  .about-page .post-body p,
  .about-page .about-section-card p,
  .about-page .about-skill-list li,
  .socials-card .post-body p {
    font-size: 16px;
  }

}

body.gallery-viewer-open {
  overflow: hidden;
}

.gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
  place-items: center;

  padding: 18px;

  background: rgba(20, 18, 18, 0.92);
}

.gallery-viewer.is-open {
  display: grid;
}

.gallery-viewer-panel {
  position: relative;

  width: min(1500px, 96vw);
  height: min(94vh, 1050px);

  display: grid;

  grid-template-columns: 54px minmax(0, 1fr) 54px;
  grid-template-rows: minmax(0, 1fr) auto;

  gap: 10px;

  padding: 18px;

  background: var(--paper);
  color: var(--ink);

  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.35);
}

.gallery-viewer-stage {
  grid-column: 2;
  grid-row: 1;

  min-width: 0;
  min-height: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background: #111;

  border: 1.5px solid var(--ink);

  touch-action: pan-y;
}

.gallery-viewer-image {
  display: block;

  width: auto;
  height: auto;

  max-width: 100%;
  max-height: 100%;

  object-fit: contain;

  user-select: none;
  -webkit-user-select: none;
}

.gallery-viewer-arrow,
.gallery-viewer-close {
  font-family: "JetBrains Mono", monospace;

  color: var(--ink);
  background: var(--paper);

  border: 1.5px solid var(--ink);

  cursor: pointer;
}

.gallery-viewer-arrow:hover,
.gallery-viewer-close:hover {
  background: var(--mustard);
}

.gallery-viewer-arrow:disabled {
  opacity: 0.25;
  cursor: default;
  background: var(--paper);
}

.gallery-viewer-arrow {
  align-self: center;

  width: 46px;
  height: 46px;

  font-size: 22px;
  font-weight: 700;
}

.gallery-viewer-prev {
  grid-column: 1;
  grid-row: 1;
}

.gallery-viewer-next {
  grid-column: 3;
  grid-row: 1;
}

.gallery-viewer-close {
  position: absolute;

  top: -12px;
  right: -12px;

  z-index: 2;

  width: 36px;
  height: 36px;

  font-size: 24px;
  line-height: 1;
}

.gallery-viewer-footer {
  grid-column: 1 / -1;
  grid-row: 2;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;

  min-width: 0;

  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 13px;
}

.gallery-viewer-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

  font-weight: 700;
}

.gallery-viewer-counter {
  flex-shrink: 0;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.gallery-grid a,
.photo-block a {
  cursor: zoom-in;
}

@media (max-width: 650px) {

  .gallery-viewer {
    padding: 8px;
  }

  .gallery-viewer-panel {
    width: 100%;
    height: 96vh;

    grid-template-columns: 42px minmax(0, 1fr) 42px;

    gap: 5px;

    padding: 10px;
  }

  .gallery-viewer-arrow {
    width: 38px;
    height: 44px;

    font-size: 18px;
  }

  .gallery-viewer-close {
    top: 5px;
    right: 5px;

    width: 34px;
    height: 34px;

    background: var(--paper);
  }

  .gallery-viewer-footer {
    font-size: 12px;
  }

}

@media (max-width: 430px) {

  .gallery-viewer-panel {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto auto;
  }

  .gallery-viewer-stage {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .gallery-viewer-prev,
  .gallery-viewer-next {
    grid-row: 2;

    width: 100%;
    height: 36px;
  }

  .gallery-viewer-prev {
    grid-column: 1;
  }

  .gallery-viewer-next {
    grid-column: 2;
  }

  .gallery-viewer-footer {
    grid-column: 1 / -1;
    grid-row: 3;
  }

}

.blog-preview-text a,
.blog-full-content a {
  color: var(--coral) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.blog-preview-text a:hover,
.blog-full-content a:hover {
  color: var(--mustard) !important;
}

.upload-year-section {
  width: 100%;
  min-width: 0;
}

.upload-year-heading {
  list-style: none;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 11px 14px;
  margin-bottom: 22px;

  background: var(--paper-deep);

  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);

  cursor: pointer;

  user-select: none;
  -webkit-user-select: none;
}

.upload-year-heading::-webkit-details-marker {
  display: none;
}

.upload-year-title {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.upload-year-toggle {
  flex-shrink: 0;

  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: var(--coral);
}

.upload-year-toggle::before {
  content: "open +";
}

.upload-year-section[open] .upload-year-toggle::before {
  content: "close \2212";
}

.upload-year-heading:hover .upload-year-title,
.upload-year-heading:hover .upload-year-toggle {
  color: var(--coral);
}

.year-upload-list {
  display: flex;
  flex-direction: column;
  gap: 36px;

  min-width: 0;

  margin-bottom: 38px;
}

#upload-feed.gallery-mode {
  display: flex;
  flex-direction: column;
  gap: 22px;

  column-count: auto;
  column-gap: normal;
}

#upload-feed.gallery-mode .upload-year-heading {
  margin-bottom: 16px;
}

#upload-feed.gallery-mode .year-upload-list {
  display: block;

  column-count: 3;
  column-gap: 18px;

  margin-bottom: 24px;
}

#upload-feed.gallery-mode .year-upload-list .upload-card {
  display: inline-block;
  width: 100%;

  margin: 0 0 18px;

  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

#upload-feed.gallery-mode .mixed-media-grid {
  width: 100%;
  margin: 0;

  display: block;

  background: transparent;
  border-bottom: 0;
}

#upload-feed.gallery-mode .mixed-media-grid > * {
  display: none;
}

#upload-feed.gallery-mode .mixed-media-grid > *:first-child {
  display: block;
}

#upload-feed.gallery-mode .mixed-media-grid img,
#upload-feed.gallery-mode .mixed-media-grid video {
  width: 100%;
  height: auto;

  max-height: none;

  object-fit: contain;
}

#upload-feed.gallery-mode .gallery-caption-description {
  display: none !important;
}

@media (max-width: 1100px) {

  #upload-feed.gallery-mode .year-upload-list {
    column-count: 2;
    column-gap: 16px;
  }

}

@media (max-width: 560px) {

  .upload-year-heading {
    padding: 10px 11px;
    margin-bottom: 14px;
  }

  .upload-year-title {
    font-size: 20px;
  }

  .upload-year-toggle {
    font-size: 8px;
  }

  .year-upload-list {
    gap: 24px;
    margin-bottom: 28px;
  }

  #upload-feed.gallery-mode .year-upload-list {
    column-count: 1;
  }

}

.upload-year-close-bottom {
  display: block;

  margin: -10px 0 38px auto;
  padding: 7px 10px;

  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;

  color: var(--coral);
  background: transparent;

  border: 1px solid var(--coral);

  cursor: pointer;

  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.upload-year-close-bottom:hover {
  color: var(--paper);
  background: var(--coral);
}

#upload-feed.gallery-mode .upload-year-close-bottom {
  margin-top: -4px;
  margin-bottom: 24px;
}

@media (max-width: 560px) {

  .upload-year-close-bottom {
    margin-top: -6px;
    margin-bottom: 28px;

    font-size: 12px;
  }

}

#upload-feed:not(.gallery-mode)
.gallery-grid:has(> a:nth-child(odd):last-child)
> a:first-child {
  grid-column: 1 / -1;
}

#upload-feed:not(.gallery-mode) .gallery-grid > a {
  min-width: 0;
}

#upload-feed:not(.gallery-mode) .gallery-grid > a img {
  display: block;
  width: 100%;
}

:root {
  --paper: #F3F0ED;
  --paper-deep: #ECE7E3;

  --coral: #EE4DB3;

  --soft-grey-card: #E5E3DF;
}

.sidebar .s-card,
.about-page .about-section-card {
  background: var(--soft-grey-card);
}

[data-theme="dark"] {
  --paper: #1c1f2b;
  --paper-deep: #262a38;

  --ink: #ede4d0;

  --coral: #F27FC4;

  --mint: #a8d4ba;

  --mustard: #e8b85a;

  --inkblue: #8aa9d8;

  --soft-grey-card: #292d3a;

  --accent-card-bg: #4d3a52;
  --accent-card-text: #f5efe1;

  --shadow-offset: rgba(237, 228, 208, 0.6);
  --credit-text: rgba(237, 228, 208, 0.55);

  --label-bg: #2a2f3e;
}

[data-theme="dark"] body {
  background-color: var(--paper);

  background-image:
    url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.9 0 0 0 0 0.8 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.upload-year-close-bottom,
.blog-close-bottom {
  display: block;

  padding: 7px 10px;

  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;

  color: var(--coral);
  background: transparent;

  border: 1px solid var(--coral);

  cursor: pointer;

  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.upload-year-close-bottom:hover,
.blog-close-bottom:hover {
  color: var(--paper);
  background: var(--coral);
}

.upload-year-close-bottom {
  margin: -10px 0 38px auto;
}

.blog-close-bottom {
  margin: 24px 0 0 auto;
}

@media (max-width: 560px) {

  .upload-year-close-bottom,
  .blog-close-bottom {
    font-size: 12px;
    padding: 7px 10px;
  }

  .upload-year-close-bottom {
    margin-top: -6px;
    margin-bottom: 28px;
  }

  .blog-close-bottom {
    margin: 24px 0 0 auto;
  }

}

.blog-listening-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 12px;
  border-top: 1.5px dashed var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-listening-label {
  flex-shrink: 0;
  color: var(--coral);
  font-weight: 700;
}

.blog-listening-song {
  margin-left: auto;
  color: var(--ink);
  text-align: right;
  text-decoration: none;
  opacity: 0.62;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a.blog-listening-song:hover {
  color: var(--coral);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 560px) {
  .blog-listening-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 9px 14px 11px;
  }

  .blog-listening-song {
    margin-left: 0;
    text-align: left;
  }

  #upload-feed.gallery-mode .year-upload-list {
    column-count: 2;
    column-gap: 10px;
  }

  #upload-feed.gallery-mode .year-upload-list .upload-card {
    margin: 0 0 10px;
  }
}

.about-username-note {
  grid-column: 1 / -1;
}

.about-username-note p {
  margin-bottom: 0;
}

.about-personal-details > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.about-personal-details > summary::-webkit-details-marker {
  display: none;
}

.about-personal-toggle {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
}

.about-personal-toggle::before {
  content: "open +";
}

.about-personal-details[open] .about-personal-toggle::before {
  content: "close -";
}

.about-personal-details > summary:hover .about-personal-toggle {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-personal-details > summary.post-head {
  border-bottom: 0;
}

.about-personal-details[open] > summary.post-head {
  border-bottom: 1.5px dashed var(--ink);
}

.socials-page-jump {
  border-bottom: 0;
}

.media-post-preview-copy p,
.media-post-caption {
  white-space: pre-line;
}

.blog-inline-media-grid {
  width: 100%;
  margin: 14px 0 18px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;

  min-width: 0;
}

.blog-card .post-body .blog-inline-media-grid .blog-image {
  display: block;

  width: 100%;
  height: auto;

  min-width: 0;
  min-height: 0;

  margin: 0;

  object-fit: contain;
  background: #0f1013;

  cursor: zoom-in;
}

@media (max-width: 560px) {
  .blog-inline-media-grid {
    gap: 6px;
    margin: 12px 0 16px;
  }

}

.post-head-actions {
  margin-left: auto;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  flex-shrink: 0;
}

.post-head-actions .timestamp {
  margin-left: 0;
}

.post-share-button {
  width: 28px;
  height: 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  padding: 0;

  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);

  cursor: pointer;

  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.post-share-button:hover,
.post-share-button:focus-visible {
  color: var(--paper);
  background: var(--coral);
  border-color: var(--ink);
  transform: translateY(-1px);
  outline: none;
}

.post-share-button svg {
  width: 15px;
  height: 15px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-share-button {
  display: none;
}

#upload-feed.gallery-mode .gallery-caption {
  position: relative;
  padding-right: 42px;
}

#upload-feed.gallery-mode .gallery-share-button {
  position: absolute;
  top: 7px;
  right: 7px;

  display: inline-flex;
}

.share-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 12000;

  transform: translate(-50%, 12px);

  padding: 7px 11px;

  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--shadow-offset);

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.share-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 560px) {
  .post-head-actions {
    gap: 5px;
  }

  .post-share-button {
    width: 26px;
    height: 26px;
  }

  .post-share-button svg {
    width: 14px;
    height: 14px;
  }

  .share-toast {
    bottom: 14px;
    font-size: 9px;
  }
}
