@import url('https://fonts.googleapis.com/css2?family=Monsieur+La+Doulaise&family=Public+Sans:ital,wght@0,300;0,400;0,600;0,700;0,900;1,300;1,400&family=Space+Mono:wght@400;700&display=swap');

:root {
  --cream:   #E8E8E8;
  --ink:     #0A0A0A;
  --pink:    #2E1760;
  --font-display: 'Public Sans', sans-serif;
  --font-script:  'Monsieur La Doulaise', cursive;
  --font-body:    'Public Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9998; opacity: 0.45; mix-blend-mode: multiply;
}

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

/* =========================================
   STRIPE BAR
   ========================================= */
.stripe-bar { display: flex; height: 6px; width: 100%; background: var(--pink); }
.stripe-bar span { display: none; }

/* =========================================
   TASKBAR / MOBILE NAV
   ========================================= */
.nav { display: none; }

.taskbar {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  background: rgba(10,10,10,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(232,232,232,0.1);
  border-radius: 18px;
  padding: 0.55rem 0.8rem;
  display: flex; align-items: center; gap: 0.3rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(127,102,198,0.15);
}

.taskbar-item {
  position: relative;
  width: 52px; height: 52px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s, transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
  border: none; background: transparent;
  text-decoration: none;
}
.taskbar-item:hover {
  background: rgba(232,232,232,0.08);
  transform: translateY(-6px) scale(1.12);
}
.taskbar-item.active { background: rgba(127,102,198,0.15); }
.taskbar-item.active::after {
  content: '';
  position: absolute; bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: #7f66c6;
  box-shadow: 0 0 6px #7f66c6;
}
.taskbar-icon { font-size: 1.4rem; line-height: 1; color: white; }
.taskbar-label {
  font-family: var(--font-mono); font-size: 0.42rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(232,232,232,0.45);
  transition: color 0.15s;
}
.taskbar-item:hover .taskbar-label,
.taskbar-item.active .taskbar-label { color: rgba(232,232,232,0.85); }

.taskbar-divider {
  width: 1px; height: 32px;
  background: rgba(232,232,232,0.1);
  margin: 0 0.2rem;
}

.taskbar-clock {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 0 0.6rem; gap: 2px;
}
.taskbar-clock-time {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: rgba(232,232,232,0.7); letter-spacing: 0.05em; line-height: 1;
}
.taskbar-clock-date {
  font-family: var(--font-mono); font-size: 0.42rem;
  color: rgba(232,232,232,0.35); letter-spacing: 0.08em; text-transform: uppercase;
}

.taskbar-item::before {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--ink); color: var(--cream);
  font-family: var(--font-mono); font-size: 0.5rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  border: 1px solid rgba(232,232,232,0.1);
}
.taskbar-item:hover::before { opacity: 1; transform: translateX(-50%) translateY(0); }

.nav-mobile {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--ink);
  align-items: center; justify-content: center;
  height: 48px;
  border-bottom: 1px solid rgba(232,232,232,0.1);
  transition: transform 0.3s ease;
}
.nav-mobile ul { display: flex; list-style: none; height: 100%; gap: 0; }
.nav-mobile a {
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(232,232,232,0.5);
  height: 48px; display: flex; align-items: center; padding: 0 1.2rem;
  transition: color 0.15s;
}
.nav-mobile a:hover, .nav-mobile a.nav-active { color: var(--cream); }
.nav-mobile a.nav-active { border-bottom: 2px solid #7f66c6; }

/* =========================================
   PAGE ROUTING
   ========================================= */
.page { display: none; min-height: 100vh; padding-bottom: 100px; background: var(--cream); }
.page.active { display: block; animation: pgIn 0.35s ease; }
@keyframes pgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   HERO
   ========================================= */
.hero { min-height: 100vh; padding-top: 0; display: flex; flex-direction: column; }

.hero-utility-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.45rem 2.5rem;
  background: var(--cream);
  border-bottom: 1px solid rgba(10,10,10,0.1);
}
.hero-utility-bar span {
  font-family: var(--font-mono); font-size: 0.5rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); opacity: 0.4;
}

