:root {
  --bg: #f8f8f8;
  --bg-alt: #d6d9d7;
  --text: #221e17;
  --text-muted: #5b564c;
  --accent: #F95835;

  --font-heading: 'Zalando Sans Expanded', sans-serif;
  --font-body: 'Zalando Sans SemiExpanded', sans-serif;
  --font-footer: 'Zalando Sans', sans-serif;

  --fs-title: 64px;
  --fs-h1: 16px;
  --fs-body: 10px;
  --fs-small: 11px;
  --fs-xsmall: 8.5px;

  --space-page-x: 48px;
  --space-page-top: 24px;
  --space-heading-gap: 24px;
}

[data-theme='dark'] {
  --bg: #15171a;
  --bg-alt: #22252a;
  --text: #f4f2ed;
  --text-muted: #9a988f;
  --accent: #ff8f65;
}

* {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html, body, a, button, input, select, textarea, .filter-btn, .work-item, .thumb-expand-clone, .thumb-expand-overlay {
  cursor: none !important;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  transition: background 0.25s ease, color 0.25s ease, opacity 0.35s ease;
  opacity: 0;

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

  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

main, .index-main, .works.page, .post-page {
  flex: 1 0 auto;
}

body.page-loaded {
  opacity: 1;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50% !important;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);

  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              opacity 0.2s ease;
}

.custom-cursor.cursor-on-accent {
    background-color: var(--text);
    mix-blend-mode: saturation;
}

.custom-cursor-label {
  display: none;
}

.custom-cursor.cursor-view {
  width: 14px;
  height: 14px;
}

h1, h2, h3, .heading {
  font-family: var(--font-heading);
  font-weight: 500;
  margin: 0;
  color: var(--text);
}

.accent {
  color: var(--accent);
}

button {
  font-family: var(--font-body);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: var(--space-page-top) var(--space-page-x) 0;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 18%, transparent 66%);
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.overlay-active .site-header::before {
  opacity: 0;
}

.site-header-nav {
  display: flex;
  align-items: baseline;
  gap: 48px;
}

.site-header-nav a {
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.2px;
  font-size: var(--fs-h1);
  color: var(--text);
  transition: color 0.3s ease;
}

.site-header-nav a:hover,
.site-header-nav a.active {
  color: var(--accent);
}

.nav-info-btn {
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.2px;
  font-size: var(--fs-h1);
  color: var(--text);
  background: transparent !important;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav-info-btn .full-name {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: pre;
  font-style: italic;
  transition: max-width 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.nav-info-btn:hover .full-name,
.nav-info-btn.active .full-name {
  max-width: 160px;
  opacity: 1;
}

.nav-info-btn:hover,
.nav-info-btn.active {
  color: var(--accent);
}

body.overlay-active .theme-toggle {
  background-color: var(--bg);
}

.theme-toggle {
  width: 14px;
  height: 14px;
  border-radius: 50% !important;
  border: none;
  padding: 0;
  flex: none;
  background-color: var(--text);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.25s ease;
}

.theme-toggle:hover {
  transform: scale(1.3);
}

.theme-toggle.spin {
  animation: elasticScale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes elasticScale {
  0% { transform: scale(1); }
  40% { transform: scale(0.6); }
  100% { transform: scale(1); }
}

.theme-ripple {
  position: fixed;
  border-radius: 50% !important;
  background-color: var(--accent);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0.3;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.8s cubic-bezier(0.1, 0.9, 0.2, 1),
              opacity 0.8s ease;
}

.theme-ripple.spread {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
}

.thumb-expand-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--text) 60%, transparent);
  opacity: 0;
  pointer-events: none;
  z-index: 9990;
  transition: opacity 0.4s ease;
}

.thumb-expand-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.thumb-expand-clone {
  position: fixed;
  z-index: 9995;
  cursor: pointer;
  transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              top 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: min(620px, 50vw);
  height: auto;
  max-height: 90vh;
  z-index: 1000;

  background-color: var(--text);
  color: var(--bg);

  transform: translate(45%, -45%);
  opacity: 0;
  pointer-events: none;

  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);

  transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  box-shadow: 10px 0 6px color-mix(in srgb, var(--text) 50%, transparent);
}

