@font-face {
  font-family: "Berky";
  src: url("berky/BERKY.woff2") format("woff2"),
       url("berky/BERKY.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background: #F5EFE6;
  color: #2B1F18;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("bg brown.webp") center / cover no-repeat;
  opacity: 0.45;
  mix-blend-mode: darken;
  z-index: -1;
  pointer-events: none;
}

.site-header {
  width: 100%;
  opacity: 0;
  animation: fade-in 1s ease-in forwards;
}

.fade-in-on-load {
  opacity: 0;
  animation: fade-in 0.6s ease-out forwards;
  animation-delay: var(--fade-delay, 0s);
}

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  background: #C28A2C;
}

.site-header__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.site-header__link {
  color: #2B1F18;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.81rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
}

.site-header__link:hover {
  text-decoration: underline;
}

.site-header__ticker {
  overflow: hidden;
  background: #8C3D2E;
  border-bottom: 2px solid #2B1F18;
}

.site-header__ticker-track {
  display: flex;
  width: max-content;
  animation: site-header-ticker-scroll 16s linear infinite;
}

.site-header__ticker-set {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.5rem 0;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #F5EFE6;
}

.site-header__ticker-sep {
  padding: 0 1rem;
  color: #C28A2C;
}

@keyframes site-header-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .site-header__ticker-track {
    animation: none;
  }
}

.page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  text-align: center;
}

.page--monthly {
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
  gap: 3rem;
}

.page__title {
  font-family: "Instrument Serif", serif;
  font-weight: normal;
  font-size: clamp(1.79rem, 7.14vw, 4.76rem);
  color: #2B1F18;
  text-transform: lowercase;
}

.page__side-image {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 25vw;
  max-width: 320px;
  height: auto;
}

.page__side-image--right {
  left: auto;
  right: 2rem;
}

.about-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: min(60vw, 34rem);
  margin: 0 auto;
  padding: 1.75rem 2rem;
  text-align: justify;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #2B1F18;
  background: rgba(245, 239, 230, 0.85);
  border-radius: 1.5rem;
}

.about-text p {
  margin: 0;
}

.page__corner-title {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  margin: 0;
  font-family: "Berky", cursive;
  font-weight: normal;
  font-size: clamp(1.5rem, 5vw, 3rem);
  color: #2B1F18;
}


/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 4rem);
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) clamp(1.25rem, 4vw, 5rem);
  min-height: 100vh;
  opacity: 0;
  animation: fade-in 1s ease-in forwards;
}

.hero__widget {
  background: #2a1d17;
  border: 1px solid rgba(245, 239, 230, 0.1);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 2.5vw, 3rem) clamp(1.5rem, 3vw, 3.5rem);
}

.hero__doodle-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__doodle {
  width: 100%;
  max-width: clamp(220px, 28vw, 480px);
  height: auto;
  display: block;
}

.hero__status-line {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #7a9e82;
}

.hero__status-line::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7a9e82;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero__greeting {
  margin: 0 0 1.5rem;
  font-family: "Berky", cursive;
  font-weight: normal;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #F5EFE6;
  line-height: 1.2;
}

.hero__details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.25rem;
  margin: 0;
}

.hero__details dt {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.65rem, 1vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: #C28A6B;
  align-self: baseline;
  padding-top: 0.15rem;
}

.hero__details dd {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  color: #ECE8E1;
  line-height: 1.4;
}

.hero__listening {
  font-style: normal;
  grid-column: 1 / -1;
}

.hero__listening iframe {
  display: block;
  width: 100%;
  border-radius: 12px;
  margin-top: 0.15rem;
}

.spotify-facade {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  height: 80px;
  padding: 0 1rem;
  border-radius: 12px;
  background: #282828;
  cursor: pointer;
  margin-top: 0.15rem;
  border: none;
  transition: background 0.2s ease;
}

.spotify-facade:hover {
  background: #333;
}

.spotify-facade__icon {
  flex-shrink: 0;
}

.spotify-facade__text {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: #fff;
  letter-spacing: 0.03em;
}

/* ---------- Film strip ---------- */

.filmstrip-section {
  width: 100%;
  padding: 3rem 0 4rem;
}

