/* ================================================
   HOMEPAGE — Blueprint Desk
   Gaegu + Barlow Condensed + Inter
================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --paper:      #f8f6f0;
  --ink:        #1a1a2a;
  --ink-light:  #6a6a7a;
  --brass:      #c8a96e;
  --brass-s:    #d4b87a;
  --navy:       #1a2332;
  --ivory:      #f5f0e8;
  --ivory-2:    #ede7d9;
  --ivory-3:    #e0d8c8;
  --border-bp:  rgba(26,35,50,0.12);
  --grid-color: rgba(100,120,180,0.08);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== DESK PAGE ===== */
.desk-page {
  --canvas-width: 1920;
  --canvas-height: 1080;

  position: relative;
  width: 100%;
  height: 100vh;

  min-height: 600px;

  overflow: hidden;
}
/* ==================================================
   FIXED DESK CANVAS
   Design reference: 1920 × 1080
   ================================================== */

.desk-canvas {
  position: absolute;

  width: 2200px;
  height: 1238px;


  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%)
    scale(
      min(
        calc(100vw / 2200),
        calc(100vh / 1238)
      )
    );

  transform-origin: center center;

  z-index: 1;
}

/* ===== GRAPH PAPER BACKGROUND ===== */
.graph-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px),
    linear-gradient(rgba(100,120,180,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,120,180,0.03) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
  transition: transform 0.15s ease-out;
will-change: transform;
}

/* ===== ASSETS ===== */
.asset {
  position: absolute;
   transition:
    transform 0.25s ease,
    filter 0.25s ease;
  z-index: 2;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.178));
}

.asset img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.asset:hover {
  filter:
    drop-shadow(0 22px 18px rgba(0, 0, 0, 0.562))
    drop-shadow(0 8px 8px rgba(0, 0, 0, 0.534));
  z-index: 20;
}
/* ==================================================
   DESK ENTRANCE ANIMATION
   Objects settle onto the desk on page load
   ================================================== */

@keyframes deskSettle {
  0% {
    opacity: 0;
    transform:
      translateY(var(--enter-y))
      rotate(var(--base-rot, 0deg));
  }

  65% {
    opacity: 1;
    transform:
      translateY(3px)
      rotate(calc(var(--base-rot, 0deg) + var(--enter-rotation)));
  }

  100% {
    opacity: 1;
    transform:
      translateY(0)
      rotate(var(--base-rot, 0deg));
  }
}


/* Every decorative object starts invisible */
.desk-canvas .asset {
  opacity: 0;
}

/* ==================================================
   DESK ENTRANCE — SLOWER / MORE CINEMATIC
   ================================================== */

.desk-canvas .asset-sticky {
  --enter-y: -25px;
  --enter-rotation: 2deg;
  animation: deskSettle 0.9s cubic-bezier(.2,.8,.25,1) 0.35s forwards;
}

.desk-canvas .asset-ruler {
  --enter-y: -30px;
  --enter-rotation: -2deg;
  animation: deskSettle 0.9s cubic-bezier(.2,.8,.25,1) 0.55s forwards;
}

.desk-canvas .asset-laptop {
  --enter-y: -35px;
  --enter-rotation: -2deg;
  animation: deskSettle 1s cubic-bezier(.2,.8,.25,1) 0.45s forwards;
}

.desk-canvas .asset-pen {
  --enter-y: -22px;
  --enter-rotation: 3deg;
  animation: deskSettle 0.8s cubic-bezier(.2,.8,.25,1) 0.75s forwards;
}

.desk-canvas .asset-notebook {
  --enter-y: -28px;
  --enter-rotation: 2deg;
  animation: deskSettle 0.9s cubic-bezier(.2,.8,.25,1) 0.95s forwards;
}

.desk-canvas .asset-extra1 {
  --enter-y: 35px;
  --enter-rotation: -2deg;
  animation: deskSettle 1s cubic-bezier(.2,.8,.25,1) 1.05s forwards;
}

.desk-canvas .asset-eraser {
  --enter-y: 20px;
  --enter-rotation: 3deg;
  animation: deskSettle 0.8s cubic-bezier(.2,.8,.25,1) 1.25s forwards;
}
/* ==================================================
   PAPER ENTRANCE
   ================================================== */