[data-theme='dark'] .info-overlay {
  background-color: var(--text);
  color: var(--bg);
  box-shadow: 10px 0 6px color-mix(in srgb, var(--text) 50%, transparent);
}

.info-overlay.open {
  transform: translate(0, 0);
  opacity: 1;
  pointer-events: auto;
}

.overlay-inner {
  position: relative;
  height: auto;
  padding: 56px var(--space-page-x) 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 48px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-small);

  opacity: 0;
  transition: opacity 0.5s ease 0s;
}

.info-overlay.open .overlay-inner {
  opacity: 1;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.overlay-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.overlay-label {
    color: inherit;
    opacity: 0.7;
}

.overlay-clocks {
  display: grid;
  grid-template-columns: 1fr max-content max-content max-content;
  column-gap: 28px;
  row-gap: 8px;
  align-items: center;
  width: 100%;
}

.clock-row {
  display: contents;
}

.clock-row .city-name {
  text-align: left;
  color: inherit;
}

.clock-row .clock-time {
  text-align: left;
  color: var(--accent);
}

.clock-row .clock-day {
  text-align: left;
  color: inherit;
  opacity: 0.7;
}

.clock-row .clock-date {
  text-align: right;
  color: inherit;
  opacity: 0.7;
}

.overlay-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.overlay-contact-label {
  opacity: 0.7;
  margin-bottom: 0;
}

.overlay-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: inherit;
}

.overlay-contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.overlay-contact a:hover {
  color: var(--accent);
}

.overlay-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.overlay-copyright {
  opacity: 0.7;
  font-size: var(--fs-xsmall);
}

.overlay-close-btn {
  position: absolute;
  top: 100%;
  right: var(--space-page-x);
  margin-top: 12px;
  padding: 5px 14px;
  border: none;
  background-color: var(--text);
  color: var(--bg);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-small);
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease;
}

[data-theme='dark'] .overlay-close-btn {
  background-color: var(--text);
  color: var(--bg);
}

.overlay-close-btn:hover,
[data-theme='dark'] .overlay-close-btn:hover {
  background-color: var(--accent);
  color: #ffffff;
}

.index-main {
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--space-page-top) + 60px) var(--space-page-x) 64px;
}

.index-tagline {
  font-size: var(--fs-body);
  color: var(--text-muted);
  margin: 0;
}

.works-page {
  padding: calc(var(--space-page-top) + 60px) var(--space-page-x) 64px;
}

.works-filter-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.works-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 5px 12px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-small);
  line-height: 1.2;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.filter-btn:hover {
  color: var(--accent);
}

.filter-btn.active {
  background-color: var(--accent);
  color: var(--bg);
}

.view-toggle-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view-btn {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.view-btn svg {
  fill: currentColor;
}

.view-btn.active {
  color: var(--accent);
}

.works-grid {
  transition: opacity 0.22s ease;
}

.works-grid.view-fading {
  opacity: 0;
}

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

.grid-view .work-item {
  margin: 0;
}

.grid-view .work-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-view .work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.grid-view .work-item:hover .work-thumb {
  transform: scale(0.98);
}

.grid-view .work-title,
.grid-view .work-category,
.grid-view .work-year {
  display: none;
}

.works-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.list-view .work-item {
  display: grid;
  grid-template-columns: 1fr 0.6fr 0.4fr;
  align-items: center;
  padding: 6px 0;
  margin: 0;
  border-bottom: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-small);
  transition: color 0.2s ease;
}

.list-view .work-item:hover {
  color: var(--accent);
}

.list-view .work-item:hover .work-title a,
.list-view .work-item:hover .work-category,
.list-view .work-item:hover .work-year {
  font-weight: 600;
  color: var(--accent);
}

.list-view .work-thumb {
  display: none;
}

.list-view .work-title {
  order: 1;
  display: block;
  margin: 0;
  padding: 0;
  color: var(--text);
  text-align: left;
}

.list-view .work-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.list-view .work-category {
  order: 2;
  display: block;
  padding: 0;
  color: var(--text-muted);
  text-align: left;
}

.list-view .work-year {
  order: 3;
  display: block;
  padding: 0;
  text-align: right;
  color: var(--text-muted);
}