.hero-body { flex: 1; display: grid; grid-template-columns: 1fr 1fr; }

.hero-left {
  padding: 3.5rem 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid rgba(10,10,10,0.1);
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(5rem, 9.5vw, 8.5rem);
  line-height: 0.93; letter-spacing: -0.01em; color: var(--ink);
}
.hero-title .script-word {
  font-family: var(--font-script);
  font-size: 9.5rem; color: var(--pink);
  display: inline; line-height: 0.85;
  margin-bottom: 0.2em; letter-spacing: 0.01em;
}
.hero-desc {
  font-size: 0.95rem; font-weight: 300;
  color: var(--ink); opacity: 0.55;
  max-width: 360px; line-height: 1.75; margin-top: 2rem;
}
.hero-bottom-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 2.5rem; }

.tag {
  font-family: var(--font-mono); font-size: 0.52rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid; display: inline-block;
}
.tag-pink { color: var(--pink); border-color: var(--pink); }
.tag-ink  { color: var(--ink);  border-color: var(--ink); }

.hero-right {
  position: relative; overflow: hidden;
  background: var(--ink); min-height: 520px;
}
.hero-right img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.8; transition: transform 10s ease;
}
.hero-right:hover img { transform: scale(1.04); }
.hero-right::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.06) 2px, rgba(0,0,0,0.06) 4px);
  z-index: 2; pointer-events: none;
}

.hero-right .film-grain {
  position: absolute; inset: 0; z-index: 3;
  pointer-events: none; opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.58' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: grain-shift 0.08s steps(1) infinite;
  mix-blend-mode: luminosity;
}
@keyframes grain-shift {
  0%   { background-position: 0px 0px; }   10% { background-position: -50px -30px; }
  20%  { background-position: 30px 60px; }  30% { background-position: -70px 20px; }
  40%  { background-position: 40px -50px; } 50% { background-position: -20px 70px; }
  60%  { background-position: 60px 10px; }  70% { background-position: -40px -60px; }
  80%  { background-position: 20px 40px; }  90% { background-position: -60px 30px; }
  100% { background-position: 10px -20px; }
}

.hero-img-label {
  position: absolute; bottom: 1.5rem; left: 1.5rem; z-index: 3;
  background: var(--pink); color: white;
  font-family: var(--font-display); font-size: 0.85rem;
  letter-spacing: 0.25em; padding: 4px 14px;
}
.hero-img-corner {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  font-family: var(--font-mono); font-size: 0.5rem;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.4);
  text-align: right; line-height: 1.9;
}
.scroll-hint {
  text-align: center; padding: 1rem;
  font-family: var(--font-mono); font-size: 0.52rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  opacity: 0.3; animation: bob 2s infinite;
}
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

/* =========================================
   TICKER
   ========================================= */
.ticker { overflow: hidden; background: var(--ink); padding: 0.6rem 0; }
.ticker-track {
  display: flex; width: max-content;
  animation: tick 22s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display); font-size: 0.9rem;
  letter-spacing: 0.2em; color: var(--cream);
  padding: 0 2.5rem; opacity: 0.6; white-space: nowrap;
}
.ticker-track span.dot { color: var(--pink); opacity: 1; padding: 0 0.5rem; }
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================
   HORIZONTAL SCROLLER — VOYAGER2 STYLE
   ========================================= */
.hscroll-section { position: relative; }

.hscroll-sticky {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden; display: flex; flex-direction: column;
  background: var(--ink);
}

.hscroll-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 2.5rem 1rem;
  border-bottom: 1px solid rgba(232,232,232,0.08);
  flex-shrink: 0;
}
.hscroll-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: 2rem; letter-spacing: 0.05em; color: var(--cream);
}
.hscroll-counter {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.15em; color: var(--pink);
}
.hscroll-nav { display: flex; gap: 0.5rem; }
.hscroll-nav-btn {
  width: 38px; height: 38px;
  background: transparent; border: 1px solid rgba(232,232,232,0.2);
  color: var(--cream); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  font-family: var(--font-body);
}
.hscroll-nav-btn:hover { background: var(--pink); border-color: var(--pink); }

