/* =====================================================
   PORTFOLIO — Stylesheet
   ===================================================== */

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
img { display: block; max-width: 100%; border: 1px solid var(--fg); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; font: inherit; }
p { text-align: justify; }

/* ── Variables ───────────────────────────────────────── */
:root {
  --bg:     #f2fff3;
  --fg:     #1f1f1f ;
  --mid:    #566078;
  --faint:  #b0b8b5;
  --white:  #f2fff3;
  --nav-h:  60px;
  --gap:    40px;
  --max-w:  1440px;
  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Custom Cursor ───────────────────────────────────── */
/* Only apply on true pointer devices, never on touch */
@media (hover: hover) and (pointer: fine) {
  * { cursor: none !important; }
}

.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 44px;
  height: 44px;
  background: url('/cursor/windows_xp_cursor.png') no-repeat center / contain;
  pointer-events: none;
  z-index: 10000;
  transform: translate(0, 0);
  will-change: left, top;
  opacity: 0;
}


/* ── Layout ──────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ── Navigation ──────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gap);
  z-index: 200;
  transition: background 0.35s, border-color 0.35s;
}

#nav.scrolled {
  background: rgba(242, 255, 243, 0.65);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.nav-logo {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity 0.2s;
  background: var(--white);
  padding: 5px 11px 4px;
}
.nav-logo:hover { opacity: 0.6; }

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  color: var(--mid);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--fg); }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:first-child { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.open span:last-child  { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ── Hero / Slideshow ────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  background: #0a0a12;
}

.slideshow {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background: var(--slide-bg, #111);
  opacity: 0;
  transition: opacity 0.55s var(--ease);
}

.slide.active { opacity: 1; }

.slide-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(24px);
  transform: scale(1.08);
}

.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.slide img.loaded { opacity: 1; }

.slide-caption {
  position: absolute;
  bottom: 88px;
  left: var(--gap);
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: rgba(255,255,255,0.95);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s 0.3s var(--ease), transform 0.7s 0.3s var(--ease);
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 16px;
}

.slide.active .slide-caption {
  opacity: 1;
  transform: translateY(0);
}

.slide-num {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.55;
}

.slide-title {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.06em;
}

.slide-controls {
  position: absolute;
  bottom: 32px;
  left: 0; right: 0;
  padding: 0 var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.slide-dots { display: flex; gap: 8px; }

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: #fff;
  transform: scale(1.4);
}

.slide-arrows {
  display: flex;
  align-items: center;
  gap: 0;
}

.slide-arrow {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 5px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.slide-arrow:hover { background: rgba(0,0,0,0.75); color: #fff; }

.slide-counter {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-left: 1px solid rgba(255,255,255,0.12);
  border-right: 1px solid rgba(255,255,255,0.12);
}

.slide-current { color: #fff; }

/* ── Intro + Name (homepage) ─────────────────────────── */
#intro { padding: 100px 0 72px; }

.site-name {
  font-size: clamp(120px, 22vw, 400px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 0.88;
  margin-bottom: 32px;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

.intro-text {
  font-size: clamp(18px, 2.5vw, 30px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 640px;
  color: var(--mid);
}

/* ── Section Cards (homepage) ────────────────────────── */
#section-links { padding: 40px 0 120px; }

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

.section-card {
  display: flex;
  flex-direction: column;
  padding: 48px 36px 40px;
  border: 1px solid var(--faint);
  transition: background 0.25s;
}

.section-card:hover { background: var(--white); }

.section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mid);
  margin-bottom: 18px;
}

.section-card h2 {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.arrow {
  font-size: 18px;
  margin-top: auto;
  padding-top: 28px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.3s var(--ease);
}

.section-card:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Page Header ─────────────────────────────────────── */
.page-header {
  padding: calc(var(--nav-h) + 72px) 0 48px;
  border-bottom: 1px solid var(--faint);
}

.page-owner {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 6px;
}

.page-num {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mid);
  margin-bottom: 10px;
}

.page-title {
  font-size: clamp(56px, 12vw, 220px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.88;
  overflow-wrap: break-word;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

/* ── Gallery Grid ────────────────────────────────────── */
.gallery-section { padding: 72px 0 120px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.work-link { display: block; }

.work-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ph, #ccc);
  overflow: hidden;
  margin-bottom: 12px;
}

.work-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s, transform 0.6s var(--ease);
}

.work-img img.loaded { opacity: 1; }
.work-item:hover .work-img img { transform: scale(1.04); }

.work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.28);
  opacity: 0;
  transition: opacity 0.3s;
}