.filmstrip {
  background: #2F211A;
  border-radius: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.filmstrip__scroll-hint {
  display: none;
}

.filmstrip__sprockets {
  display: flex;
  gap: 1.8rem;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1.5rem;
  pointer-events: none;
  overflow: hidden;
}

.filmstrip__sprocket-hole {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(236, 232, 225, 0.2);
}

.filmstrip__track {
  display: flex;
  gap: 1.25rem;
  padding: 0.5rem 1.5rem 0.75rem 3rem;
  overflow-x: hidden;
  flex-wrap: wrap;
  scrollbar-width: none;
  align-items: flex-start;
}

.filmstrip__track::-webkit-scrollbar {
  display: none;
}

.filmstrip-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem;
}

.filmstrip-label--desktop {
  flex: 0 0 auto;
  width: 300px;
  align-self: center;
  order: 999;
}

.filmstrip-label--mobile {
  display: none;
}

.filmstrip-label__title {
  margin: 0;
  font-family: "Berky", cursive;
  font-weight: normal;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #ECE8E1;
  line-height: 1.1;
}

.filmstrip-label__sub {
  margin: 0.5rem 0 0;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 450;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: #5a4a3e;
}

.frame {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: start;
  text-decoration: none;
  color: #ECE8E1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.4rem;
  border-radius: 0.25rem;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.frame:hover {
  transform: translateY(-7px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.frame__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0.15rem;
  background: #1a120c;
  border: 3px solid #ECE8E1;
}

.frame__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.frame:hover .frame__img {
  transform: scale(1.05);
}

.frame__number {
  font-family: "Inter", sans-serif;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7A665C;
  margin: 0;
}

.frame__title {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #ECE8E1;
  margin: 0;
}

.frame__date {
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: #7A665C;
  margin: 0;
}

.frame__read {
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: #B28B6B;
  margin: 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.frame:hover .frame__read {
  opacity: 1;
  transform: translateY(0);
}

.recommendations {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 2rem 4rem;
  text-align: center;
  color: #2B1F18;
}

.recommendations__title {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: normal;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin: 0 0 1.5rem;
}

.recommendations__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 60rem;
}

.recommendations__item {
  flex: 1 1 10rem;
  max-width: 14rem;
  border: 1px solid #2B1F18;
  border-radius: 0.5rem;
  padding: 1rem;
}

.recommendations__category {
  margin: 0 0 0.4rem;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: normal;
  font-size: 1rem;
  text-transform: lowercase;
}

.recommendations__name {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.totd-button {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 20;
  font-family: "Inter", sans-serif;
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: #2B1F18;
  background: #F5EFE6;
  border: 1px solid #2B1F18;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease, background 0.2s ease, color 0.2s ease;
  animation: ice-bounce 2s ease-in-out infinite;
}

.totd-button:hover {
  animation: none;
}

.totd-button.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.totd-button:hover {
  background: #8C3D2E;
  border-color: #8C3D2E;
  color: #F5EFE6;
}

.totd-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
}

.totd-modal[hidden] {
  display: none;
}

.totd-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 31, 24, 0.5);
}

.totd-modal__content {
  position: relative;
  max-width: 28rem;
  width: 90%;
  background: #F5EFE6;
  border: 1px solid #2B1F18;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  color: #2B1F18;
}

.totd-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #2B1F18;
}

.totd-modal__image {
  display: block;
  width: 100%;
  max-height: 14rem;
  object-fit: cover;
  border: 1px solid #2B1F18;
  border-radius: 0.25rem;
  margin: 0 0 1rem;
}

.totd-modal__image[hidden] {
  display: none;
}