.hscroll-track-wrapper {
  flex: 1; overflow: hidden; display: flex; align-items: center;
  /* perspective for the 3D tilt effect */
  perspective: 1200px;
}

.hscroll-track {
  display: flex; gap: 3rem;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  align-items: center;
  padding: 2rem 2.5rem;
}

/* Each item is sized to its image — no fixed dimensions, no grey bars */
.hscroll-item {
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              opacity  0.65s cubic-bezier(0.16, 1, 0.3, 1),
              filter   0.65s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}

/* Active item — front and center, upright */
.hscroll-item.is-active {
  transform: scale(1) rotateY(0deg);
  opacity: 1;
  filter: none;
  z-index: 3;
}

/* Adjacent items — scaled down and tilted away */
.hscroll-item.is-prev {
  transform: scale(0.82) rotateY(12deg) translateX(40px);
  opacity: 0.5;
  filter: blur(0.5px) grayscale(0.3);
}
.hscroll-item.is-next {
  transform: scale(0.82) rotateY(-12deg) translateX(-40px);
  opacity: 0.5;
  filter: blur(0.5px) grayscale(0.3);
}

/* Far items — more extreme */
.hscroll-item.is-far {
  transform: scale(0.68) rotateY(20deg);
  opacity: 0.2;
  filter: blur(2px) grayscale(0.7);
}

/* The image fills the card naturally — no height constraint */
.hscroll-item img {
  display: block;
  height: min(560px, 64vh);
  width: auto;
  max-width: min(780px, 78vw);
  object-fit: cover;
  background: transparent;
  transition: transform 0.5s ease;
  flex-shrink: 0;
}
.hscroll-item.is-active:hover img { transform: scale(1.02); }

/* Purple accent bar on active — sits flush on top of the image */
.hscroll-item.is-active::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--pink); z-index: 4;
  margin: 0;
}

/* Ensure image sits at very top of item with no gap */
.hscroll-item img {
  margin-top: 0;
  vertical-align: top;
}

.hscroll-item-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,10,10,0.85));
  color: var(--cream); padding: 2rem 1.5rem 1.2rem;
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  z-index: 3;
  transform: translateY(8px); opacity: 0;
  transition: opacity 0.35s, transform 0.35s;
}
.hscroll-item.is-active .hscroll-item-caption {
  opacity: 1; transform: translateY(0);
}

.hscroll-footer {
  padding: 0.8rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(232,232,232,0.08);
  flex-shrink: 0;
}
.hscroll-dots { display: flex; gap: 0.4rem; align-items: center; }
.hscroll-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(232,232,232,0.2);
  transition: background 0.3s, transform 0.3s;
}
.hscroll-dot.active { background: var(--pink); transform: scale(1.3); }
.hscroll-hint {
  font-family: var(--font-mono); font-size: 0.5rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(232,232,232,0.25);
}

/* =========================================
   INTRO SECTION
   ========================================= */
.intro-section {
  padding: 6rem 2.5rem;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr;
  gap: 5rem; align-items: start;
}
.intro-number {
  font-family: var(--font-display); font-size: 10rem; line-height: 1;
  color: var(--pink); user-select: none; letter-spacing: -0.02em;
}
.intro-text h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 0.95; letter-spacing: -0.01em; margin-bottom: 1.5rem;
}
.intro-text h2 em {
  font-family: var(--font-script); font-style: normal;
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--pink); display: inline-block; line-height: 1.1;
}
.intro-text p {
  font-size: 0.95rem; font-weight: 300;
  opacity: 0.6; line-height: 1.8;
  max-width: 460px; margin-bottom: 0.8rem;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.5rem; padding: 0.75rem 1.8rem;
  font-family: var(--font-display); font-size: 1rem;
  letter-spacing: 0.15em; border: 2px solid; cursor: pointer;
  transition: background 0.15s, color 0.15s; background: transparent;
}
.btn-pink { border-color: var(--pink); color: var(--pink); }
.btn-pink:hover { background: var(--pink); color: white; }
.btn-ink  { border-color: var(--ink); color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--cream); }

