﻿/* ============================================
   SED ARCHIVE â€” LANDING PAGE STYLES
   Aesthetic: Editorial Physical Archive
   ============================================ */
 
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Courier+Prime:wght@400;700&family=IM+Fell+English:ital@0;1&family=Dancing+Script:wght@400;500;600&display=swap');
 
/* === CSS VARIABLES === */
:root {
  --cream: #f5f0e8;
  --aged-paper: #e8dfc8;
  --manila: #d4c4a0;
  --ink: #1a1208;
  --sepia: #8b6914;
  --rust: #b5451b;
  --shadow-light: rgba(26, 18, 8, 0.12);
  --shadow-deep: rgba(26, 18, 8, 0.35);
  --folder-width: 1144px;
  --folder-height: 836px;
  --transition-open: 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-hover: 0.3s ease;
}
 
/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 
html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
 
body {
  background-color: var(--cream);
  background-image:
    url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 28px,
      rgba(139, 105, 20, 0.04) 28px,
      rgba(139, 105, 20, 0.04) 29px
    );
  font-family: 'Courier Prime', monospace;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  cursor: default;
}
 

/* === AUTH BUTTON === */
.auth-area {
  position: fixed;
  top: 18px;
  right: 40px;
  z-index: 200;
  display: flex;
  gap: 10px;
  align-items: center;
}
 
.btn-auth {
  font-family: 'Courier Prime', monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid #6d5310;
  background: transparent;
  color: #6d5310;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.7;
}
 
.btn-auth:hover {
  background: var(--sepia);
  color: var(--cream);
  opacity: 1;
}
 
.btn-auth.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  opacity: 0.85;
}
 
.btn-auth.primary:hover {
  opacity: 1;
}
 
#user-status {
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  color: var(--sepia);
  letter-spacing: 0.08em;
  opacity: 0.8;
}
 
/* === MAIN SCENE === */
.scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
 
/* === FOLDER CONTAINER === */
#folder-container {
  position: relative;
  width: var(--folder-width);
  height: var(--folder-height);
  cursor: pointer;
  transform-style: preserve-3d;
  user-select: none;
}
 
/* === FOLDER IMAGE === */
#folder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 48px var(--shadow-deep));
  transition: filter 0.3s ease;
  z-index: 2;
  pointer-events: none;
}
 
/* === FOLDER FLIP ANIMATION === */ 
@keyframes folderFlip {
  0%   { transform: rotateX(0deg) scale(1); }
  30%  { transform: rotateX(-8deg) scale(1.04); }
  60%  { transform: rotateX(4deg) scale(1.02); }
  100% { transform: rotateX(0deg) scale(1); }
}
 
/* Folder hover glow */
#folder-container:hover #folder {
  filter: drop-shadow(0 20px 56px var(--shadow-deep)) drop-shadow(0 0 32px rgba(139, 105, 20, 0.15));
}
 
/* === ASSETS CONTAINER === */
#assets-container {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
}
 
#assets-container.visible {
  opacity: 1;
  pointer-events: all;
}
 
/* === ASSET ITEMS === */
.asset-item {
  position: absolute;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    filter 0.3s ease,
    z-index 0s;
  filter: drop-shadow(0 4px 12px var(--shadow-light));
  transform-origin: center center;
  will-change: transform;
}
 
.asset-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
 
/* Generic hover removed â€” each asset has its own hover with rotation preserved */
 
.asset-item:hover {
  filter: drop-shadow(0 14px 28px var(--shadow-deep));
}
 
.asset-item:active {
  transition: transform 0.1s ease;
}
 
/* === ASSET TOOLTIP === */
.asset-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Courier Prime', monospace;
  font-size: 10.35px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6d5310;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  background: var(--cream);
  padding: 2px 6px;
  border: 1px solid rgba(139, 105, 20, 0.3);
}
 
.asset-item:hover::after {
  opacity: 1;
}

.asset--sobre::after,
.asset--sobre:hover::after {
  opacity: 0;
}
 
/* === ASSET POSITIONS (relative to folder) === */
/* Sized and positioned to match the reference image layout */
 
