        * {
            margin: 0 auto;
            padding: 0;
            text-align: justify;
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 20px;
        }
        ::-webkit-scrollbar-track {
            background: #f0f0f0;
        }
        ::-webkit-scrollbar-thumb {
            background: var(--accent);
            border-radius: 0;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #b8e600;
        }

        /* Firefox */
        html {
            scrollbar-width: auto;
            scrollbar-color: var(--accent) #f0f0f0;
            scroll-behavior: smooth;
        }

        :root {
            --light: rgb(255, 254, 245);
            --dark: rgb(32, 32, 32);
            --border: ;
            --accent: #CCFF00;
        }

        body::after {
            content: '';
            position: fixed;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            z-index: 99999;
            pointer-events: none;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
            background-size: 256px 256px;
            opacity: 0.3;
            animation: grain 0.5s steps(1) infinite;
        }

        @keyframes grain {
            0% { transform: translate(0, 0); }
            20% { transform: translate(-10%, 10%); }
            40% { transform: translate(5%, -5%); }
            60% { transform: translate(-5%, 15%); }
            80% { transform: translate(10%, 5%); }
            100% { transform: translate(0, 0); }
        }

        ::selection {
            background-color: var(--accent, #CCFF00);
            color: var(--dark);
        }

        body.night ::selection {
            background-color: #3300FF;
            color: #e0e0e0;
        }

        a {
            color: var(--accent, #CCFF00);
            text-decoration: none;
        }
        p {
            padding: 10px 0px 10px 0px;
        }

        a:hover {
            color: var(--accent, #CCFF00);
            background-color: transparent;
            text-decoration: underline dotted;
        }

        body {
height: 100%;
            background-color: #ffffff;
            color: rgb(22, 22, 23);
            font-family: Arial, Helvetica, sans-serif;
            font-size: 120%;
            font-weight: normal;
            letter-spacing: 0.03em;
            line-height: 1.6;
            text-align: justify;
            width: 100%;
    overflow-x: hidden;

        }


        .container {
            overflow: hidden;
            padding: 5% 5% 2% 5%;
            margin: 0 auto;
            width: 90vw;
            max-width: 1500px;
        }

        model-viewer {

            margin: 0 auto;
  width: 100%;
  height: 60vh;
  min-height: 350px;
  padding: 1%;
  background-color: transparent;
  overflow: hidden;
}

        h1 {
            font-size: 100%;
        }
       
       

.floating-art-1 {
    width: 10%;
    z-index: 2;
    position: fixed;
    left: 80%;
    top: 0%;
}

.floating-art-left {
    width: 30%;
    z-index: 2;
    position: fixed;
    left: 2%;
    top: 55%;
}

/* Accent Strip */
.accent-strip {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2vh;
  background-color: var(--accent);
  z-index: 20;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.accent-marquee {
  white-space: nowrap;
  animation: accent-scroll 120s linear infinite;
  font-size: 55%;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #1a1a1a;
}

@keyframes accent-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Window Titlebar */
.win-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background-color: #f0f0f0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.win-title {
  font-size: 65%;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.02em;
}

.win-dots {
  display: flex;
  gap: 4px;
}

.win-dot {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  color: white;
}

.win-close { background-color: #ff5f57; }
.win-min { background-color: #ffbd2e; color: #1a1a1a; }
.win-max { background-color: #28c840; }

.win-dot:hover { opacity: 0.7; }

.minimized .music-header,
.minimized .music-body,
.minimized .gallery-header,
.minimized .gallery-body {
  display: none !important;
}

body.night .win-titlebar {
  background-color: #333;
  border-bottom-color: #444;
}

body.night .win-title {
  color: #999;
}

/* Music Widget */
.music-widget {
  position: fixed;
  z-index: 10;
  left: 2%;
  top: 7%;
  transition: opacity 0.3s ease;
  width: 280px;
  background-color: white;
  border: solid rgb(210, 206, 206) 4px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.music-header {
  display: flex;
  align-items: stretch;
  cursor: grab;
  user-select: none;
}

.music-header:active {
  cursor: grabbing;
}

.music-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: white;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px 0 0 8px;
}

.music-controls {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 10px;
  background-color: #CCFF00;
  border-radius: 0 8px 8px 0;
  flex-shrink: 0;
}

.mc-btn {
  font-size: 90%;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  line-height: 1;
}

.mc-btn:hover {
  background-color: rgba(0,0,0,0.1);
}

.music-title {
  font-size: 75%;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.03em;
  overflow: hidden;
  flex: 1;
  white-space: nowrap;
}

.music-marquee {
  display: inline-block;
  animation: marquee 14s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.music-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #FFB366;
  box-shadow: 0 0 6px #FFB366, 0 0 14px #FFB366, 0 0 22px rgba(255,179,102,0.4);
  animation: blink 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.music-body {
  display: none;
  padding: 0;
}

.music-widget.open .music-body {
  display: block;
}

.music-body iframe {
  display: block;
  border: none;
}

.music-credit {
  font-size: 10px;
  color: #999;
  padding: 6px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-credit a {
  color: #999;
  text-decoration: none;
}

.music-credit a:hover {
  color: #676be5;
  background-color: transparent;
}

/* Night mode music widget */
body.night .music-widget {
  background-color: #2a2a2a;
  border-color: #444;
}

body.night .music-info {
  background-color: #2a2a2a;
}

body.night .music-title {
  color: #e0e0e0;
}

body.night .music-credit {
  color: #666;
}

body.night .music-credit a {
  color: #666;
}

/* Gallery Widget */
.gallery-widget {
  position: fixed;
  z-index: 9;
  right: 2%;
  top: 17%;
  transition: opacity 0.3s ease;
  width: 310px;
  background-color: white;
  border: solid rgb(210, 206, 206) 4px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  cursor: grab;
}

.gallery-widget:active {
  cursor: grabbing;
}

.gallery-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  cursor: pointer;
  user-select: none;
  background-color: #CCFF00;
}

.gallery-preview {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}

.gallery-preview img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.1);
}

.gallery-label {
  font-size: 75%;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.03em;
}

.gallery-viewall {
  font-size: 70%;
  font-weight: 600;
  color: rgba(0,0,0,0.5);
  margin-left: auto;
}

.gallery-body {
  display: none;
  padding: 8px;
  max-height: 350px;
  overflow-y: auto;
  background: white;
}

.gallery-widget.open .gallery-body {
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: white;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  max-width: 60vw;
  background: white;
  border: solid rgb(210, 206, 206) 4px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  cursor: grab;
}

.lightbox.active {
  display: block;
}

.lightbox:active {
  cursor: grabbing;
}


.lightbox-body {
  padding: 8px;
  background: white;
  position: relative;
}

.lightbox-body img {
  display: block;
  max-width: 100%;
  max-height: 60vh;
  border-radius: 6px;
}

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 160%;
  color: white;
  background: rgba(0,0,0,0.5);
  cursor: pointer;
  user-select: none;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 6px;
  z-index: 2;
}

.lb-arrow:hover {
  background: rgba(0,0,0,0.8);
}

.lb-prev { left: 12px; }
.lb-next { right: 12px; }

body.night .lb-arrow { background: rgba(255,255,255,0.2); color: #e0e0e0; }
body.night .lb-arrow:hover { background: rgba(255,255,255,0.4); }

body.night .gallery-widget {
  background-color: #2a2a2a;
  border-color: #444;
}

body.night .gallery-header {
  background-color: #CCFF00;
}

body.night .lightbox {
  background: #2a2a2a;
  border-color: #444;
}

body.night .lightbox-body {
  background: #2a2a2a;
}

body.night .gallery-body,
body.night .gallery-grid {
  background: #2a2a2a;
}


/* Clock Widget */
.clock-widget {
  position: fixed;
  z-index: 9;
  right: 3%;
  bottom: 13%;
  transition: opacity 0.3s ease;
  top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: white;
  border: solid rgb(210, 206, 206) 4px;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  cursor: grab;
  user-select: none;
}

.clock-widget:active {
  cursor: grabbing;
}



.clock-display {
  font-size: 100%;
  font-weight: 700;
  font-family: monospace;
  color: var(--dark);
  letter-spacing: 0.05em;
  line-height: 1;
}

body.night .clock-widget {
  background-color: #2a2a2a;
  border-color: #444;
}

body.night .clock-display {
  color: #e0e0e0;
}

/* Image Widget */
.img-widget {
  position: fixed;
  z-index: 9;
  right: 15%;
  top: 44%;
  width: 290px;
  cursor: grab;
  transition: opacity 0.3s ease;
  background-color: white;
  border: solid rgb(210, 206, 206) 4px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.img-widget:active {
  cursor: grabbing;
}

.img-widget-body {
  padding: 8px;
}

.img-widget-body img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.img-widget-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  font-size: 70%;
  color: #999;
}

.img-widget-meta a {
  color: #676be5;
  text-decoration: none;
  font-weight: 600;
}

.img-widget-meta a:hover {
  background-color: transparent;
  text-decoration: underline;
}

body.night .img-widget {
  background-color: #2a2a2a;
  border-color: #444;
}

/* Text Wall Widget */
.text-widget {
  position: fixed;
  z-index: 9;
  left: 20%;
  top: 25%;
  width: 300px;
  background-color: white;
  border: solid rgb(210, 206, 206) 4px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  cursor: grab;
  transition: opacity 0.3s ease;
}

.text-widget:active {
  cursor: grabbing;
}

.text-widget-body {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.text-widget-body iframe {
  width: 100%;
  height: calc(100% + 100px);
  border: none;
  margin-top: -56px;
}

.minimized .text-widget-body {
  display: none !important;
}

body.night .text-widget {
  background-color: #2a2a2a;
  border-color: #444;
}

/* Color Picker Widget */
.color-widget {
  position: fixed;
  z-index: 9;
  left: 32%;
  top: 66%;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: white;
  border: solid rgb(210, 206, 206) 4px;
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  cursor: grab;
  height: fit-content;
}

.color-widget:active {
  cursor: grabbing;
}

.color-swatch {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background-color: #CCFF00;
  border: 2px solid rgba(0,0,0,0.1);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.color-label {
  font-size: 75%;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.03em;
  cursor: pointer;
}

.color-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  padding: 0;
}

body.night .color-widget {
  background-color: #2a2a2a;
  border-color: #444;
}

body.night .color-label {
  color: #e0e0e0;
}

.navBar-new {
  z-index: 10;
  position: sticky;
  top: 3%;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: white;
  border: solid rgb(210, 206, 206) 4px;
  border-radius: 10px;
  padding: 6px 12px;
}

.nav-main {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-main li {
  position: relative;
}

.nav-sun {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
}

.highlight {
  color: rgb(25, 25, 25);
  background-color: #CCFF00;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 90%;
}

.nav-dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 8px;
  white-space: nowrap;
  background-color: white;
  border: solid rgb(210, 206, 206) 1px;
  border-radius: 10px;
  padding: 10px 14px;
  flex-direction: column;
  gap: 10px;
}

.navBar-new.open .nav-dropdown {
  display: flex;
}

.nav-dropdown a {
  font-size: 75%;
  color: #676be5;
  text-decoration: none;
}

.theme-toggle {
  font-size: 75%;
  color: #999;
  cursor: pointer;
  padding: 4px 10px;
  border: 1px solid rgb(210, 206, 206);
  border-radius: 8px;
  user-select: none;
}

.theme-toggle:hover {
  background-color: #ffef9b;
  color: var(--dark);
}

.active {
  color: #333;
  background-color: #d0e8ff;
  border-radius: 10px;
  padding: 4px 8px;
}

/* Night mode */
body.night {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

body.night .navBar-new {
  background-color: #2a2a2a;
  border-color: #444;
}

body.night .highlight {
  background-color: #CCFF00;
  color: #1a1a1a;
}

body.night .active {
  background-color: #1a3a5c;
  color: #a0cfff;
}

body.night .nav-dropdown {
  background-color: #2a2a2a;
  border-color: #444;
}

body.night a {
  color: #9b9ff0;
}

body.night a:hover {
  color: var(--accent, #CCFF00);
  background-color: transparent;
  text-decoration: underline dotted;
}

body.night .mosaic-title,
body.night .mosaic-type {
  color: #e0e0e0;
}

body.night .theme-toggle {
  color: #aaa;
  border-color: #444;
}

body.night .theme-toggle:hover {
  background-color: #333;
  color: #CCFF00;
}

body.night model-viewer {
  background-color: transparent;
}



body.night .bg {
  filter: invert(1);
}


.bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 100vh;
  background-image: url("/assets/sun.png");
  background-position: center 8vh;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.10;
  z-index: -1;
}

/* Editorial Mosaic */
.mosaic-wrapper {
  width: 80%;
  margin: 0 auto;
  padding: 5% 0 10%;
  box-sizing: border-box;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 auto;
}

/* Blank slots — hidden by default, uncomment in HTML to use */
.mosaic-blank {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #999;
  text-align: center;
  padding: 10px;
  line-height: 1.5;
  border-radius: 8px;
  box-sizing: border-box;
  transition: background-color 0.3s, color 0.3s;
  cursor: default;
}

.mosaic-blank:hover {
  background-color: var(--accent, #CCFF00);
  color: var(--accent-text, #1a1a1a);
}

body.night .mosaic-blank {
  color: #444;
}

.mosaic-item {
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.mosaic-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.mosaic-item a:hover {
  background-color: transparent;
}

.mosaic-item .mosaic-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
}

.mosaic-item .mosaic-img {
  border: 3px solid transparent;
  transition: border-color 0.3s;
}

.mosaic-item:hover .mosaic-img {
  border-color: var(--accent, #CCFF00);
}

.mosaic-item:hover .mosaic-meta .mosaic-title,
.mosaic-item:hover .mosaic-meta .mosaic-type {
  font-weight: bold;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s;
}

.mosaic-item:hover img {
  transform: scale(1.03);
  filter: saturate(2);
}

.mosaic-meta {
  display: flex;
  justify-content: space-between;
  padding: 6px 2px 0;
}

.mosaic-type,
.mosaic-title {
  font-size: 11px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  color: var(--dark);
  letter-spacing: 0.5px;
  text-transform: lowercase;
}


@media only screen and (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mosaic-wrapper { padding: 4vh 4% 10vh 4%; }
}

@media only screen and (max-width: 800px) {
  html, body { overscroll-behavior: none; }
  .container { width: 95vw; }
  model-viewer { height: 45vh; }
  .floating-art-1 { left: 85%; width: 20%; }
  .navBar-new { padding: 4px 8px; margin-top: 44px; }
  .nav-main { gap: 10px; }
  .color-widget { left: 2%; bottom: 10%; }
  .clock-widget { right: 2%; top: 38%; padding: 8px 12px; }
  .music-widget { width: 220px; left: 2%; top: 8%; }
  .gallery-widget { width: 220px; right: 2%; top: 8%; }
  .mosaic-blank { font-size: 10px; padding: 6px; }
}

@media only screen and (max-width: 500px) {
  .mosaic { grid-template-columns: 1fr; gap: 16px; }
  .mosaic-wrapper { padding: 3vh 5% 10vh 5%; }
}

.site-footer {
  min-height: 15vh;
  background-color: var(--accent, #CCFF00);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #1a1a1a;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.footer-brand {
  color: inherit;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  text-transform: lowercase;
}

.footer-links a:hover {
  text-decoration: underline;
  background-color: transparent;
}

.footer-copy {
  color: inherit;
  opacity: 0.6;
}

@media only screen and (max-width: 1024px) {
  .music-widget,
  .gallery-widget,
  .clock-widget,
  .color-widget,
  .img-widget,
  .text-widget,
  .floating-art-1,
  .floating-art-left {
    display: none !important;
  }
}

/* About Page */
.about-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 8% 5% 4%;
}

.about-section {
  padding: 24px;
  margin-bottom: 24px;
}

.about-section h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-work-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 16px;
  align-items: start;
}

.about-work-col ul {
  margin-top: 8px;
}

.about-text p {
  padding: 2px 0;
}

.about-pronouns {
  color: var(--accent, #CCFF00);
}

.about-label {
  font-weight: 700;
  font-size: 12px;
  padding-top: 2px;
}

.about-section ul {
  list-style: circle;
  padding-left: 18px;
  margin: 0;
}

.about-section li {
  padding: 1px 0;
}

.about-cta {
  padding-top: 12px;
  margin-top: 8px;
}

/* About Personal Row — two columns: text + photo */
.about-personal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.about-photo-widget {
  background-color: white;
  border: solid rgb(210, 206, 206) 4px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  cursor: grab;
}

.about-photo-widget:active {
  cursor: grabbing;
}

.about-photo-body {
  padding: 8px;
}

.about-photo-body img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.about-photo-caption {
  text-align: center;
  font-size: 11px;
  color: #999;
  padding: 4px 0 10px;
}

body.night .about-photo-widget {
  background-color: #2a2a2a;
  border-color: #444;
}

@media only screen and (max-width: 600px) {
  .about-personal-row,
  .about-work-columns {
    grid-template-columns: 1fr;
  }
}

/* Journal / Blog */
.journal-post {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #eee;
}

.journal-post:last-child {
  border-bottom: none;
}

.journal-date {
  font-size: 11px;
  color: #999;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  margin-bottom: 4px;
}

.journal-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.journal-body p {
  padding: 4px 0;
  text-align: left;
}

.journal-img {
  width: 100%;
  border-radius: 6px;
  margin: 12px 0;
}

.journal-footer-note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dotted #ccc;
  font-size: 11px;
  color: #999;
}

.journal-footer-note p {
  padding: 1px 0;
}

body.night .journal-post {
  border-bottom-color: #333;
}

body.night .journal-footer-note {
  border-top-color: #444;
  color: #666;
}

/* Journal Feed — old Twitter vibes */
.journal-feed {
  max-width: 700px;
  margin: 0 auto;
  padding: 6% 0 4%;
}

.feed-post {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  align-items: flex-start;
}

.feed-post:last-child {
  border-bottom: none;
}

/* Left column — avatar, name, date stacked */
.feed-left,
.feed-left * {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.feed-left {
  width: 90px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding-top: 2px;
}

.feed-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.feed-name {
  font-weight: 700;
  font-size: 11px;
  color: var(--dark);
  line-height: 1.2;
}

.feed-handle {
  font-size: 10px;
  color: #999;
  line-height: 1.2;
}

.feed-date {
  font-size: 10px;
  color: #999;
  line-height: 1.3;
  margin-top: 2px;
}

.feed-song {
  font-size: 11px;
  color: #999;
  font-style: italic;
  line-height: 1.3;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

.feed-song-icon {
  color: var(--accent, #CCFF00);
  font-style: normal;
}

/* Right column — content */
.feed-right {
  flex: 1;
  min-width: 0;
}

.feed-body {
  font-size: 14px;
  line-height: 1.5;
}

.feed-body p {
  padding: 1px 0;
  text-align: left;
  margin: 0;
}

.feed-readmore {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--accent, #CCFF00);
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feed-readmore:hover {
  text-decoration: underline dotted;
}

.feed-arrow {
  font-size: 11px;
  margin-right: 2px;
}

.feed-images {
  margin: 10px 0 4px 0;
  border-radius: 12px;
  overflow: hidden;
}

.feed-images img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  max-height: 340px;
  object-fit: cover;
  cursor: pointer;
}

.feed-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.feed-images-grid img {
  aspect-ratio: 1;
  border-radius: 0;
}

.feed-images-grid img:first-child { border-radius: 12px 0 0 0; }
.feed-images-grid img:nth-child(2) { border-radius: 0 12px 0 0; }
.feed-images-grid img:nth-child(3) { border-radius: 0 0 0 12px; }
.feed-images-grid img:nth-child(4) { border-radius: 0 0 12px 0; }
.feed-images-grid img:only-child { border-radius: 12px; grid-column: 1 / -1; aspect-ratio: auto; }

body.night .feed-post {
  border-bottom-color: #333;
}

body.night .feed-avatar {
  background: #333;
}

body.night .feed-name {
  color: #e0e0e0;
}

body.night .feed-handle,
body.night .feed-date {
  color: #666;
}

body.night .feed-song {
  color: #555;
}

@media only screen and (max-width: 650px) {
  .journal-feed {
    max-width: 100%;
    padding: 8% 2% 4%;
  }
  .feed-post { flex-direction: column; gap: 8px; }
  .feed-left { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 6px; align-items: center; text-align: left; }
  .feed-avatar { margin-bottom: 0; }
}

/* Archive Widget — minimalist file list */
.archive-widget,
.archive-widget * {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.archive-widget {
  position: fixed;
  z-index: 9;
  left: 3%;
  top: 12%;
  width: 240px;
  background-color: white;
  border: solid rgb(210, 206, 206) 4px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  cursor: grab;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
}

.archive-widget:active {
  cursor: grabbing;
}

.archive-header {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  user-select: none;
  background-color: white;
}

.archive-label {
  font-size: 11px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.03em;
  font-family: monospace;
}

.archive-count {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-text, #1a1a1a);
  font-family: monospace;
  margin-left: auto;
  background-color: var(--accent, #CCFF00);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.archive-body {
  display: none;
  padding: 0;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: auto;
  scrollbar-color: var(--accent) #f0f0f0;
}

.archive-widget.open .archive-body {
  display: block;
}

.archive-body::-webkit-scrollbar {
  width: 20px;
}

.archive-body::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.archive-body::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 0;
}

.archive-body::-webkit-scrollbar-thumb:hover {
  background: #b8e600;
}

.archive-month-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  cursor: pointer;
  user-select: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #333;
  font-family: monospace;
  text-align: left;
}

.archive-month-header:hover {
  color: #000;
  text-decoration: underline dotted;
}

.archive-month-toggle {
  font-size: 11px;
  font-weight: 700;
  width: 12px;
  flex-shrink: 0;
  font-family: monospace;
  line-height: 1;
  text-align: center;
  color: #999;
}

.archive-month-count {
  font-weight: 400;
  font-size: 9px;
  color: #bbb;
  margin-left: auto;
  font-family: monospace;
}

.archive-days {
  display: none;
  padding: 0 8px 2px 26px;
}

.archive-month.open .archive-days {
  display: block;
}

.archive-day {
  padding: 2px 0;
  font-size: 10px;
  cursor: pointer;
  color: #777;
  letter-spacing: 0.01em;
  font-family: monospace;
  text-align: left;
}

.archive-day:hover {
  color: #000;
  text-decoration: underline dotted;
}

.archive-day-count {
  font-size: 9px;
  color: #bbb;
  margin-left: 3px;
}

body.night .archive-widget {
  background-color: #2a2a2a;
  border-color: #444;
}

body.night .archive-header {
  background-color: #2a2a2a;
}

body.night .archive-label {
  color: #e0e0e0;
}

body.night .archive-count {
  color: #666;
}

body.night .archive-month-header {
  color: #ccc;
}

body.night .archive-month-header:hover {
  color: #fff;
}

body.night .archive-month-toggle {
  color: #666;
}

body.night .archive-month-count {
  color: #555;
}

body.night .archive-day {
  color: #888;
}

body.night .archive-day:hover {
  color: #fff;
}

body.night .archive-day-count {
  color: #555;
}

body.night .archive-body::-webkit-scrollbar-track {
  background: #1a1a1a;
}

body.night .archive-body::-webkit-scrollbar-thumb {
  background: var(--accent);
}

.archive-widget.minimized .archive-header,
.archive-widget.minimized .archive-body {
  display: none !important;
}

@media only screen and (max-width: 1024px) {
  .archive-widget {
    display: none !important;
  }
}

/* Art Masonry Grid */
.art-masonry {
  width: 80%;
  margin: 0 auto;
  columns: 2;
  column-gap: 12px;
  padding-bottom: 5%;
}

.art-masonry-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.art-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s;
}

.art-masonry-item:hover img {
  transform: scale(1.03);
  filter: saturate(2);
}

.art-masonry-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: 8px;
  transition: border-color 0.3s;
  pointer-events: none;
}

.art-masonry-item:hover::after {
  border-color: var(--accent, #CCFF00);
}

@media only screen and (max-width: 600px) {
  .art-masonry {
    columns: 1;
  }
}

@media only screen and (min-width: 900px) {
  .art-masonry {
    columns: 3;
  }
}