/* =========================================
   ABOUT
   ========================================= */
.about-page { padding: 7rem 2.5rem 5rem; max-width: 1200px; margin: 0 auto; }

.page-header {
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(10,10,10,0.1);
  padding-bottom: 2rem;
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 2rem;
}
.page-header h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 0.9; letter-spacing: -0.01em;
}
.page-header h1 .script-word {
  font-family: var(--font-script);
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--pink); display: block; line-height: 1.05;
}
.page-header-meta {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  opacity: 0.4; text-align: right; line-height: 2; flex-shrink: 0;
}

.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.about-photo { aspect-ratio: 3/4; overflow: hidden; position: relative; background: var(--ink); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.about-photo:hover img { transform: scale(1.03); }
.about-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.15em; color: rgba(232,232,232,0.25); text-align: center; padding: 2rem;
}
.about-photo-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.6rem 1rem; background: var(--pink); color: white;
  font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.2em;
}
.about-content p { font-size: 0.95rem; font-weight: 300; opacity: 0.65; line-height: 1.85; margin-bottom: 1.2rem; }
.about-content p strong { font-weight: 700; color: var(--ink); opacity: 1; }
.skills-block { margin-top: 2.5rem; }
.skills-block h3 {
  font-family: var(--font-display); font-size: 1.3rem;
  letter-spacing: 0.1em; margin-bottom: 1rem;
  border-left: 4px solid var(--pink); padding-left: 0.75rem;
}
.skills-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* =========================================
   WORK — BENTO GRID, IMAGES FILL THEIR CARDS
   ========================================= */
.work-page { padding: 7rem 2.5rem 5rem; max-width: 1300px; margin: 0 auto; }

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.work-card {
  position: relative; cursor: pointer;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--cream);
}

.work-card-image {
  overflow: hidden; position: relative;
  width: 100%;
}

/* Full image, no crop, no grey bars */
.work-card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.55s ease, filter 0.3s ease;
}
.work-card:hover .work-card-image img {
  transform: scale(1.03);
  filter: brightness(0.75);
}

/* Hover label */
.work-card-hover-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  opacity: 0; transform: scale(0.92);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.work-card:hover .work-card-hover-label { opacity: 1; transform: scale(1); }
.work-card-hover-label span {
  font-family: var(--font-display); font-size: 1rem;
  letter-spacing: 0.25em; color: white;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 0.5rem 1.2rem;
}

/* Info bar below image */
.work-card-info {
  padding: 0.75rem 0.8rem;
  background: var(--cream);
  border-top: 3px solid var(--pink);
  display: flex; justify-content: space-between; align-items: baseline;
  flex-shrink: 0;
}
.work-card-title {
  font-family: var(--font-display); font-weight: 900; font-size: 1rem;
  letter-spacing: 0.02em; color: var(--ink);
}
.work-card-meta {
  font-family: var(--font-mono); font-size: 0.5rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.4; text-align: right; line-height: 1.8; color: var(--ink);
}

/* Multi-image badge */
.work-card-count {
  position: absolute; top: 0.7rem; right: 0.7rem;
  font-family: var(--font-mono); font-size: 0.5rem;
  letter-spacing: 0.12em;
  background: rgba(10,10,10,0.7); color: var(--cream);
  padding: 3px 8px; z-index: 4; border-radius: 2px;
}

/* =========================================
   CONTACT
   ========================================= */
.contact-page { padding: 7rem 2.5rem 5rem; max-width: 1000px; margin: 0 auto; min-height: 100vh; }
.contact-intro-text {
  font-size: 1rem; font-weight: 300; opacity: 0.55;
  max-width: 440px; line-height: 1.8; margin-bottom: 4rem; font-style: italic;
}
.contact-list { border-top: 1px solid rgba(10,10,10,0.12); }
.contact-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 0; border-bottom: 1px solid rgba(10,10,10,0.12);
  cursor: pointer; transition: padding-left 0.25s; color: var(--ink);
}
.contact-row:hover { padding-left: 1rem; }
.contact-row-left { display: flex; align-items: baseline; gap: 1.5rem; }
.contact-row-name {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.01em; line-height: 1; transition: color 0.2s;
}
.contact-row:hover .contact-row-name { color: var(--pink); }
.contact-row-type {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.4;
}
.contact-row-arrow {
  font-size: 1.8rem; color: var(--pink);
  opacity: 0; transform: translateX(-10px);
  transition: opacity 0.2s, transform 0.2s;
}
.contact-row:hover .contact-row-arrow { opacity: 1; transform: translateX(0); }