.site-footer {
  flex-shrink: 0;
  position: relative;
  min-height: 50vh;
  background: linear-gradient(to top, var(--text) 0%, transparent 32%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  padding-bottom: 32px;
  pointer-events: none;
  margin-top: 48px;
}

.footer-blur-name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-family: var(--font-footer);
  font-weight: 900;
  font-stretch: condensed;
  font-size: 36vw;
  letter-spacing: -0.08em;
  line-height: 0.8;
  color: var(--text);
  filter: blur(8px);
  margin: 0;
  padding: 0;
  transform: translateY(4vw);
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to top, black 0%, black 20%, transparent 100%);
  mask-image: linear-gradient(to top, black 0%, black 20%, transparent 100%);
  pointer-events: none;
  user-select: none;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding: 0 var(--space-page-x);
  font-size: var(--fs-small);
  color: var(--bg);
  pointer-events: auto;
  transform: translateY(-20px);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.footer-content a {
  color: var(--bg);
  text-decoration: none;
}

.footer-content a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .site-header {
    padding: 20px 24px 0;
  }

  .site-header-nav {
    gap: 16px;
  }

  .site-header-nav a,
  .nav-info-btn {
    font-size: 13px;
  }

  .index-main {
    min-height: 46vh;
    padding: calc(var(--space-page-top) + 50px) 24px 48px;
  }

  .works-page {
    padding: calc(var(--space-page-top) + 50px) 24px 48px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .work-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 12px;
  }

  .work-item figcaption {
    order: 1;
    margin-top: 0;
    text-align: left;
  }

  .work-item .work-thumb {
    order: 2;
  }

  .footer-blur-name {
    font-size: 70vw;
  }
}

.error-page {
  min-height: calc(100vh - var(--space-page-top) - 120px);
  padding: calc(var(--space-page-top) + 40px) var(--space-page-x) 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.error-code {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(80px, 18vw, 220px);
  line-height: 0.85;
  color: var(--accent);
  margin: 0;
}

.error-message {
  font-size: 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0;
}

.error-subtext {
  font-size: var(--fs-body);
  color: var(--text-muted);
}

.error-back {
  margin-top: 16px;
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.error-back:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.page-404 .site-header-nav {
  display: none;
}

.post-layout-3col {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.post-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-small);
}

.sidebar-item {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, font-weight 0.2s ease;
  line-height: 1.4;
}

.sidebar-item:hover {
  color: var(--accent);
}

.sidebar-item.active {
  color: var(--text);
  font-weight: 600;
}

.post-main-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-header-inline h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  margin-bottom: 8px;
}

.post-meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .post-layout-3col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.post-page {
  padding: calc(var(--space-page-top) + 60px) var(--space-page-x) 64px;
}

.post-back {
  display: inline-block;
  margin-bottom: 32px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-back:hover {
  color: var(--accent);
}

.post-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-heading-gap);
  padding-bottom: 16px;
}

.post-header h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
}

.post-meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.post-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.post-description {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 280px;
}