/* Newspaper â€” tall, left side, slight tilt left */
.asset--newspaper {
  width: 528px;
  height: 418px;
  left: 5%;
  top: 5%;
  transform: rotate(-4deg);
  transform-origin: center center;
}
.asset--newspaper::after {
  right: calc(90%);
  left: auto;
  bottom: auto;
  top: 65%;
  transform: translateY(-50%);
}
 
/* Polaroid stack â€” center-left, slight tilt right */
.asset--polaroid {
  width: 165px;
  height: 187px;
  left: 26%;
  bottom: 10%;
  transform: rotate(5deg);
  transform-origin: center center;
}
 
/* Projects — between newspaper and polaroid */
.asset--projects {
  width: 294px;
  height: 294px;
  left: 22%;
  bottom: 22%;
  transform: rotate(2deg);
  transform-origin: center center;
}
.asset--projects::after {
  bottom: auto;
  right: calc(100% + 10px);
  left: auto;
  top: 50%;
  transform: translateY(-50%);
}
 
/* Mapa â€” center, slight tilt left */
.asset--mapa {
  width: 731.5px;
  height: 596.75px;
  left: 40%;
  top: 14%;
  transform: rotate(-3deg);
  transform-origin: center center;
}
 
/* Tarjeta â€” right side, lower */
.asset--tarjeta {
  width: 148.5px;
  height: 99px;
  left: 6.3%;
  bottom: 20%;
  transform: rotate(0deg);
  transform-origin: center center;
  z-index: 1;
}
.asset--tarjeta::after {
  bottom: calc(100% + 10px);
}

/* Sobre â€” right side, completamente estÃ¡tico */
.asset--sobre {
  width: 170.5px;
  height: 126.5px;
  left: 5%;
  bottom: 10%;
  transform: rotate(0deg);
  transform-origin: center center;
  cursor: default;
  pointer-events: none;
  z-index: 5;
}
 

 
/* === HOVER: scale up preserving rotation, smooth return === */
.asset--newspaper:hover {
  transform: rotate(-4deg) scale(1.05);
}
.asset--polaroid:hover {
  transform: rotate(5deg) scale(1.05);
}
.asset--projects:hover {
  transform: rotate(2deg) scale(1.05);
}
.asset--mapa:hover {
  transform: rotate(-3deg) scale(1.05);
}
.asset--tarjeta:hover {
  transform: translateY(-23px);
}
 
/* === ASSET ENTRANCE ANIMATIONS === */
#assets-container.visible .asset-item {
  animation: assetReveal 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
 
#assets-container.visible .asset--newspaper { animation-delay: 0.05s; }
#assets-container.visible .asset--projects  { animation-delay: 0.08s; }
#assets-container.visible .asset--polaroid  { animation-delay: 0.12s; }
#assets-container.visible .asset--mapa      { animation-delay: 0.19s; }
#assets-container.visible .asset--tarjeta   { animation-delay: 0.33s; }
 
@keyframes assetReveal {
  from { opacity: 0; transform: translateY(22px) scale(0.82); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
 
/* Preserve each asset's rotation during reveal */
#assets-container.visible .asset--newspaper {
  animation: assetRevealRotatedMinus4 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
}
#assets-container.visible .asset--projects {
  animation: assetRevealRotated2 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.08s both;
}
#assets-container.visible .asset--polaroid {
  animation: assetRevealRotated5 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s both;
}
#assets-container.visible .asset--mapa {
  animation: assetRevealRotatedMinus3 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.19s both;
}
#assets-container.visible .asset--tarjeta {
  animation: assetRevealRotatedMinus5 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.33s both;
}
 