.totd-modal__post-title {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: normal;
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.totd-modal__excerpt {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.totd-modal__link {
  color: #8C3D2E;
  text-decoration: underline;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}


/* ---------- About / User Manual ---------- */

.manual {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 2rem 6vw 4rem;
}

.manual__header {
  padding: 2rem 0 0;
  margin-bottom: 1rem;
}

.manual__title {
  margin: 0 0 1.75rem;
  font-family: "Berky", cursive;
  font-weight: normal;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #2B1F18;
  line-height: 1.1;
}

.manual__meta {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.manual__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.manual__meta-label {
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2B1F18;
}

.manual__meta-value {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #2B1F18;
  line-height: 1.3;
}

.manual__section-title {
  margin: 0 0 1.25rem;
  font-family: "Berky", cursive;
  font-weight: normal;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: #2B1F18;
}

/* Introduction */

.manual__intro {
  display: grid;
  grid-template-columns: 25% 1fr auto;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}

.manual__intro-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  object-fit: cover;
}

.manual__intro-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 450;
  line-height: 1.7;
  color: #1a110c;
  text-align: justify;
}

.manual__intro-text p {
  margin: 0;
}

/* Core Interests */

.manual__interests {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}

.manual__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.manual__tag {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #ECE8E1;
  background: #2a1d17;
  border: 1px solid rgba(236, 232, 225, 0.1);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.manual__tag:hover {
  background: #3d2b21;
  border-color: rgba(236, 232, 225, 0.25);
}

/* Currently */

.manual__currently {
  padding-bottom: 2rem;
}

.manual__currently-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.manual__card {
  background: #2a1d17;
  border: 1px solid rgba(236, 232, 225, 0.1);
  border-radius: 0.75rem;
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.manual__card-label {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C28A6B;
}

.manual__card-content {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.45;
  color: #ECE8E1;
}

/* ---------- Projects ---------- */

.projects {
  width: 100%;
  padding: 2rem 6vw 4rem;
}

.projects__title {
  margin: 0 0 2rem;
  font-family: "Berky", cursive;
  font-weight: normal;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #2B1F18;
  line-height: 1.1;
}


.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Postcard */

.postcard {
  perspective: 800px;
  cursor: pointer;
}

.postcard__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.postcard.is-flipped .postcard__inner {
  transform: rotateY(180deg);
}

.postcard__front,
.postcard__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Front */

.postcard__front {
  background: #F5EFE6;
  border: 1px solid rgba(43, 31, 24, 0.12);
  box-shadow: 0 2px 8px rgba(43, 31, 24, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.postcard:not(.is-flipped):hover .postcard__front {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(43, 31, 24, 0.15);
}

.postcard__stamp {
  position: absolute;
  top: clamp(0.3rem, 0.8vw, 0.6rem);
  right: clamp(0.3rem, 0.8vw, 0.6rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: clamp(0.2rem, 0.5vw, 0.35rem) clamp(0.25rem, 0.6vw, 0.45rem);
  background: #2a1d17;
  border: 2px solid #C28A6B;
  border-radius: 2px;
  outline: 1px dashed rgba(194, 138, 107, 0.4);
  outline-offset: 2px;
}

.postcard__stamp-type {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.35rem, 0.7vw, 0.55rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C28A6B;
  line-height: 1;
}

.postcard__stamp-year {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(0.48rem, 1vw, 0.75rem);
  color: #ECE8E1;
  line-height: 1;
}

.postcard__thumb {
  width: 100%;
  flex: 1;
  overflow: hidden;
  background: #e8ddd0;
}

.postcard__thumb {
  min-height: clamp(60px, 12vw, 140px);
}

.postcard__title {
  margin: 0;
  padding: clamp(0.35rem, 1vw, 0.65rem) clamp(0.5rem, 1.2vw, 0.75rem) clamp(0.15rem, 0.4vw, 0.25rem);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: normal;
  font-size: clamp(0.7rem, 1.6vw, 1rem);
  color: #2B1F18;
  line-height: 1.2;
}

.postcard__tags {
  margin: 0;
  padding: 0 clamp(0.5rem, 1.2vw, 0.75rem) clamp(0.4rem, 0.8vw, 0.65rem);
  font-family: "Inter", sans-serif;
  font-size: clamp(0.45rem, 0.9vw, 0.65rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #5a4a3e;
}

/* Back */

.postcard__back {
  background: #2a1d17;
  border: 1px solid rgba(236, 232, 225, 0.1);
  box-shadow: 0 2px 8px rgba(43, 31, 24, 0.08);
  transform: rotateY(180deg);
  padding: clamp(0.5rem, 1.5vw, 1.5rem);
  justify-content: center;
  gap: clamp(0.2rem, 0.6vw, 0.6rem);
}

.postcard__back-title {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: normal;
  font-size: clamp(0.7rem, 1.8vw, 1.2rem);
  color: #ECE8E1;
  line-height: 1.2;
}

.postcard__back-year {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.48rem, 1vw, 0.7rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C28A6B;
}

.postcard__back-desc {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.52rem, 1.2vw, 0.8rem);
  line-height: 1.5;
  color: #d4cfc8;
}

.postcard__back-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(0.1rem, 0.4vw, 0.25rem) clamp(0.35rem, 1vw, 0.75rem);
  margin: 0;
}

.postcard__back-meta dt {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.42rem, 0.9vw, 0.65rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C28A6B;
  align-self: baseline;
}

.postcard__back-meta dd {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: clamp(0.55rem, 1.2vw, 0.85rem);
  color: #ECE8E1;
}

.postcard__back-tags {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.45rem, 0.9vw, 0.65rem);
  letter-spacing: 0.04em;
  color: #7A665C;
}

.postcard__back-link {
  display: inline-block;
  margin-top: 0.25rem;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.52rem, 1.1vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #C28A6B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.postcard__back-link:hover {
  color: #ECE8E1;
}

/* ---------- Archive Page ---------- */

.archive {
  width: 100%;
  padding: 2rem 6vw 4rem;
}

.archive__header {
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
}

.archive__title {
  margin: 0 0 0.5rem;
  font-family: "Berky", cursive;
  font-weight: normal;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #2B1F18;
  line-height: 1.1;
}

.archive__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.75rem;
}

.archive__meta-item {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 450;
  letter-spacing: 0.06em;
  color: #2B1F18;
}

.archive__meta-value {
  color: #2B1F18;
}

.archive__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.archive__tag {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  color: #ECE8E1;
  background: #2a1d17;
  border: 1px solid rgba(236, 232, 225, 0.1);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}

.archive__section {
  margin-bottom: 3rem;
}

.archive__section-title {
  margin: 0 0 1.25rem;
  font-family: "Berky", cursive;
  font-weight: normal;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: #2B1F18;
}

.archive__text {
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 450;
  line-height: 1.7;
  color: #1a110c;
  text-align: justify;
}

.archive__text p {
  margin: 0 0 1rem;
}


.archive__artifacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.archive__artifact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: #2B1F18;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  background: rgba(43, 31, 24, 0.05);
  border: 1px solid rgba(43, 31, 24, 0.1);
  border-radius: 0.4rem;
  transition: background 0.2s ease;
}

.archive__artifact-link:hover {
  background: rgba(43, 31, 24, 0.1);
}

/* ---------- Portfolio ---------- */

.folio {
  width: 100%;
  padding: 2rem 6vw 3rem;
}

.folio__title {
  margin: 0 0 2rem;
  font-family: "Berky", cursive;
  font-weight: normal;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #2B1F18;
  line-height: 1.1;
}

.folio__folders {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Folder */

.folder {
  border: 1px solid rgba(43, 31, 24, 0.12);
  border-radius: 0.6rem;
  overflow: hidden;
  background: rgba(245, 239, 230, 0.6);
}

.folder__tab {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}

.folder__tab:hover {
  background: rgba(43, 31, 24, 0.04);
}

.folder__tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: #2a1d17;
  color: #C28A6B;
  border-radius: 0.4rem;
  flex-shrink: 0;
}

.folder__tab-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.folder__tab-name {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #2B1F18;
  line-height: 1.2;
}

.folder__tab-count {
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #5a4a3e;
}

.folder__tab-chevron {
  flex-shrink: 0;
  color: #5a4a3e;
  transition: transform 0.3s ease;
}

.folder.is-open .folder__tab-chevron {
  transform: rotate(180deg);
}

/* Folder contents */

.folder__contents {
  display: none;
  flex-direction: column;
}

.folder.is-open .folder__contents {
  display: flex;
}

/* Version row */

.folder__version {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.1rem 1.25rem;
  transition: background 0.25s ease;
}

.folder__version:hover {
  background: rgba(43, 31, 24, 0.04);
}

.folder__version:hover .folder__version-thumb img {
  transform: scale(1.03);
}

.folder__version:hover .folder__version-number {
  color: #1a110c;
}

.folder__version--current {
  background: rgba(43, 31, 24, 0.03);
  border-left: 3px solid #2a1d17;
}

.folder__version-thumb {
  flex: 0 0 auto;
  width: 5.5rem;
  height: 7.2rem;
  border-radius: 0.3rem;
  overflow: hidden;
  background: #e8ddd0;
  border: 1px solid rgba(43, 31, 24, 0.12);
}

.folder__version-thumb .placeholder-block {
  width: 100%;
  height: 100%;
  background: #e8ddd0;
}

.folder__version-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.folder__version-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.folder__version-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.folder__version-number {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #2B1F18;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.folder__version--current .folder__version-number {
  font-size: 1.25rem;
  color: #1a110c;
}

.folder__version-date {
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #5a4a3e;
}

.folder__version-label {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ECE8E1;
  background: #2a1d17;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.folder__version-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.folder__btn {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 0.35rem;
  padding: 0.4rem 0.85rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.folder__btn--preview {
  color: #2B1F18;
  background: rgba(43, 31, 24, 0.07);
  border: 1px solid rgba(43, 31, 24, 0.12);
}

.folder__btn--preview:hover {
  background: rgba(43, 31, 24, 0.14);
}

.folder__btn--download {
  color: #ECE8E1;
  background: #2a1d17;
  border: 1px solid #2a1d17;
}

.folder__btn--download:hover {
  background: #3d2b21;
}

/* Collection sections */

.folio__collection {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.folio__collection:last-of-type {
  margin-bottom: 1rem;
  padding-bottom: 0;
}

/* Cover Gallery */

.covers {
  margin-bottom: 1.25rem;
}

.covers__heading {
  margin: 0 0 1rem;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: normal;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #2B1F18;
}

.covers__row {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
}

.covers__item {
  flex: 1 1 0;
  max-width: 280px;
  text-align: center;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.covers__item img {
  width: 100%;
  height: auto;
  border-radius: 0.4rem;
  border: 1px solid rgba(43, 31, 24, 0.1);
}

.covers__item--active {
  opacity: 1;
}

.covers__item--active img {
  border: 2px solid #2a1d17;
}

.covers__item:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.covers__item .placeholder-block {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 0.4rem;
  background: #e8ddd0;
  border: 1px solid rgba(43, 31, 24, 0.1);
}

.covers__item--latest .placeholder-block {
  border: 2px solid #2a1d17;
}

.covers__label {
  display: block;
  margin-top: 0.4rem;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #2B1F18;
}

/* Editor note */

.folio__editor-note {
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  background: #2a1d17;
  border-radius: 0.5rem;
  border-left: 3px solid #C28A6B;
}

.folio__editor-note p {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ECE8E1;
}

/* Version detail panels */

.version-detail {
  display: none;
  padding-top: 1.25rem;
}

.version-detail.is-active {
  display: block;
}

.version-detail__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.version-detail__header > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.version-detail__number {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 1.4rem;
  color: #1a110c;
  line-height: 1.2;
}

.version-detail__date {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #5a4a3e;
}

.version-detail__desc {
  margin: 0.3rem 0 0;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 450;
  line-height: 1.7;
  color: #1a110c;
  max-width: 48em;
}

.version-detail__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: #4a3a30;
}

.version-detail__meta-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6a5a4e;
  margin-right: 0.2rem;
}

.version-detail__meta-sep {
  color: #7a6a5c;
  font-size: 0.6rem;
}

.version-detail__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.version-detail .changelog {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
}

/* Version description & metadata (inside folder) */

.folder__version-desc {
  margin: 0.35rem 0 0;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 450;
  line-height: 1.65;
  color: #2B1F18;
  max-width: 42em;
}

.folder__version-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  color: #4a3a30;
}

.folder__version-meta-item {
  display: inline;
}

.folder__version-meta-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6a5a4e;
  margin-right: 0.2rem;
}

.folder__version-meta-sep {
  color: #6a5a4e;
  font-size: 0.6rem;
}

/* Timeline */

.timeline {
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
}

.timeline__title {
  margin: 0 0 1rem;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: normal;
  font-size: 1.1rem;
  color: #1a110c;
}

.timeline__track {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.5rem 0;
}

.timeline__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.timeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2a1d17;
  border: 2px solid #F5EFE6;
  box-shadow: 0 0 0 2px #2a1d17;
}

