/* =============================================
   CRISTINA HURTADO — PORTFOLIO
   Warm Light · Senior Product Designer
   ============================================= */

/* === EDITORIAL NEW === */
@font-face {
  font-family: 'Editorial New';
  src: url('../fonts/PPEditorialNew-Ultralight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Editorial New';
  src: url('../fonts/PPEditorialNew-UltralightItalic.otf') format('opentype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Editorial New';
  src: url('../fonts/PPEditorialNew-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Editorial New';
  src: url('../fonts/PPEditorialNew-Ultrabold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* === RESET & TOKENS === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fbfbfb;
  --bg-2: #f4f1ec;
  --bg-3: #ebe7e0;
  --bg-4: #dedad2;
  --fg: #1a1714;
  --fg-muted: rgba(26, 23, 20, 0.50);
  --fg-subtle: rgba(26, 23, 20, 0.14);
  --accent: #0066FF;
  --accent-dim: rgba(0, 102, 255, 0.10);
  --accent-glow: rgba(0, 102, 255, 0.22);
  --border: rgba(26, 23, 20, 0.10);
  --font-serif: 'Editorial New', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'Fira Code', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

body.loading { overflow: hidden; }

::selection { background: var(--accent); color: #fff; }

a { text-decoration: none; color: inherit; }

/* === UTILITIES === */
.mono { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.accent { color: var(--accent); }
.italic { font-style: italic; }
.label { color: var(--fg-muted); font-size: 0.7rem; display: block; margin-bottom: 4px; }

/* === LOADER === */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Floating thought labels ── */
.thought {
  position: absolute;
  background: var(--bg, transparent);
  color: var(--col, #1a1714);
  border-radius: 0;
  padding: 2px 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.5;
  white-space: nowrap;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.thought.visible { opacity: 1; }

/* ── Center text ── */
.loader-center {
  text-align: center;
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-line {
  overflow: hidden;
  line-height: 1.05;
}

.ll-inner {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(42px, 7.5vw, 100px);
  font-weight: 200;
  color: var(--fg);
  letter-spacing: -0.03em;
  transform: translateY(115%);
}


/* Counter */
.loader-num-wrap {
  position: absolute;
  bottom: 44px;
  right: 64px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.loader-pct {
  font-size: 0.6rem;
  opacity: 0.6;
}

/* === GRAIN === */
#grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.018;
}

/* === CURSOR === */
#cursor {
  position: fixed;
  z-index: 9997;
  pointer-events: none;
  top: 0; left: 0;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--fg);
  border-radius: 50%;
  position: absolute;
  top: -3px;
  left: -3px;
  transform-origin: center;
  transition: transform 0.15s var(--ease-out), background 0.2s;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(26, 23, 20, 0.25);
  border-radius: 50%;
  position: absolute;
  top: -18px;
  left: -18px;
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out),
              top 0.4s var(--ease-out), left 0.4s var(--ease-out),
              background 0.3s, border-color 0.3s, border-radius 0.3s;
}

.cursor-label {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

body.cursor-hover .cursor-dot { transform: scale(0); }
body.cursor-hover .cursor-ring {
  width: 80px;
  height: 80px;
  top: -40px;
  left: -40px;
  background: transparent;
  border-color: var(--accent);
  opacity: 0.3;
}
body.cursor-hover .cursor-label {
  opacity: 1;
  transform: scale(1);
}

/* === NAV === */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.4s, padding 0.4s;
}

#nav.scrolled {
  background: rgba(251, 251, 251, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 64px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.6; }

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover { color: var(--fg); }
.nav-link:hover::after { width: 100%; }

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px #22c55e; }
  50% { box-shadow: 0 0 16px #22c55e, 0 0 4px #22c55e; }
}

/* === HERO === */
#hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  padding: 120px 64px 80px 64px;
  position: relative;
  overflow: hidden;
  gap: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  color: var(--fg);
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(20px);
}

.hero-divider { color: var(--accent); font-size: 1.2em; line-height: 1; position: relative; top: 2px; }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6.5vw, 88px);
  line-height: 0.97;
  letter-spacing: -0.02em;
  font-weight: 200;
  margin-bottom: 48px;
}

.hero-line {
  display: block;
  overflow: hidden;
  transform: translateY(110%);
  transition: none;
  padding: 0.12em 0 0.06em 0.1em;
  margin: -0.12em 0 -0.06em -0.1em;
}

.hero-line.italic {
  color: var(--accent);
}

.hero-sub {
  display: flex;
  align-items: flex-end;
  gap: 48px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-sub p {
  color: var(--fg-muted);
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.65;
  max-width: 400px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--fg);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: color 0.3s, border-color 0.3s;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-in-out);
  border-radius: inherit;
}

.btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary:hover { color: var(--bg); }
.btn-primary:hover svg { stroke: var(--bg); }

.btn-primary span, .btn-primary svg {
  position: relative;
  z-index: 1;
  transition: stroke 0.3s;
}

.btn-primary svg { width: 18px; height: 18px; }

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--fg-muted);
  opacity: 0;
}

.scroll-line {
  width: 60px;
  height: 1px;
  background: var(--border);
  overflow: hidden;
}

.scroll-line-inner {
  width: 100%;
  height: 100%;
  background: var(--fg-muted);
  animation: scroll-line 2s ease-in-out infinite;
  transform: translateX(-100%);
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

/* Hero photos cluster */
.hero-photos {
  position: relative;
  height: 100%;
  min-height: 520px;
  z-index: 1;
}

.hero-photo {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,0.14), 0 0 0 1px rgba(26,23,20,0.08);
  opacity: 0; /* animated in by JS */
  will-change: transform;
  cursor: pointer;
  transition: box-shadow 0.4s ease, z-index 0s;
}
.hero-photo:hover {
  box-shadow:
    0 24px 60px rgba(0,0,0,0.18);
  z-index: 20 !important;
}

/* Main — large, center-left of cluster */
.photo-1 {
  width: clamp(220px, 19vw, 300px);
  height: clamp(290px, 25vw, 400px);
  top: 28%;
  left: 16%;
  z-index: 2;
}

/* Upper — medium, overlapping right */
.photo-2 {
  width: clamp(190px, 16vw, 255px);
  height: clamp(250px, 21vw, 340px);
  top: 5%;
  left: 54%;
  z-index: 3;
}

/* Side — medium-small, far right */
.photo-3 {
  width: clamp(165px, 14vw, 215px);
  height: clamp(215px, 18vw, 285px);
  top: 14%;
  right: 2%;
  z-index: 1;
}

.hero-photo-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #ebe7e0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center 30%;
  transition: transform 0.6s ease;
}
.photo-1 img { object-position: center 40%; }  /* Florencia — centra figura */
.photo-2 img { object-position: 40% 25%; }     /* Japón — centra cara */
.photo-3 img { object-position: center 20%; }  /* Tercera foto */
.hero-photo:hover img {
  transform: scale(1.04);
}
/* Warm dark gradient overlay at bottom */
.hero-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(251, 251, 251, 0.25) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Hero ambient orbs */
#hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.09) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
  animation: orb-float 8s ease-in-out infinite;
}

#hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.06) 0%, transparent 70%);
  bottom: 100px;
  left: -50px;
  pointer-events: none;
  animation: orb-float 10s ease-in-out infinite reverse;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* === MARQUEE === */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: var(--bg-2);
}

.marquee-track { overflow: hidden; }

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.marquee-inner span.accent {
  font-size: 0.5rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-section:hover .marquee-inner { animation-play-state: paused; }

/* === TOOLS STRIP === */
.tools-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg);
}

.tools-strip-header {
  text-align: center;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  opacity: 0.5;
}

.tools-track { overflow: hidden; }

.tools-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: toolsScroll 40s linear infinite;
}

.tools-strip:hover .tools-inner { animation-play-state: paused; }

.tool-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
  font-size: 0.78rem;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}

.tool-chip:hover {
  border-color: var(--accent);
  color: var(--fg);
}

.tool-chip img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.85;
}

.tool-chip:hover img { opacity: 1; }

@keyframes toolsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* === SECTION SHARED === */
section { padding: 120px 64px; }

.section-header {
  margin-bottom: 64px;
}

.section-label {
  color: var(--fg-muted);
  display: block;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.section-title em { color: var(--accent); font-style: normal; }

.reveal-text {
  overflow: hidden;
}

/* === WORK === */
#work { background: var(--bg); }

/* === PROJECT CARDS GRID === */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.project-card--featured {
  grid-column: 1 / -1;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  will-change: transform;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.1), 0 0 0 1px var(--border);
}