/* =========================================
   EASTER EGG
   ========================================= */
.easter-page {
  padding: 7rem 2.5rem 5rem; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; overflow: hidden; position: relative;
}
.easter-page::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(46,23,96,0.08), transparent 60%);
  pointer-events: none;
}
.easter-vhs-card { background: var(--ink); padding: 2.5rem 3rem; margin-bottom: 3rem; max-width: 400px; width: 100%; }
.easter-vhs-card .stripe-bar { margin-bottom: 1.5rem; }
.easter-vhs-brand {
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(232,232,232,0.3); margin-bottom: 0.5rem;
  display: flex; justify-content: space-between;
}
.easter-vhs-title { font-family: var(--font-display); font-size: 4rem; color: var(--cream); letter-spacing: 0.05em; line-height: 1; }
.easter-vhs-title span { color: var(--pink); }
.easter-vhs-sub {
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(232,232,232,0.25); margin-top: 1rem;
  border-top: 1px solid rgba(232,232,232,0.08);
  padding-top: 1rem; display: flex; justify-content: space-between;
}
.easter-content h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; letter-spacing: 0.02em; margin-bottom: 1rem; }
.easter-content h1 .script-word { font-family: var(--font-script); font-size: clamp(2.8rem, 6.5vw, 4.5rem); color: var(--pink); display: inline; line-height: 1.1; }
.easter-content p { opacity: 0.55; font-size: 0.95rem; line-height: 1.75; max-width: 360px; margin: 0 auto 2rem; }
.static-text { font-family: var(--font-mono); font-size: 0.48rem; letter-spacing: 0.08em; opacity: 0.18; margin-top: 3rem; animation: flicker 4s infinite; }
@keyframes flicker {
  0%,94%,100% { opacity: 0.18; } 95% { opacity: 0.05; }
  96% { opacity: 0.28; } 97% { opacity: 0.1; }
}
.easter-trigger {
  position: fixed; bottom: 1.2rem; right: 1.2rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(10,10,10,0.15); border: none; cursor: pointer;
  z-index: 200; transition: background 0.3s, transform 0.3s;
}
.easter-trigger:hover { background: var(--pink); transform: scale(1.6); }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--ink); color: var(--cream);
  padding: 2rem 2.5rem;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-name { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; letter-spacing: 0.04em; }
.footer-copy { font-family: var(--font-mono); font-size: 0.52rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.3; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-family: var(--font-mono); font-size: 0.52rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(232,232,232,0.35); transition: color 0.2s; }
.footer-links a:hover { color: var(--pink); }

/* =========================================
   LIGHTBOX
   ========================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(10,10,10,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain; display: block;
  transform: scale(0.94);
  transition: transform 0.25s ease;
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(232,232,232,0.5); transition: color 0.2s;
}
.lightbox-close:hover { color: var(--cream); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid rgba(232,232,232,0.2);
  color: var(--cream); font-size: 1.2rem;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s, border-color 0.2s;
  font-family: var(--font-body);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--pink); border-color: var(--pink); }
.lightbox-prev.hidden, .lightbox-next.hidden { display: none; }
.lightbox-counter {
  position: absolute; bottom: 1.2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.2em; color: rgba(232,232,232,0.4);
}

/* =========================================
   GLITCH TRANSITION
   ========================================= */