.timeline__dot--current {
  background: #1a110c;
  box-shadow: 0 0 0 2px #1a110c;
}

.timeline__node-version {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 0.82rem;
  color: #1a110c;
}

.timeline__node-date {
  font-family: "Inter", sans-serif;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #1a110c;
}

.timeline__line {
  flex: 1;
  height: 2px;
  background: #2a1d17;
  min-width: 2rem;
  align-self: flex-start;
  margin-top: 5px;
}

/* Changelog */

.changelog {
  margin-top: 0.75rem;
}

.changelog__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.changelog__title {
  margin: 0 0 0.75rem;
  font-family: "Berky", cursive;
  font-weight: normal;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: #1a110c;
}

.changelog__version-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.changelog__version-indicator {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: #5a4a3e;
  letter-spacing: 0.04em;
}

.changelog__carousel {
  overflow: hidden;
}

.changelog__transition {
  display: none;
}

.changelog__transition.is-active {
  display: block;
}

.changelog__transition-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  grid-column: 1 / -1;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(245, 239, 230, 0.1);
}

.changelog__transition-label {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #ECE8E1;
}

.changelog__transition-dates {
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #C28A6B;
}

.changelog__body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-radius: 0.6rem;
  padding: 1.75rem;
  background: #2a1d17;
}