@keyframes paperAppear {
  0% {
    opacity: 0;
    transform:
      translate(-50%, -46%)
      scale(0.96)
      rotate(-1deg);

    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.04));
  }

  70% {
    opacity: 0.9;
    transform:
      translate(-50%, -50.5%)
      scale(1.005)
      rotate(0.15deg);

    filter: drop-shadow(0 16px 40px rgba(0,0,0,0.13));
  }

  100% {
    opacity: 0.9;
    transform:
      translate(-50%, -50%)
      scale(1)
      rotate(0deg);

    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.10));
  }
}
.desk-canvas .asset-drawingpaper2 {
  opacity: 0;
  animation:
    paperAppear
   1.2s
    cubic-bezier(.2,.8,.25,1)
    0.1s
    forwards;
}
/* Wiggle on hover */
@keyframes wiggle {
  0%   { transform: rotate(var(--base-rot, 0deg)) scale(1.05); }
  25%  { transform: rotate(calc(var(--base-rot, 0deg) - 5deg)) scale(1.05); }
  50%  { transform: rotate(calc(var(--base-rot, 0deg) + 5deg)) scale(1.05); }
  75%  { transform: rotate(calc(var(--base-rot, 0deg) - 2deg)) scale(1.05); }
  100% { transform: rotate(var(--base-rot, 0deg)) scale(1.05); }
}


/* No hover effect on background papers */
.asset-drawingpaper,
.asset-drawingpaper2 {
  pointer-events: none;
}

.asset-drawingpaper:hover,
.asset-drawingpaper2:hover {
  animation: none;
  filter: none;
  z-index: 1;
}

/* ── Drawing paper 2 (1920x1080) — largest, behind everything ── */
.asset-drawingpaper2 {
  position: absolute;

  top: 47%;
  left: 50%;

  transform: translate(-50%, -50%) rotate(0.0deg);

  width: 2050px;

  z-index: 1;
  opacity: 0.9;

  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.10));

  pointer-events: none;
}
/* ── Drawing paper (1116x750) — project sits exactly on this ── */
/* This is hidden — project-frame covers it. Shadow only visible */
.asset-drawingpaper {
  position: absolute;

  top: 49%; 
  left: 50%;

  transform: translate(-50%, -50%) rotate(-0.3deg);

  width:1200px;

  z-index: 3;

  pointer-events: none;

  filter: drop-shadow(0 14px 38px rgba(0,0,0,0.15));
}

.asset-drawingpaper img {
  opacity: 0;
}

.asset-drawingpaper img {
  opacity: 0;
}
/* ── Sticky note (973x977 ≈ square) ── */
.asset-sticky {
  --base-rot: -6deg;

  top: 4%;
  left: 5%;

  width: 380px;

 transform: translateY(0) rotate(-6deg);

  z-index: 5;
}
.asset-sticky:hover {
  transform: translateY(-10px) rotate(-6deg);
}
/* ── Ruler (345x856 — tall portrait, shown diagonal) ── */
.asset-ruler {
  --base-rot: -34deg;

  top: 16%;
  left: -11%;

  width: 280px;

  transform:translateY(0) rotate(-34deg);

  transform-origin: top center;

  z-index: 5;
}
.asset-ruler:hover {
  transform: translateY(-15px) rotate(-34deg);
}

/* ── Pen (1003x236 — very wide, shown diagonal) ── */
.asset-pen {
  --base-rot: -55deg;

  top: 36%;
  left: 11%;

  width: 340px;

  transform: rotate(-55deg);

  z-index: 5;
}
/* ── Sketchbook/landscape notebook (1044x616) ── */
.asset-extra1 {
  --base-rot: 22deg;

  bottom: -8%;
  left: -22%;

  width: 1000px;

  transform: rotate(22deg);

  z-index: 5;
}
/* ── Laptop (910x613) — top right corner ── */
.asset-laptop {
  --base-rot: 14deg;

  top: -17%;
  right: -28%;

   width: 1100px;

  transform: rotate(20deg);

  z-index: 5;
}
/* ── Portrait notebook (669x704) — right side ── */
.asset-notebook {
  --base-rot: 4deg;

  top: 38%;
  right: -12%;

  width: 600px;

  transform: rotate(-10deg);

  z-index: 5;
}
/* ── Eraser (417x531) ── */
.asset-eraser {
  --base-rot: -10deg;

  bottom: 1.5%;
  right:13%;

  width: 150px;

  transform: rotate(-20deg);

  z-index: 5;
}
.desk-heading-wrap {
  position: absolute;

  top: 25px;
  left: 50%;

  transform: translateX(-50%);

  z-index: 6;

  width: max-content;

  text-align: center;
}