.glitch-overlay {
  position: fixed; inset: 0; z-index: 9000;
  pointer-events: none; background: var(--ink); opacity: 0;
}
.glitch-overlay.flash { animation: glitch-flash 0.35s steps(1) forwards; }
@keyframes glitch-flash {
  0%   { opacity: 0; }
  15%  { opacity: 0.9; background: var(--ink); }
  25%  { opacity: 0.4; background: #7f66c6; transform: translateX(3px); }
  35%  { opacity: 0.8; background: var(--ink); transform: translateX(-2px); }
  50%  { opacity: 0; }
  65%  { opacity: 0.3; background: var(--ink); }
  80%  { opacity: 0; }
  100% { opacity: 0; }
}

/* =========================================
   RESPONSIVE — MOBILE
   ========================================= */
@media (max-width: 768px) {
  .taskbar { display: none; }
  .nav-mobile { display: flex; }
  .page { padding-bottom: 0; }
  .hero { padding-top: 48px; }
  .hero-right .film-grain { opacity: 0.5; }
  .about-page, .work-page, .contact-page, .easter-page { padding-top: 5rem; }

  .hero-utility-bar { display: none; }
  .hero-body { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .hero-left { padding: 2rem 1.5rem 1.5rem; border-right: none; border-bottom: 1px solid rgba(10,10,10,0.1); }
  .hero-title { font-size: clamp(3.5rem, 14vw, 5.5rem); }
  .hero-title .script-word { font-size: clamp(3rem, 12vw, 4.5rem); }
  .hero-desc { font-size: 0.88rem; margin-top: 1.2rem; }
  .hero-bottom-tags { margin-top: 1.5rem; }
  .hero-right { min-height: 260px; max-height: 340px; }

  .ticker-track span { font-size: 0.75rem; padding: 0 1.5rem; }

  /* Scroller — vertical on mobile */
  .hscroll-section { height: auto !important; }
  .hscroll-sticky { position: static !important; height: auto !important; overflow: visible; }
  .hscroll-header { padding: 0.8rem 1.2rem 0.7rem; }
  .hscroll-title { font-size: 1.3rem; }
  .hscroll-nav { display: none; }
  .hscroll-track-wrapper { overflow: visible; padding: 0; height: auto; perspective: none; }
  .hscroll-track { flex-direction: column; transform: none !important; transition: none !important; gap: 0; align-items: stretch; padding: 0; }
  .hscroll-item { width: 100% !important; transform: none !important; opacity: 1 !important; filter: none !important; border-radius: 0; border-bottom: 1px solid rgba(232,232,232,0.08); }
  .hscroll-item::before { display: none; }
  .hscroll-item img { width: 100%; height: auto !important; max-width: 100%; object-fit: contain; }
  .hscroll-item-caption { opacity: 1 !important; transform: none !important; position: static; background: rgba(10,10,10,0.85); padding: 0.6rem 1rem; }
  .hscroll-dots { display: none; }
  .hscroll-footer { padding: 0.6rem 1.2rem; }

  .intro-section { grid-template-columns: 1fr; gap: 1rem; padding: 3.5rem 1.5rem; }
  .intro-number { display: none; }
  .intro-text h2 { font-size: clamp(2.2rem, 9vw, 3.5rem); }

  .about-page { padding: 5rem 1.5rem 3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { aspect-ratio: 4/3; }

  .work-page { padding: 5rem 1.5rem 3rem; }
  .work-grid { grid-template-columns: 1fr; gap: 1rem; }
  .work-card-image img { width: 100%; height: auto; }
  .work-card.is-landscape, .work-card.is-portrait { grid-column: span 1; }

  .contact-page { padding: 5rem 1.5rem 3rem; }
  .contact-row-name { font-size: clamp(1.6rem, 7vw, 2.5rem); }
  .contact-row-type { display: none; }

  .page-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; }
  .page-header h1 { font-size: clamp(3rem, 13vw, 5rem); }
  .page-header-meta { text-align: left; }

  .footer { flex-direction: column; text-align: center; padding: 1.5rem; gap: 0.8rem; }
  .footer-links { gap: 1.2rem; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 3rem; }
  .hero-title .script-word { font-size: 2.6rem; }
  .contact-row-name { font-size: 1.5rem; }
}