.changelog__nav-btn {
  background: rgba(43, 31, 24, 0.07);
  border: 1px solid rgba(43, 31, 24, 0.15);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2B1F18;
  transition: background 0.2s ease;
}

.changelog__nav-btn:hover {
  background: rgba(43, 31, 24, 0.14);
}

.changelog__nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.changelog__section {
  background: rgba(245, 239, 230, 0.06);
  border-radius: 0.4rem;
  padding: 1.25rem;
}

.changelog__section-title {
  margin: 0 0 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ECE8E1;
  padding-left: 0.85rem;
  border-left: 3px solid #7A665C;
}

.changelog__section-title--added {
  border-left-color: #7a9e82;
}

.changelog__section-title--removed {
  border-left-color: #C28A6B;
}

.changelog__section-title--presentation {
  border-left-color: #8a7a6d;
}

.changelog__section-title--narrative {
  border-left-color: #ECE8E1;
}

.changelog__subcategory {
  margin-bottom: 1rem;
}

.changelog__subcategory:last-child {
  margin-bottom: 0;
}

.changelog__subcategory-title {
  margin: 0 0 0.4rem;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: normal;
  font-size: 1rem;
  color: #ECE8E1;
}

.changelog__list {
  margin: 0;
  padding: 0 0 0 1.25rem;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.7;
  color: #d4cfc8;
}