.desk-heading-hand {
  font-family: 'Gaegu', cursive;

  font-size: 72px;
  font-weight: 1200;
 text-transform: uppercase;
  color: var(--ink);

  letter-spacing: 0px;

  white-space: nowrap;

  opacity: 0;

  transform: translateY(-10px);

  animation:
    headingAppear
    0.9s
    cubic-bezier(.2,.8,.25,1)
    1.8s
    forwards;

  transition: opacity 0.6s ease;
}


@keyframes headingAppear {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== CENTRAL FRAME WRAP ===== */
/* Must match asset-drawingpaper width exactly */
.frame-wrap {
  position: absolute;

  z-index: 6;

  width: 1120px;
  height: 630px;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes projectAppear {
  0% {
    opacity: 0;
    transform:
     
      scale(0.97);
  }

  100% {
    opacity: 1;
    transform:
    
      scale(1);
  }
}
/* The white paper surround */
.paper-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
  box-shadow:
    0 20px 60px rgba(42,36,48,0.20),
    0 6px 20px rgba(42,36,48,0.12),
    0 2px 6px rgba(42,36,48,0.08);
  border-radius: 2px;
}
/* Corner brass marks */
.corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--brass);
  border-style: solid;
  border-width: 0;
  z-index: 2;
}

.corner.tl { top: -1px; left: -1px; border-top-width: 1.5px; border-left-width: 1.5px; }
.corner.tr { top: -1px; right: -1px; border-top-width: 1.5px; border-right-width: 1.5px; }
.corner.bl { bottom: -1px; left: -1px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.corner.br { bottom: -1px; right: -1px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* ===== PROJECT FRAME ===== */
.project-frame {
  position: absolute;
animation: projectAppear 0.9s cubic-bezier(.2,.8,.25,1) 2s forwards;
  inset: 0;
  opacity: 0;
  overflow: hidden;

  background: var(--ink);

  border-radius: 1px;

  box-shadow: 0 12px 28px rgba(0,0,0,0.16);

  transition: opacity 0.35s ease;
}

.project-frame.fading { opacity: 0; }

.frame-img-wrap { position: absolute; inset: 0; }

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

.frame-img-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,14,22,0.93) 0%,
    rgba(10,14,22,0.72) 42%,
    rgba(10,14,22,0.12) 100%
  );
}

.frame-info {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 24px 32px;
}

.frame-info-inner {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.frame-category {
  font-family: 'Gaegu', cursive;
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  font-weight: 700;
  color: var(--brass-s);
  letter-spacing: 1.5px;
}

.frame-title {
  font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  line-height: 1;
}

.frame-engine {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.42);
}

.frame-divider {
  width: 28px;
  height: 1px;
  background: var(--brass);
  margin: 2px 0;
}

.frame-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 320px;
}
.frame-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'GaeguSC', cursive;
  font-size: 2.1rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffffff;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 1px;
  margin-top: 4px;
  width: fit-content;
  transition: color 0.2s, gap 0.2s;
}

.frame-cta:hover { color: var(--brass-s); gap: 12px; }

.frame-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 3;
}

.frame-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.frame-dot.active {
  background: var(--brass-s);
  border-color: var(--brass-s);
  transform: scale(1.4);
}
/* ==================================================
   OBJECT HOVER — LIFT
   ================================================== */

.asset {
  transition:
    transform 0.28s cubic-bezier(.2,.8,.25,1),
    filter 0.28s ease;
}

.asset:hover {
  z-index: 20;

  filter:
    drop-shadow(0 14px 24px rgba(0,0,0,0.20));
}


/* Sticky */

.asset-sticky:hover {
  transform:
    translateY(-8px)
    rotate(-4deg);
}


/* Ruler */