/* Inner link layout */
.pc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  text-decoration: none;
  color: inherit;
}

/* Vertical card: stacked */
.pc-inner--vertical {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  min-height: 500px;
  height: 100%;
}

/* Info panel */
.pc-info {
  background: var(--bg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  order: 1;
}

.pc-inner--vertical .pc-info {
  order: 2;
  padding: 28px 32px;
  gap: 16px;
}

.pc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pc-num {
  color: var(--fg-muted);
  font-size: 0.68rem;
  flex-shrink: 0;
}

.pc-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pc-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--fg-muted);
  background: var(--bg-2);
}

.pc-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pc-inner--vertical .pc-mid { flex: unset; }

.pc-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
  transition: color 0.3s;
}

.pc-inner--vertical .pc-title {
  font-size: clamp(24px, 2.6vw, 36px);
}

.project-card:hover .pc-title { color: var(--accent); }

.pc-desc {
  color: var(--fg-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 380px;
}

.pc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pc-year {
  color: var(--fg-muted);
  font-size: 0.62rem;
}

.pc-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.35s, background 0.35s, transform 0.35s var(--ease-out);
}

.pc-arrow svg {
  width: 18px;
  height: 18px;
  transition: stroke 0.3s;
}

.project-card:hover .pc-arrow {
  border-color: var(--accent);
  background: var(--accent);
  transform: rotate(-45deg);
}
.project-card:hover .pc-arrow svg { stroke: #fff; }

/* Visual panel */
.pc-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 48px 40px;
  order: 2;
  position: relative;
  transition: filter 0.4s;
}

.project-card:hover .pc-visual { filter: brightness(1.06); }

.pc-inner--vertical .pc-visual {
  order: 1;
  min-height: 240px;
  padding: 32px;
}