.changelog__list li {
  padding-left: 0.3rem;
  margin-bottom: 0.3rem;
}

.changelog__narrative {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.changelog__narrative-from,
.changelog__narrative-to {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #ECE8E1;
  line-height: 1.4;
}

.changelog__narrative-from span,
.changelog__narrative-to span {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C28A6B;
  margin-right: 0.5rem;
}

.changelog__narrative-desc {
  margin: 0.25rem 0 0;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.7;
  color: #d4cfc8;
}

/* Preview modal */

.folio-preview {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
}

.folio-preview[hidden] {
  display: none;
}

.folio-preview__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 31, 24, 0.6);
}

.folio-preview__content {
  position: relative;
  width: 90vw;
  max-width: 56rem;
  height: 80vh;
  background: #F5EFE6;
  border: 1px solid rgba(43, 31, 24, 0.15);
  border-radius: 0.6rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.folio-preview__close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  z-index: 2;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #2B1F18;
}

.folio-preview__back {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: #2a1d17;
  border: none;
  color: #ECE8E1;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
}

.folio-preview__iframe {
  flex: 1;
  width: 100%;
  border: none;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------- Responsive layout ---------- */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__doodle {
    max-width: 260px;
  }

  .hero__details {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .hero__details dt {
    margin-top: 0.75rem;
  }

  .hero__details dt:first-child {
    margin-top: 0;
  }

  .site-header__nav {
    gap: 1rem 1.25rem;
  }

  .filmstrip__track {
    flex-direction: column;
    padding: 0.75rem 1rem;
    gap: 1rem;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .frame {
    width: 100%;
    flex: none;
  }

  .filmstrip-label--desktop {
    display: none;
  }

  .filmstrip-label--mobile {
    display: flex;
    padding: 1rem 1rem 0;
  }

  .filmstrip__scroll-hint {
    display: none;
  }

  .frame {
    width: 200px;
  }

  .page {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding: 6rem 1.25rem 3rem;
    gap: 1.5rem;
  }

  .page__side-image {
    order: 2;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: none;
    height: auto;
  }

  .page__side-image--right {
    order: 4;
  }

  .page__corner-title {
    order: 1;
    position: relative;
    top: auto;
    right: auto;
  }

  .about-text {
    order: 3;
    width: 100%;
    padding: 1.5rem;
  }

  .manual {
    padding: 4.5rem 1.25rem 3rem;
  }

  .manual__meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .manual__intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .manual__meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem 2rem;
  }

  .manual__intro-image img {
    width: 100%;
    max-width: none;
  }

  .manual__currently-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects {
    padding: 4.5rem 1.25rem 3rem;
  }

  .projects__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .archive {
    padding: 4.5rem 1.25rem 3rem;
  }

  .folio {
    padding: 4rem 1.25rem 2.5rem;
  }

  .folder__version {
    gap: 1rem;
  }

  .folder__version-thumb {
    width: 4.5rem;
    height: 6rem;
  }

  .covers__item {
    max-width: 180px;
  }

  .covers__row {
    gap: 0.75rem;
  }

  .folder__version-meta {
    flex-wrap: wrap;
  }

  .changelog__transition-header {
    flex-direction: column;
    gap: 0.25rem;
  }

  .changelog__body {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .manual__meta {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .postcard__back-tags {
    display: none;
  }

  /* Portfolio mobile */

  .folio {
    padding: 3.5rem 1rem 2rem;
  }

  .covers__row {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .covers__item {
    max-width: 220px;
    width: 100%;
  }

  .covers__heading {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }

  .covers__label {
    font-size: 0.55rem;
  }

  .folio__editor-note {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
  }

  .folio__editor-note p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .folder__tab {
    padding: 0.75rem 1rem;
    gap: 0.6rem;
  }

  .folder__tab-icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .folder__tab-name {
    font-size: 0.9rem;
  }

  .folder__tab-count {
    font-size: 0.6rem;
  }

  .folder__version {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .folder__version--current {
    border-left-width: 2px;
  }

  .folder__version-thumb {
    width: 3.5rem;
    height: 4.5rem;
  }

  .folder__version-number {
    font-size: 0.9rem;
  }

  .folder__version--current .folder__version-number {
    font-size: 1rem;
  }

  .folder__version-date {
    font-size: 0.58rem;
  }

  .folder__version-desc {
    font-size: 0.7rem;
    line-height: 1.5;
  }

  .folder__version-label {
    font-size: 0.48rem;
    padding: 0.1rem 0.4rem;
  }

  .folder__version-meta {
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.6rem;
  }

  .folder__version-meta-label {
    font-size: 0.5rem;
  }

  .folder__btn {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
  }

  .version-detail__number {
    font-size: 1.15rem;
  }

  .version-detail__desc {
    font-size: 0.78rem;
    line-height: 1.6;
  }

  .version-detail__meta {
    font-size: 0.65rem;
    flex-wrap: wrap;
  }

  .version-detail__actions {
    flex-wrap: wrap;
  }

  .changelog__title {
    font-size: 1.15rem;
  }

  .changelog__transition {
    margin-bottom: 1.75rem;
  }

  .changelog__transition-label {
    font-size: 0.85rem;
  }

  .changelog__transition-dates {
    font-size: 0.55rem;
  }

  .changelog__body {
    padding: 0.85rem;
  }

  .changelog__section {
    padding: 0.85rem;
  }

  .changelog__section-title {
    font-size: 0.7rem;
  }

  .changelog__subcategory-title {
    font-size: 0.85rem;
  }

  .changelog__list {
    font-size: 0.72rem;
    line-height: 1.6;
  }

  .changelog__narrative-from,
  .changelog__narrative-to {
    font-size: 0.9rem;
  }

  .changelog__narrative-desc {
    font-size: 0.72rem;
    line-height: 1.6;
  }

  /* Preview modal fullscreen on mobile */

  .folio-preview__content {
    width: 100vw;
    height: 100vh;
    max-width: none;
    border-radius: 0;
  }

  .folio-preview__back {
    display: flex;
  }
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding: 2rem;
  background: #4B3026;
  text-align: center;
  margin-top: auto;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.site-footer__link {
  color: #F5EFE6;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.81rem;
  letter-spacing: 0.05em;
}

.site-footer__link:hover {
  text-decoration: underline;
  color: #C28A2C;
}

.site-footer__social-link {
  display: inline-flex;
  color: #F5EFE6;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.site-footer__social-link:hover {
  opacity: 1;
}

.site-footer__icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}