.asset-ruler:hover {
  transform:
    translateY(-7px)
    rotate(-32deg);
}


/* Pen */

.asset-pen:hover {
  transform:
    translateY(-6px)
    rotate(-52deg);
}


/* Sketchbook */

.asset-extra1:hover {
  transform:
    translateY(-8px)
    rotate(20deg);
}


/* Laptop */

.asset-laptop:hover {
  transform:
    translateY(-10px)
    rotate(20deg);
}


/* Notebook */

.asset-notebook:hover {
  transform:
    translateY(-8px)
    rotate(-8deg);
}


/* Eraser */

.asset-eraser:hover {
  transform:
    translateY(-6px)
    rotate(-17deg);
}
/* ===== ARROWS ===== */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border: 1px solid rgba(26,35,50,0.18);
  background: rgba(180, 179, 176, 0.92);
  color: var(--ink);
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 8;
   opacity: 0;

  animation:
    arrowsAppear
    0.5s
    ease-out
    2.6s
    forwards;
}

@keyframes arrowsAppear {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.arrow-left  { left: -64px; }
.arrow-right { right: -64px; }

.carousel-arrow:hover {
  background: rgba(200,169,110,0.18);
  border-color: var(--brass);
  transform: translateY(-50%) scale(1.08);
}

/* ===== BOTTOM NAV ===== */
/* ==================================================
   MAIN DESK NAVIGATION
   ================================================== */

.desk-footnav {
  position: absolute;

  left: 50%;
  bottom: 42px;

  transform: translateX(-50%);

  z-index: 6;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 28px;

  width: auto;
}


/* Individual navigation links */

.footnav-item {
  position: relative;

  display: inline-block;

  font-family: 'Gaegu', cursive;
  font-size: 44px;
  font-weight: 1000;
  text-transform: uppercase;

  letter-spacing: 1.5px;

  color: var(--ink);

  text-decoration: none;

  transition:
    transform 0.2s ease,
    color 0.2s ease;
}


/* Small separator */

.footnav-separator {
  font-family: 'Gaegu', cursive;

  font-size: 60px;

  color: rgba(27, 29, 32, 0.45);

  transform: translateY(-2px);
}


/* Hover */

.footnav-item:hover {
  transform: translateY(-3px) rotate(-1deg);

  color: var(--accent);
}

/* ===== BELOW FOLD ===== */
.page-section {
  padding: 100px 60px;
  background: var(--ivory);
}

.page-section-dark {
  background: var(--navy);
  color: var(--ivory);
}

.page-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}

.page-section-title {
  font-family: 'Gaegu', cursive;
  font-size: 3.5rem;
  font-weight: 700;
    text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--navy);
  margin-bottom: 40px;
}

.page-section-dark .page-section-title { color: var(--ivory); }

.about-split {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.about-photo-col { display: flex; flex-direction: column; gap: 16px; }

.about-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: 3px;
  border: 1px solid var(--border-bp);
  filter: grayscale(15%);
  transition: filter 0.4s;
}

.about-photo:hover { filter: grayscale(0%); }

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

.about-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-bp);
  border-radius: 3px;
  padding: 8px;
  background: var(--ivory-2);
  transition: border-color 0.2s;
}

.about-logo-link:hover { border-color: var(--brass); }

.about-logo-link img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: invert(0.2);
  transition: filter 0.25s;
}

.about-logo-link:hover img {
  filter: invert(0.35) sepia(1) saturate(3) hue-rotate(5deg);
}

.about-body { display: flex; flex-direction: column; gap: 18px; }

.about-body p {
  font-size: 0.97rem;
  color: #3a3a4a;
  line-height: 1.85;
}

.about-body strong { color: var(--navy); font-weight: 600; }

.about-link {
  color: var(--navy);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 1px;
  transition: color 0.2s;
}

.about-link:hover { color: var(--brass); }

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tools span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: #3a3a4a;
  border: 1px solid var(--border-bp);
  padding: 6px 14px;
  border-radius: 2px;
  background: var(--ivory-2);
  transition: border-color 0.2s, color 0.2s;
}

.tools span:hover { border-color: var(--brass); color: var(--navy); }

.contact-sub {
  font-size: 0.92rem;
  color: rgba(245,240,232,0.6);
  margin-bottom: 28px;
  margin-top: -24px;
}