@keyframes assetRevealRotatedMinus4 {
  from { opacity: 0; transform: rotate(-4deg) translateY(22px) scale(0.82); }
  to   { opacity: 1; transform: rotate(-4deg) translateY(0) scale(1); }
}
@keyframes assetRevealRotated2 {
  from { opacity: 0; transform: rotate(2deg) translateY(22px) scale(0.82); }
  to   { opacity: 1; transform: rotate(2deg) translateY(0) scale(1); }
}
@keyframes assetRevealRotated5 {
  from { opacity: 0; transform: rotate(5deg) translateY(22px) scale(0.82); }
  to   { opacity: 1; transform: rotate(5deg) translateY(0) scale(1); }
}
@keyframes assetRevealRotatedMinus3 {
  from { opacity: 0; transform: rotate(-3deg) translateY(22px) scale(0.82); }
  to   { opacity: 1; transform: rotate(-3deg) translateY(0) scale(1); }
}
@keyframes assetRevealRotatedMinus5 {
  from { opacity: 0; transform: rotate(-5deg) translateY(22px) scale(0.82); }
  to   { opacity: 1; transform: rotate(-5deg) translateY(0) scale(1); }
}
 
/* === INSTRUCTION LABEL === */
.instruction {
  margin-top: 32px;
  font-family: 'Courier Prime', monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6d5310;
  opacity: 0.45;
  transition: opacity 0.5s ease;
  text-align: center;
}
 
.instruction.hidden {
  opacity: 0;
}
 
/* === FOOTER === */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 100;
}
 
.footer-rule {
  font-family: 'Courier Prime', monospace;
  font-size: 10.35px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6d5310;
  opacity: 0.35;
}
 
/* === MODAL OVERLAY === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 18, 8, 0.65);
  backdrop-filter: blur(2px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
 
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
 
.modal-box {
  background: var(--cream);
  border: 1px solid var(--manila);
  padding: 44px 52px;
  width: 400px;
  max-width: 90vw;
  position: relative;
  box-shadow: 0 24px 80px rgba(26, 18, 8, 0.4);
  transform: translateY(12px);
  transition: transform 0.3s ease;
}
 
.modal-overlay.active .modal-box {
  transform: translateY(0);
}
 
.modal-title {
  font-family: 'IM Fell English', serif;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
}
 
.modal-subtitle {
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sepia);
  opacity: 0.6;
  margin-bottom: 28px;
}
 
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-family: 'Courier Prime', monospace;
  font-size: 18px;
  color: var(--sepia);
  cursor: pointer;
  opacity: 0.5;
  line-height: 1;
  padding: 4px 8px;
  transition: opacity 0.2s;
}
.modal-close:hover { opacity: 1; }
 
/* === FORM ELEMENTS === */
.form-group {
  margin-bottom: 18px;
}
 
.form-label {
  display: block;
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sepia);
  margin-bottom: 6px;
}
 
.form-input {
  width: 100%;
  background: var(--aged-paper);
  border: 1px solid var(--manila);
  border-bottom: 2px solid var(--sepia);
  padding: 10px 12px;
  font-family: 'Courier Prime', monospace;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}
 
.form-input:focus {
  border-color: var(--ink);
  border-bottom-color: var(--ink);
}

.pw-wrap { position: relative; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 4px; opacity: 0.4; transition: opacity 0.2s; }
.pw-toggle:hover { opacity: 0.8; }
.pw-toggle svg { width: 16px; height: 16px; display: block; }
 
.form-error {
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  color: var(--rust);
  margin-top: 4px;
  display: none;
}
 
.form-error.visible { display: block; }

.form-success {
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  color: #3d9970;
  margin-top: 4px;
  display: none;
}

.form-success.visible { display: block; }

.divider {
  display: flex;
  align-items: center;
  margin: 20px 0 16px;
  gap: 12px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--manila);
}

.divider span {
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sepia);
  opacity: 0.5;
}

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--cream);
  border: 1px solid var(--manila);
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-google:hover {
  background: var(--aged-paper);
  border-color: var(--sepia);
}
 
.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 8px;
}
 
.btn-submit:hover {
  background: var(--sepia);
}
 
.form-switch {
  text-align: center;
  margin-top: 16px;
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  color: var(--sepia);
  opacity: 0.7;
}
 
.form-switch a {
  color: var(--ink);
  cursor: pointer;
  text-decoration: underline;
}
 
/* === ROLE BADGE === */
.role-badge {
  display: inline-block;
  font-family: 'Courier Prime', monospace;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid currentColor;
  margin-left: 8px;
  vertical-align: middle;
}
 