.work-overlay span {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-item:hover .work-overlay { opacity: 1; }

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.work-title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.work-year {
  font-size: 12px;
  color: var(--mid);
}

/* ── Projects (Engineering) ──────────────────────────── */
.projects-section { padding: 72px 0 120px; }

.projects-list { display: flex; flex-direction: column; }

.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  padding: 80px 0;
  border-bottom: 1px solid var(--faint);
  align-items: center;
}

/* Alternate image side on even items */
.project-item:nth-child(even) > .project-img { order: 2; }
.project-item:nth-child(even) > .project-info { order: 1; }

.project-img {
  aspect-ratio: 16 / 10;
  background: var(--ph, #ccc);
  overflow: hidden;
  position: relative;
}

.project-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s;
}

.project-img img.loaded { opacity: 1; }

.project-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mid);
}

.project-title {
  font-size: clamp(22px, 2.5vw, 38px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.project-desc {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.75;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mid);
  border: 1px solid var(--faint);
  padding: 3px 9px;
  border-radius: 2px;
}

.project-link {
  font-size: 14px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  transition: gap 0.2s var(--ease);
}

.project-link:hover { gap: 14px; }

/* ── Music ───────────────────────────────────────────── */
.music-section { padding: 72px 0 120px; }

.sc-wrap {
  margin-bottom: 72px;
}

.sc-player {
  display: block;
  width: 100%;
  height: 70vh;
  border: none;
}

.sc-credit {
  margin-top: 12px;
  text-align: right;
}

.sc-credit a {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mid);
  transition: color 0.2s;
}

.sc-credit a:hover { color: var(--fg); }

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 40px;
}

.music-art {
  aspect-ratio: 1;
  background: var(--ph, #ccc);
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}

.music-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s;
}

.music-art img.loaded { opacity: 1; }

.music-embed { margin-top: 10px; }
.music-embed iframe { width: 100%; border: none; display: block; }

.music-title {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.music-sub {
  font-size: 12px;
  color: var(--mid);
}

/* ── About ───────────────────────────────────────────── */
.about-section { padding: 72px 0 120px; }

.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
  align-items: start;
}

.about-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}

.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s;
}

.about-photo img.loaded { opacity: 1; }

.about-content { padding-top: 8px; }

.about-content h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 28px;
}

.about-bio {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 36px;
}

.about-bio p + p { margin-top: 14px; }

.inline-link {
  text-decoration: underline;
  text-decoration-color: var(--faint);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.inline-link:hover { text-decoration-color: var(--fg); }

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 0;
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
  margin-bottom: 28px;
}

.about-meta-row {
  display: flex;
  gap: 20px;
  font-size: 13px;
  line-height: 1.5;
}

.about-meta-label {
  flex-shrink: 0;
  width: 90px;
  color: var(--mid);
  letter-spacing: 0.01em;
}

.about-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-link {
  font-size: 14px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s var(--ease);
}

.about-link::before { content: '→'; }
.about-link:hover { gap: 14px; }

/* ── Footer ──────────────────────────────────────────── */
#footer {
  border-top: 1px solid var(--faint);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-copy {
  font-size: 11px;
  color: var(--mid);
}

/* ── Scroll Reveal ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger siblings */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  :root { --gap: 24px; }

  .nav-links {
    position: fixed;
    inset: 0;
    top: var(--nav-h);
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 44px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 100;
  }

  .nav-links.open {
    transform: translateX(0);
    background: var(--fg);
  }

  .nav-links a {
    font-size: 22px;
    color: var(--fg);
  }

  .nav-links.open a {
    color: rgba(255, 255, 255, 0.65);
  }

  .nav-links.open a:hover,
  .nav-links.open a.active {
    color: var(--white);
  }

  .nav-links.open a::after {
    background: var(--white);
  }

  .nav-toggle { display: flex; }

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

  .project-item {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 60px 0;
  }

  .project-item:nth-child(even) > .project-img,
  .project-item:nth-child(even) > .project-info { order: unset; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 380px; }
}