.post-description p {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.post-description .desc-heading {
  font-weight: 600;
  color: var(--text);
}

.post-images {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 420px;
}

.post-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .post-page {
    padding: calc(var(--space-page-top) + 50px) 24px 48px;
  }

  .post-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.list-view .work-item[data-title="cinehaus"] .work-title,
.post-header-inline h1 {
  view-transition-name: project-title-cinehaus;
}

::view-transition-old(project-title-cinehaus),
::view-transition-new(project-title-cinehaus) {
  height: 100%;
  width: max-content;
  transform-origin: left top;
}

::view-transition-group(project-title-cinehaus) {
  animation-duration: 0.45s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.post-sidebar-list .sidebar-item {
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.2s ease,
    font-weight 0.2s ease;
}

body.page-loaded .post-sidebar-list .sidebar-item {
  opacity: 1;
  transform: translateX(0);
}

body.page-loaded .post-sidebar-list .sidebar-item:nth-child(1)  { transition-delay: 0.04s, 0.04s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(2)  { transition-delay: 0.06s, 0.06s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(3)  { transition-delay: 0.08s, 0.08s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(4)  { transition-delay: 0.10s, 0.10s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(5)  { transition-delay: 0.12s, 0.12s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(6)  { transition-delay: 0.14s, 0.14s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(7)  { transition-delay: 0.16s, 0.16s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(8)  { transition-delay: 0.18s, 0.18s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(9)  { transition-delay: 0.20s, 0.20s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(10) { transition-delay: 0.22s, 0.22s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(11) { transition-delay: 0.24s, 0.24s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(12) { transition-delay: 0.26s, 0.26s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(13) { transition-delay: 0.28s, 0.28s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(14) { transition-delay: 0.30s, 0.30s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(15) { transition-delay: 0.32s, 0.32s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(16) { transition-delay: 0.34s, 0.34s, 0s, 0s; }
body.page-loaded .post-sidebar-list .sidebar-item:nth-child(17) { transition-delay: 0.36s, 0.36s, 0s, 0s; }

body.preloading {
  overflow: hidden;
  opacity: 1;
  transition: none;
}

.page-reveal-out {
  position: fixed;
  inset: 0;
  background: var(--text);
  z-index: 10001;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.2s ease-out;
}

.page-reveal-out.done {
  opacity: 0;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 var(--space-page-x) 40px;
  background: var(--bg);
  pointer-events: auto;
}

.preloader.hidden {
  visibility: hidden;
}

.preloader-count {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(80px, 18vw, 220px);
  line-height: 0.85;
  color: var(--accent);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.preloader-reveal {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  background: var(--text);
  transform: translate(-50%, -50%) scale(0);
  opacity: 1;
  z-index: 10001;
  pointer-events: none;
}

.preloader-reveal.animating {
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.preloader-reveal.fade-out {
  transition: opacity 0.5s ease;
  opacity: 0;
}

.work-item.is-hidden-post,
.sidebar-item.is-hidden-post { display: none !important; }

/* @font-face {
  font-family: 'SilverLining';
  src: url('/asset/SilverLining.woff2') format('woff2');
  font-display: swap;
}

.type-tester {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border-color);
}

.type-tester-label {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin: 0 0 16px;
}

.type-tester-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.type-tester-display {
  font-family: 'SilverLining', sans-serif;
  font-size: 72px;
  line-height: 1.2;
  outline: none;
  min-height: 1.2em;
  word-break: break-word;
} */

.post-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.action-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.action-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  padding: 5px 12px;
  border: none;
  background-color: var(--accent);
  color: var(--bg);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-small);
  line-height: 1.2;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.action-btn:hover {
  background-color: var(--text);
  color: var(--bg);
}

.action-subtext {
  font-size: var(--fs-xsmall);
  color: var(--text-muted);
  font-family: var(--font-body);
  line-height: 1.4;
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}
 
@media (max-width: 768px) {
 
  .post-sidebar-list {
    display: none;
  }

  .footer-content {
    font-size: 9px;
  }
 
  .footer-content > span {
    font-size: 0;
  }
 
  .footer-content > span::before {
    content: "\0000A9  2026\A Chloee Park";
    white-space: pre;
    display: block;
    font-size: 9px;
    line-height: 1.2;
  }
 
  .info-overlay {
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-100%);
  }
 
  .overlay-inner {
    padding: 64px 24px 32px;
    gap: 32px;
    font-size: 10px;
  }
 
  .overlay-clocks {
    grid-template-columns: 1fr max-content;
    column-gap: 16px;
    row-gap: 4px;
  }
 
  .clock-row .clock-time {
    text-align: right;
  }
 
  .clock-row .clock-day,
  .clock-row .clock-date {
    font-size: 9px;
    margin-bottom: 12px;
  }
 
  .clock-row:last-child .clock-day,
  .clock-row:last-child .clock-date {
    margin-bottom: 0;
  }

  .overlay-copyright {
    font-size: 0;
  }
 
  .overlay-copyright::before {
    content: "\0000A9  2026\A Chloee Park";
    white-space: pre;
    display: block;
    text-align: right;
    font-size: 8px;
    line-height: 1.4;
  }
 
  .overlay-close-btn {
    right: 24px;
    font-size: 10px;
  }
 
  .works-filter-wrapper {
    display: none;
  }
 
  .works-grid.grid-view {
    grid-template-columns: repeat(2, 1fr);
  }
 
  .grid-view .work-item {
    display: block;
  }

  .works-page,
  .post-page {
    padding-bottom: 24px;
  }
 
  .site-footer {
    margin-top: 0;
    min-height: 40vh;
  }
}
 