/* === FOURVENUES PHONE MOCKUP === */
.pcv-mockup {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.pcv-phone {
  width: 115px;
  background: rgba(255,255,255,0.08);
  border-radius: 24px;
  border: 1.5px solid rgba(255,255,255,0.18);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.pcv-phone--offset { margin-top: 40px; }

.pcv-phone-bar {
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
  width: 36%;
  margin: 0 auto;
}

.pcv-phone-amount {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: -0.04em;
  margin-top: 2px;
}

.pcv-phone-label {
  font-size: 6px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pcv-phone-card {
  height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
}
.pcv-phone-card.sm { height: 28px; }

.pcv-phone-row {
  display: flex;
  gap: 4px;
}
.pcv-phone-row > div {
  flex: 1;
  height: 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
}

.pcv-phone-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}

.pcv-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
}

.pcv-success-txt {
  font-size: 7px;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

/* === XNOVA DS MOCKUP === */
.pcv-ds {
  display: flex;
  width: 210px;
  height: 150px;
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}

.pcv-ds-sidebar {
  width: 38px;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.07);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pcv-ds-item {
  height: 5px;
  background: rgba(255,255,255,0.14);
  border-radius: 3px;
}
.pcv-ds-item.active { background: #0066FF; width: 80%; }

.pcv-ds-main {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pcv-ds-chips { display: flex; gap: 4px; }

.pcv-ds-chip {
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  width: 50%;
}
.pcv-ds-chip.sm { width: 30%; }

.pcv-ds-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.pcv-ds-token {
  height: 14px;
  border-radius: 4px;
}

.pcv-ds-component {
  display: flex;
  gap: 6px;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,0.07);
  flex: 1;
}

.pcv-ds-comp-label {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
}

.pcv-ds-comp-btn {
  width: 38px;
  height: 16px;
  background: #0066FF;
  border-radius: 100px;
  opacity: 0.85;
}

/* === XNOVA PROFILE MOCKUP === */
.pcv-profile {
  width: 160px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pcv-profile-topbar {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pcv-profile-navchip {
  height: 8px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  border: 0.5px solid rgba(255,255,255,0.18);
}
.pcv-profile-navchip.w1 { width: 38px; }
.pcv-profile-navchip.w2 { width: 28px; }
.pcv-profile-navchip.w3 { width: 32px; }
.pcv-profile-navspacer { flex: 1; }
.pcv-profile-savebtn {
  height: 10px; width: 32px;
  border-radius: 4px;
  background: #0066FF;
  opacity: 0.85;
}
.pcv-profile-card {
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pcv-profile-comprow {
  display: flex;
  align-items: center;
  gap: 5px;
}
.pcv-profile-flag {
  width: 13px; height: 9px;
  border-radius: 1px;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.pcv-profile-compname {
  height: 6px; width: 52px;
  border-radius: 3px;
  background: rgba(255,255,255,0.8);
}
.pcv-profile-comptype {
  height: 5px; width: 32px;
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
}
.pcv-profile-map {
  height: 50px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.pcv-profile-trow {
  display: flex; gap: 3px; align-items: center;
}
.pcv-profile-trow > div {
  height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.15);
}
.pcv-profile-trow > div:nth-child(1) { flex: 2.2; }
.pcv-profile-trow > div:nth-child(2) { flex: 1; }
.pcv-profile-trow > div:nth-child(3) { flex: 1; }
.pcv-profile-divider {
  height: 0.5px;
  background: rgba(255,255,255,0.1);
}
.pcv-profile-sectiontitle {
  height: 5px; width: 36px;
  border-radius: 2px;
  background: rgba(255,255,255,0.4);
}
.pcv-profile-srow {
  display: flex; align-items: center; gap: 3px;
}
.pcv-profile-sflag {
  width: 8px; height: 6px;
  border-radius: 1px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.pcv-profile-sname {
  width: 26px; height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.pcv-profile-sbar {
  flex: 1; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.pcv-profile-sbar > div {
  height: 100%; border-radius: 2px;
  background: #0066FF;
}

/* === FOURVENUES VENUE MAP MOCKUP === */
.pcv-venue {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.pcv-venue-panel {
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 130px;
  flex-shrink: 0;
}
.pcv-venue-panelbar {
  display: flex;
  gap: 4px;
  align-items: center;
}
.pcv-venue-panelbar > div {
  height: 5px;
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
}
.pcv-venue-panelbar > div:first-child { width: 44px; }
.pcv-venue-panelbar > div:last-child  { width: 28px; }
.pcv-venue-floor {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  height: 90px;
  position: relative;
  overflow: hidden;
}
/* Dance floor zone */
.pcv-venue-floor::before {
  content: '';
  position: absolute;
  bottom: 6px; left: 6px;
  width: 52%; height: 45%;
  border-radius: 3px;
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(255,255,255,0.2);
}
/* VIP zone — selected/highlighted */
.pcv-venue-floor::after {
  content: '';
  position: absolute;
  top: 6px; right: 6px;
  width: 36%; height: 38%;
  border-radius: 3px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.55);
}
.pcv-venue-tables {
  position: absolute;
  top: 6px; left: 6px;
  display: grid;
  grid-template-columns: repeat(4, 10px);
  gap: 5px;
}
.pcv-venue-table {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 0.5px solid rgba(255,255,255,0.25);
}
.pcv-venue-table.sel {
  background: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.7);
}
.pcv-venue-legend {
  display: flex;
  gap: 5px;
}
.pcv-venue-legend > div {
  height: 5px;
  border-radius: 2px;
  flex: 1;
  background: rgba(255,255,255,0.15);
}
.pcv-venue-legend > div.active {
  background: rgba(255,255,255,0.5);
}

/* === LETTERBOXD FILM MOCKUP === */
.pcv-film {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 165px;
}

.pcv-film-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.pcv-film-poster {
  width: 36px;
  height: 50px;
  background: linear-gradient(135deg, rgba(232,112,53,0.55) 0%, rgba(140,50,10,0.4) 100%);
  border-radius: 5px;
  flex-shrink: 0;
}

.pcv-film-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }

.pcv-film-title-bar {
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  width: 85%;
}

.pcv-film-year-bar {
  height: 5px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  width: 55%;
}

.pcv-film-stars {
  font-size: 10px;
  color: #0066FF;
  letter-spacing: -1px;
  margin-top: 2px;
}

.pcv-film-entry {
  height: 30px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}
.pcv-film-entry.sm { height: 22px; opacity: 0.55; }

.pcv-film-nav {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 4px;
}

.pcv-nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.pcv-nav-dot.active { background: #0066FF; width: 14px; border-radius: 3px; }

/* === NUMBERS === */
#numbers {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 64px;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.number-item {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.number-item:last-child { border-right: none; }

.number-val {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
}

.number-unit {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 48px);
  color: var(--accent);
  margin-left: 4px;
  line-height: 1;
}

.number-item p {
  margin-top: 12px;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

/* === ABOUT === */
#about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.about-left {
  position: sticky;
  top: 100px;
}

.about-left .section-title { margin-top: 20px; margin-bottom: 40px; }

.about-photo-wrap {
  position: relative;
  width: 280px;
}

.about-photo {
  width: 280px;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.about-photo-inner {
  width: 100%;
  height: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.6s var(--ease-out);
}

.about-photo:hover .about-photo-inner {
  transform: scale(1.03);
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.photo-placeholder svg { width: 100px; height: 120px; }

.photo-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.about-photo-bg {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  opacity: 0.3;
  z-index: 0;
}

.about-bio {
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-bio.secondary {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0;
  padding: 32px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.about-detail-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--fg);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--accent);
  transition: background 0.3s, color 0.3s;
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

/* === PROCESS === */
#process {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-step {
  padding: 48px 36px;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.process-step:last-child { border-right: none; }

.process-step::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.process-step:hover::before { transform: scaleX(1); }
.process-step:hover { background: var(--bg-3); }

.step-number {
  font-size: 0.65rem;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}

.process-step h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === CONTACT === */
#contact {
  background: var(--bg);
  text-align: center;
  padding: 140px 64px;
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
}

.contact-inner .section-label { justify-content: center; display: block; margin-bottom: 28px; }

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 110px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 400;
  margin-bottom: 28px;
}

.contact-title em { color: var(--accent); font-style: normal; }

.contact-sub {
  color: var(--fg-muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 48px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 40px);
  letter-spacing: -0.02em;
  color: var(--fg);
  padding: 16px 32px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  margin-bottom: 36px;
}

.contact-email:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-email svg { width: 24px; height: 24px; }

.contact-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.social-link {
  color: var(--fg-muted);
  transition: color 0.2s;
}

.social-link:hover { color: var(--fg); }
.social-sep { opacity: 0.4; }

/* === FOOTER === */
#footer {
  padding: 24px 64px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fg-muted);
  background: var(--bg-2);
}

/* === ANIMATIONS (GSAP triggers) === */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* === PROJECT GRID RESPONSIVE === */
@media (max-width: 960px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card--featured { grid-column: 1; }
  .pc-inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .pc-info { order: 2; }
  .pc-visual { order: 1; min-height: 220px; padding: 32px; }
  .pc-inner--vertical { min-height: unset; }
  .pc-inner--vertical .pc-info { order: 2; }
  .pc-inner--vertical .pc-visual { order: 1; }
}

@media (max-width: 600px) {
  .pc-info { padding: 24px 20px; }
  .pc-inner--vertical .pc-info { padding: 22px 20px; }
  .pc-visual { min-height: 190px; padding: 24px; }
  .pc-inner--vertical .pc-visual { min-height: 180px; }
  .pc-title { font-size: clamp(26px, 7vw, 36px) !important; }
  .pc-tags { display: none; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-item:nth-child(2) { border-right: none; }
  .number-item:nth-child(3) { border-top: 1px solid var(--border); }
  .number-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) { border-top: 1px solid var(--border); }
  .process-step:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-left { position: static; }
}

/* === TABLET (900–1100px) === */
@media (max-width: 1100px) {
  .photo-1 {
    width: clamp(175px, 17vw, 240px);
    height: clamp(233px, 23vw, 320px);
    top: 22%; left: 12%;
  }
  .photo-2 {
    width: clamp(150px, 15vw, 200px);
    height: clamp(200px, 20vw, 265px);
    top: 4%; left: 52%;
  }
  .photo-3 {
    width: clamp(130px, 13vw, 170px);
    height: clamp(173px, 17vw, 225px);
    top: 10%; right: 1%;
  }
}

/* === MOBILE (≤768px) === */
@media (max-width: 768px) {
  #cursor { display: none; }
  body { cursor: auto; }
  .hero-eyebrow { display: block; }
  .hero-eyebrow > span { display: inline; }
  .hero-divider { margin: 0 4px; vertical-align: middle; }
  #nav { padding: 16px 24px; }
  .nav-status { display: none; }
  section { padding: 80px 24px; }

  /* Hero: single column, photos below text */
  #hero {
    padding: 100px 24px 40px 24px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 0;
  }
  .hero-content { z-index: 1; }

  /* Photos: fan duo at bottom of hero */
  .hero-photos {
    display: block !important;
    position: relative !important;
    height: 220px;
    min-height: 220px;
    margin-top: 40px;
    overflow: visible;
  }

  /* Reset all photo sizes + positions for mobile fan */
  .hero-photo,
  .photo-1, .photo-2, .photo-3 {
    width: 130px !important;
    height: 172px !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }
  .photo-1 {
    position: absolute !important;
    left: calc(50% + 8px) !important;
    top: 28px !important;
    z-index: 2 !important;
  }
  .photo-2 {
    position: absolute !important;
    left: calc(50% - 148px) !important;
    top: 6px !important;
    z-index: 3 !important;
  }

  .hero-sub { flex-direction: column; align-items: flex-start; gap: 24px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .about-photo-wrap { width: 240px; }
  .about-photo { width: 240px; height: 300px; }
  #footer { flex-direction: column; gap: 8px; text-align: center; }

  /* Contact email button: centre it on mobile */
  .contact-email {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* === SMALL MOBILE (≤480px) === */
@media (max-width: 480px) {
  .hero-photos { height: 196px; margin-top: 32px; }
  .hero-photo,
  .photo-1, .photo-2, .photo-3 {
    width: 115px !important;
    height: 154px !important;
  }
  .photo-1 { left: calc(50% + 6px) !important; top: 26px !important; }
  .photo-2 { left: calc(50% - 130px) !important; top: 6px !important; }

  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; border-top: 1px solid var(--border); }
  .process-step:first-child { border-top: none; }
}

/* === MEDIUM MOBILE / SMALL TABLET (481–768px) === */
/* Photos are bigger and better spread at this range */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-photos {
    height: clamp(280px, 38vw, 340px);
    min-height: clamp(280px, 38vw, 340px);
    margin-top: 48px;
  }
  .hero-photo,
  .photo-1, .photo-2, .photo-3 {
    width: clamp(155px, 24vw, 195px) !important;
    height: clamp(205px, 32vw, 258px) !important;
  }
  .photo-1 {
    position: absolute !important;
    left: calc(50% + 20px) !important;
    top: 48px !important;
    z-index: 2 !important;
  }
  .photo-2 {
    position: absolute !important;
    left: calc(50% - 215px) !important;
    top: 10px !important;
    z-index: 3 !important;
  }
}

/* === EYEBROW TEXT — split to 2 lines on small phones === */
@media (max-width: 600px) {
  .hero-eyebrow .hero-divider { display: none !important; }
  .hero-eyebrow span.mono { display: block; line-height: 1.6; }
}