.role-badge.admin { color: var(--rust); }
.role-badge.journalist { color: var(--sepia); }
.role-badge.user { color: var(--ink); opacity: 0.5; }
 
/* === NEWSPAPER EDITOR === */
.editor-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 18, 8, 0.7);
  backdrop-filter: blur(3px);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
 
.editor-overlay.active {
  opacity: 1;
  pointer-events: all;
}
 
.editor-box {
  background: var(--cream);
  border: 1px solid var(--manila);
  padding: 40px 48px;
  width: 680px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(26, 18, 8, 0.4);
}
 
.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--manila);
}
 
.editor-meta {
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--sepia);
  opacity: 0.6;
  margin-top: 4px;
}
 
.editor-title-input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid var(--manila);
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--ink);
  padding: 8px 0;
  margin-bottom: 20px;
  outline: none;
  transition: border-color 0.2s;
}
 
.editor-title-input:focus {
  border-bottom-color: var(--ink);
}
 
.editor-textarea {
  width: 100%;
  min-height: 220px;
  background: var(--aged-paper);
  border: 1px solid var(--manila);
  padding: 16px;
  font-family: 'Courier Prime', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}
 
.editor-textarea:focus {
  border-color: var(--sepia);
}
 
.editor-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}
 
.btn-secondary {
  padding: 10px 20px;
  background: none;
  border: 1px solid var(--sepia);
  color: var(--sepia);
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: var(--sepia);
  color: var(--cream);
}
 
/* === NOTIFICATIONS === */
.notification {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink);
  color: var(--cream);
  font-family: 'Courier Prime', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 22px;
  z-index: 999;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}
 
.notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
 
.notification.error {
  background: var(--rust);
}

/* === ADMIN PANEL ACCESS === */
.admin-link {
  position: fixed;
  bottom: calc(18px + 5vh);
  right: 40px;
  font-family: 'Courier Prime', monospace;
  font-size: 13.8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d5310;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.2s;
  display: none;
  padding: 10px 20px;
  border: 2.5px solid rgba(139, 105, 20, 0.6);
  border-radius: 3px;
  background: rgba(245, 240, 232, 0.75);
  font-weight: 700;
}

.admin-link:hover { opacity: 0.9; border-color: var(--sepia); }

.admin-link:active {
  opacity: 1;
  background: rgba(139, 105, 20, 0.12);
}

.admin-link.visible { display: inline-block; }
 
/* === RESPONSIVE === */
@media (max-width: 1100px) {
  :root {
    --folder-width: 880px;
    --folder-height: 643.5px;
  }
}
 
@media (max-width: 860px) {
  :root {
    --folder-width: 638px;
    --folder-height: 466.4px;
  }
 
  .asset--newspaper { width: 294.5px; height: 233.1px; }
  .asset--projects  { width: 164px;   height: 164px;   }
  .asset--polaroid  { width: 92px;    height: 104.3px; }
  .asset--mapa      { width: 408px;   height: 332.8px; }
  .asset--sobre     { width: 95px;    height: 70.5px;  }
  .asset--tarjeta   { width: 82.8px;  height: 55.2px;  }
}
 
@media (max-width: 620px) {
  :root {
    --folder-width: 374px;
    --folder-height: 272.8px;
  }
 
  .asset--newspaper { width: 172.6px; height: 136.7px; }
  .asset--projects  { width: 96.1px;  height: 96.1px;  }
  .asset--polaroid  { width: 53.9px;  height: 61.1px;  }
  .asset--mapa      { width: 239.2px; height: 195.1px; }
  .asset--sobre     { width: 55.7px;  height: 41.4px;  }
  .asset--tarjeta   { width: 48.5px;  height: 32.4px;  }
 
  .auth-area { top: 14px; right: 20px; }
  .modal-box { padding: 30px 24px; }
  .editor-box { padding: 24px 20px; }
}