@media (max-width: 600px) {
  :root { --gap: 20px; }

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

  .slide-caption { display: none; }

  .music-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .music-grid   { grid-template-columns: 1fr; }
}

/* ── Project Detail Pages ────────────────────────────── */
.project-detail { padding: 72px 0 80px; }

/* Overview: text left, cover image right */
.pd-overview {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 72px;
  align-items: center;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--faint);
  margin-bottom: 72px;
}

.pd-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--mid);
}

.pd-cover {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.pd-cover img {
  width: 100%;
  display: block;
}

.pd-actions { margin-top: 8px; }

.pd-btn {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--fg);
  padding: 10px 20px;
  transition: background 0.2s, color 0.2s;
  margin: 6px;
}

.pd-btn:hover {
  background: var(--fg);
  color: var(--white);
}

/* YouTube / iframe wrapper (16:9) */
.pd-media {
  margin-bottom: 72px;
}

.pd-media-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 16px;
}

.pd-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #111;
}

.pd-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Content sections: text + media pair */
.pd-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--faint);
}

.pd-section--flip { grid-template-columns: 1fr 2fr; }
.pd-section--flip .pd-section-text { order: 2; }
.pd-section--flip .pd-media-pair   { order: 1; }

.pd-section-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pd-section-title {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
}

.pd-section-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--mid);
}

.pd-media-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pd-media-pair--single {
  grid-template-columns: 1fr;
}

.pd-media-pair img {
  width: 100%;
  display: block;
  height: auto;
}

.pd-media-pair video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #111;
}

/* Specs grid */
.pd-specs {
  padding: 48px 0;
  border-top: 1px solid var(--faint);
}

.pd-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
  margin-top: 16px;
}

.pd-spec {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  border: 1px solid var(--faint);
}

.pd-spec-val {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.pd-spec-key {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
}

.pd-back {
  padding-bottom: 80px;
}

/* page-owner as a link */
.page-owner a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.page-owner a:hover { opacity: 0.6; }

/* Responsive */
@media (max-width: 960px) {
  .pd-overview    { grid-template-columns: 1fr; gap: 32px; }
  .pd-cover       { position: static; }
  .pd-section     { grid-template-columns: 1fr; gap: 28px; }
  .pd-section--flip .pd-section-text,
  .pd-section--flip .pd-media-pair { order: unset; }
  .pd-spec-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .pd-media-pair  { grid-template-columns: 1fr; }
  .pd-spec-grid   { grid-template-columns: 1fr 1fr; }
}

/* ── Lightbox ────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover { color: #fff; }

/* ── Dark Header ─────────────────────────────────────── */
.dark-header .page-header {
  background: var(--fg);
  border-bottom-color: transparent;
}

.dark-header .page-header .page-owner,
.dark-header .page-header .page-owner a,
.dark-header .page-header .page-num {
  color: rgba(255,255,255,0.38);
}

.dark-header .page-header .page-title {
  color: var(--white);
}

/* Nav text flips white when floating over dark header; logo keeps its box */
.dark-header #nav:not(.scrolled) .nav-logo {
  color: var(--fg);
}

.dark-header #nav:not(.scrolled) .nav-toggle span {
  background: var(--white);
}

.dark-header #nav:not(.scrolled) .nav-links a {
  color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.dark-header #nav:not(.scrolled) .nav-links a:hover,
.dark-header #nav:not(.scrolled) .nav-links a.active {
  color: var(--white);
}

.dark-header #nav:not(.scrolled) .nav-links a::after {
  background: var(--white);
}

/* ── Outline / Stroke text (homepage name) ────────────── */
.text-stroke {
  -webkit-text-stroke: clamp(1px, 0.22vw, 3px) var(--fg);
  color: transparent;
}

/* Art-filled text — image clips to the letterforms */
.text-art {
  display: inline-block;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-text-stroke: clamp(1px, 0.22vw, 1px) var(--fg);
}

/* ── Empty State ─────────────────────────────────────── */
.empty-state {
  font-size: 14px;
  color: var(--mid);
  padding: 80px 0;
  border-top: 1px solid var(--faint);
}

.empty-state code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  background: rgba(0,0,0,0.05);
  padding: 1px 5px;
  border-radius: 2px;
}