.contact-links-row { display: flex; gap: 28px; flex-wrap: wrap; }
/* ================================================
   EMAIL COPY BOX
================================================ */

.email-copy-box {
  width: min(100%, 520px);
  margin: 28px 0 24px;

  display: flex;
  align-items: center;
  gap: 16px;

  padding: 16px 18px;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid var(--border-2);

  border-radius: 4px;

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.email-copy-box:hover {
  background: rgba(255, 255, 255, 0.08);

  border-color: var(--rust);

  transform: translateY(-2px);

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.18);
}


/* EMAIL ICON */

.email-icon {
  font-size: 1.15rem;
  color: var(--rust);

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}


/* EMAIL ADDRESS */

.email-address {
  flex: 1;

  font-family: 'Inter', sans-serif;

  font-size: 0.9rem;
  font-weight: 500;

  color: var(--white);

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* COPY BUTTON */

.copy-email-btn {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 8px 12px;

  border: 1px solid var(--border-2);
  border-radius: 3px;

  background: transparent;

  color: var(--ink-3);

  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;

  cursor: pointer;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.copy-email-btn:hover {
  color: var(--white);

  border-color: var(--rust);

  background: rgba(218, 135, 40, 0.08);
}


/* COPY ICON */

.copy-icon {
  font-size: 0.9rem;
  line-height: 1;
}


/* COPIED STATE */

.copy-email-btn.copied {
  color: var(--rust);

  border-color: var(--rust);

  background: rgba(218, 135, 40, 0.08);
}


/* SOCIAL LINKS */

.contact-links-row {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 12px;
}
.contact-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ivory-2);
  border-bottom: 1px solid rgba(200,169,110,0.5);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.contact-link:hover { color: var(--brass-s); border-color: var(--brass-s); }

.home-footer {
  display: flex;
  justify-content: space-between;
  padding: 22px 60px;
  background: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 1px;
  color: rgba(245,240,232,0.28);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .desk-page { padding: 14px 16px 14px; }
  .frame-wrap { width: calc(100vw - 100px); }
  .asset-drawingpaper { width: calc(100vw - 100px); }
  .asset-drawingpaper2 { width: calc(100vw - 60px); }
  .arrow-left  { left: -38px; }
  .arrow-right { right: -38px; }
  .asset-laptop   { width: 160px; }
  .asset-sticky   { width: 90px; }
  .asset-notebook { width: 110px; }
  .footnav-desc { display: none; }
  .page-section { padding: 60px 24px; }
  .about-split { grid-template-columns: 1fr; }
  .home-footer { padding: 18px 24px; flex-direction: column; gap: 6px; }
}

@media (max-width: 600px) {
  .asset-pen, .asset-extra1, .asset-eraser { display: none; }
  .frame-desc { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
/* ===== NAME BADGE TOP LEFT ===== */
.desk-name-badge {
  position: absolute;
  top: 36px;
  left: 48px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.desk-name-main {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}

.desk-name-role {
  font-family: 'Gaegu', cursive;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ink-light);
}
/* ===== CUSTOM PENCIL CURSOR ===== */

body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg transform='rotate(-45 16 16)'%3E%3Cpath d='M14 3h4v20l-2 6-2-6V3z' fill='%23d9d4c9' stroke='%232a2430' stroke-width='1.5'/%3E%3Cpath d='M14 3h4v5h-4z' fill='%23c8a96e'/%3E%3Cpath d='M14 23h4l-2 6-2-6z' fill='%232a2430'/%3E%3C/g%3E%3C/svg%3E") 4 28, auto;
}

a,
button,
.asset {
  cursor: pointer;
}
/* Arrow hint pulse on first load */
@keyframes arrowHint {
  0%   { transform: translateY(-50%) scale(1);    background: rgba(248,246,240,0.92); }
  40%  { transform: translateY(-50%) scale(1.18); background: rgba(200,169,110,0.3); border-color: var(--brass); }
  100% { transform: translateY(-50%) scale(1);    background: rgba(248,246,240,0.92); }
}

.carousel-arrow.arrow-hint {
  animation: arrowHint 0.6s ease 2;
}
/* Hide mobile layout on desktop */
.mobile-homepage {
  display: none;
}
/* ================================================
   MOBILE HOMEPAGE — complete override below 600px
================================================ */
@media (max-width: 640px) {

   /* Show mobile layout, hide desk canvas page */
  .mobile-homepage {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

   .desk-page {
    display: none !important;
  }

  .graph-bg {
    display: none !important;
  }
   /* Hide the scaled canvas entirely */
  .desk-canvas {
    display: none;
  }

  /* Mobile desk page — simple flex column */
  .desk-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    background: var(--paper);
  }

  /* ── TOP HEADER ── */
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border-bp);
  }

  .mobile-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ink);
  }

  .mobile-role {
    font-family: 'Amatic SC', cursive;
    font-size: 0.9rem;
    color: var(--ink-light);
    letter-spacing: 1px;
  }

  /* ── WELCOME STRIP WITH 2 ASSETS ── */
  .mobile-welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 24px;
    position: relative;
    overflow: hidden;
  }

  .mobile-asset-left {
    width: 64px;
    flex-shrink: 0;
    opacity: 0.85;
    transform: rotate(-8deg);
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.1));
  }

  .mobile-asset-right {
    width: 56px;
    flex-shrink: 0;
    opacity: 0.85;
    transform: rotate(5deg);
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.1));
  }

  .mobile-welcome-text {
    text-align: center;
    flex: 1;
  }

  .mobile-welcome-text h1 {
    font-family: 'Amatic SC', cursive;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 1.5px;
    line-height: 1.2;
  }

  .mobile-welcome-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    color: var(--ink-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
  }

  /* ── PROJECT LABEL ── */
  .mobile-projects-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px 12px;
  }

  .mobile-projects-label span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ink-light);
    white-space: nowrap;
  }

  .mobile-projects-label::before,
  .mobile-projects-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-bp);
  }

  /* ── MOBILE CAROUSEL ── */
  .mobile-carousel {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
    background: var(--ink);
    position: relative;
    box-shadow:
      0 8px 32px rgba(42,36,48,0.18),
      0 2px 8px rgba(42,36,48,0.10);
  }

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

  .mobile-frame-dim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(10,14,22,0.88) 0%,
      rgba(10,14,22,0.55) 45%,
      rgba(10,14,22,0.1) 100%
    );
  }

  .mobile-frame-info {
    position: absolute;
    inset: 0;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
  }

  .mobile-frame-cat {
    font-family: 'Amatic SC', cursive;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--brass-s);
    text-transform: uppercase;
  }

  .mobile-frame-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    line-height: 1;
  }

  .mobile-frame-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Amatic SC', cursive;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid var(--brass);
    padding-bottom: 1px;
    width: fit-content;
    margin-top: 4px;
    text-decoration: none;
  }

  /* Mobile carousel controls */
  .mobile-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
  }

  .mobile-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-bp);
    background: rgba(248,246,240,0.9);
    color: var(--ink);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-family: 'Inter', sans-serif;
  }

  .mobile-arrow:hover {
    border-color: var(--brass);
    background: rgba(200,169,110,0.15);
  }

  .mobile-dots {
    display: flex;
    gap: 7px;
    align-items: center;
  }

  .mobile-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-bp);
    border: 1px solid var(--ink-light);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }

  .mobile-dot.active {
    background: var(--brass);
    border-color: var(--brass);
    transform: scale(1.35);
  }

  /* ── BOTTOM NAV — vertical cards ── */
  .mobile-footnav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--border-bp);
    border-top: 1px solid var(--border-bp);
    border-bottom: 1px solid var(--border-bp);
    margin-top: 24px;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 8px;
    background: var(--paper);
    text-decoration: none;
    transition: background 0.2s;
  }

  .mobile-nav-item:hover,
  .mobile-nav-item:active {
    background: var(--paper-2, #edeae2);
  }

  .mobile-nav-icon {
    color: var(--ink-light);
  }

    .mobile-nav-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--ink);
    text-transform: uppercase;
  }

  .mobile-nav-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.5px;
    color: var(--ink-light);
    text-align: center;
    line-height: 1.3;
  }

  /* Footer on mobile */
  .home-footer {
    padding: 16px 24px;
    font-size: 0.65rem;
  }
}