@media (max-width: 420px) {
  :root {
    --folder-width: 340px;
    --folder-height: 248px;
  }

  .asset--newspaper { width: 156.9px; height: 124.2px; }
  .asset--projects  { width: 87.4px;  height: 87.4px;  }
  .asset--polaroid  { width: 49px;    height: 55.6px;  }
  .asset--mapa      { width: 217.4px; height: 177.4px; }
  .asset--sobre     { width: 50.7px;  height: 37.6px;  }
  .asset--tarjeta   { width: 44.1px;  height: 29.4px;  }

  .auth-area { top: 12px; right: 14px; }

  /* Tap targets: enlarge hit area without changing visuals */
  .asset-item::before {
    content: '';
    position: absolute;
    inset: -6px;
  }
  .asset--sobre::before { display: none; }
}

@media (max-width: 340px) {
  :root {
    --folder-width: 300px;
    --folder-height: 218.8px;
  }

  .asset--newspaper { width: 138.5px; height: 109.6px; }
  .asset--projects  { width: 77.1px;  height: 77.1px;  }
  .asset--polaroid  { width: 43.3px;  height: 49px;    }
  .asset--mapa      { width: 191.8px; height: 156.5px; }
  .asset--sobre     { width: 44.7px;  height: 33.2px;  }
  .asset--tarjeta   { width: 38.9px;  height: 26px;    }

  .auth-area { top: 10px; right: 10px; gap: 6px; }
  .btn-auth  { font-size: 10.5px; padding: 5px 10px; }
}

/* Tooltip labels hidden on small screens & touch */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  .asset-item::after { opacity: 0; }
}

/* === INSTRUCTION: responsive scaling for the closed-folder view === */
@media (max-width: 860px) {
  .instruction { font-size: 11px;   letter-spacing: 0.18em; margin-top: 28px; }
}
@media (max-width: 620px) {
  .instruction { font-size: 10.5px; letter-spacing: 0.16em; margin-top: 24px; }
}
@media (max-width: 420px) {
  .instruction { font-size: 10px;  letter-spacing: 0.14em; margin-top: 20px; }
}
@media (max-width: 340px) {
  .instruction { font-size: 9.5px; letter-spacing: 0.12em; margin-top: 16px; }
}
@media (max-height: 480px) {
  .instruction { margin-top: 12px; font-size: 9.5px; letter-spacing: 0.12em; }
}

/* === LEFT DECORATION === */
.left-deco {
  position: fixed;
  left: 2%;
  top: 0;
  bottom: 0;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.left-deco__logo {
  width: 160px;
  height: auto;
  filter: grayscale(100%) brightness(1.8);
}

.left-deco.reappearing, .right-cta.reappearing {
  transition: opacity 1.2s ease;
}

@media (max-width: 768px) {
  .left-deco { display: none; }
  body .right-cta {
    display: flex;
    flex-direction: column;
    left: 50%;
    right: auto;
    top: 24%;
    bottom: 25%;
    transform: translateX(-50%);
    align-items: center;
    pointer-events: none;
    z-index: 1;
  }
  body .right-cta__title {
    font-size: 30px;
    letter-spacing: 0.22em;
    line-height: 1.1;
  }
  body .right-cta__line { width: 64px; margin: 12px 0; }
  body .right-cta__arrow { display: none; }
  body .right-cta__arrow-up {
    display: block;
    width: 88px;
    height: 60px;
    margin-top: auto;
    margin-bottom: 0px;
  }
  body .right-cta__explore {
    font-size: 24px;
    transform: rotate(-3deg) translateX(-20px);
    margin-left: 0;
  }
}

/* === RIGHT CTA === */
.right-cta {
  position: fixed;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

.right-cta__title {
  font-family: 'Helvetica Neue', 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 0.92;
  color: #66586D;
  letter-spacing: -0.5px;
}

.right-cta__line {
  width: 220px;
  height: 1px;
  background: #D8D8D8;
  margin: 24px 0;
}

.right-cta__arrow {
  width: 100px;
  height: 50px;
  margin-bottom: 8px;
}

.right-cta__arrow-up {
  display: none;
}

.right-cta__explore {
  font-family: 'Dancing Script', cursive;
  font-size: 42px;
  font-weight: 500;
  color: #66586D;
  font-style: italic;
  transform: rotate(-3deg);
  margin-left: 4px;
}
 