/* ===================================================
   Blueback — Shared Stylesheet
   Included by all pages. Fixes CSS not reloading
   on Barba.js navigation.
   =================================================== */

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/syne-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/syne-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --bg:             #1a0d2e;
  --text:           #ffffff;
  --text-secondary: rgba(255,255,255,0.55);
  --glass-bg:       rgba(255,255,255,0.04);
  --glass-border:   rgba(255,255,255,0.08);
  --font-display:   'Syne', sans-serif;
  --font-body:      'Inter', sans-serif;
  --purple:         #a855f7;
}

html {
  scroll-behavior: smooth; background: #1a0d2e;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body {
  background: radial-gradient(ellipse 80% 60% at 15% 10%, #380744 0%, transparent 55%),
              radial-gradient(ellipse 60% 50% at 85% 80%, #271944 0%, transparent 50%),
              radial-gradient(ellipse 50% 40% at 50% 50%, #3F054D 0%, transparent 45%), #1a0d2e;
  color: var(--text); font-family: var(--font-body); font-weight: 300;
  line-height: 1.6; overflow-x: hidden; min-height: 100svh;
}

/* ── WebGL Canvas ── */
#darkveil { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.85; pointer-events: none; }

/* ── Static bg gradient (non-home pages) ── */
.bg, .bg-gradient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 15% 10%, #380744 0%, transparent 55%),
              radial-gradient(ellipse 60% 50% at 85% 80%, #271944 0%, transparent 50%),
              radial-gradient(ellipse 50% 40% at 50% 50%, #3F054D 0%, transparent 45%), #1a0d2e;
}

/* ── Layout ── */
.page-wrapper { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════ */
.nav-outer {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 24px 48px; display: flex; justify-content: center;
}
@property --nav-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes nav-loop { to { --nav-a: 360deg; } }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px;
  background: rgba(255,255,255,0.07) padding-box,
    conic-gradient(from var(--nav-a), rgba(255,255,255,0.07) 0%, rgba(200,150,255,0.6) 8%, rgba(255,255,255,0.07) 16%) border-box;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid transparent; border-radius: 100px;
  padding: 14px 24px 14px 28px;
  animation: nav-loop 4s linear infinite, fadeUp 0.55s ease both;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 26px; width: auto; display: block; }
.nav-tagline { font-size: 8px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.18); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 400; color: var(--text-secondary); text-decoration: none; padding: 8px 16px; border-radius: 100px; transition: color 0.2s ease, background 0.2s ease; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-links .nav-cta a,
.nav-links a.nav-cta {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: var(--text); font-weight: 500; padding: 8px 18px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-links .nav-cta a:hover,
.nav-links a.nav-cta:hover  { background: rgba(255,255,255,0.14); border-color: rgba(200,150,255,0.4); }
.nav-links a.nav-cta.active { background: rgba(200,150,255,0.15); border-color: rgba(200,150,255,0.3); }

/* ═══════════════════════════════════════════════════
   HOME — HERO
   ═══════════════════════════════════════════════════ */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer  { from { background-position: 0% center; } to { background-position: 200% center; } }
@keyframes blink    { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes drip     { 0% { top: -8px; opacity: 1; } 80% { top: 48px; opacity: 0.6; } 100% { top: 56px; opacity: 0; } }

.hero {
  position: relative; min-height: 52svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 100px 24px 16px; text-align: center; overflow: hidden;
}
.hero-content { position: relative; z-index: 1; max-width: 900px; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 100px;
  padding: 8px 18px; font-family: var(--font-body); font-size: 11px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-secondary);
  margin-bottom: 36px; animation: fadeUp 0.7s ease both; animation-delay: 0.2s;
}
.hero-headline {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3.8vw, 52px); letter-spacing: -0.04em; line-height: 1.05;
  color: var(--text); margin-bottom: 20px;
  animation: fadeUp 0.7s ease both; animation-delay: 0.45s;
}
.hero-headline-line2 {
  background: linear-gradient(90deg, #fff 0%, #c084fc 40%, #e879f9 60%, #fff 100%);
  background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: fadeUp 0.7s ease both, shimmer 4s linear infinite; animation-delay: 0.45s, 1.2s;
}
.hero-subtext {
  font-weight: 300; font-size: clamp(15px, 1.8vw, 18px); color: var(--text-secondary);
  margin-bottom: 28px; animation: fadeUp 0.7s ease both; animation-delay: 0.7s;
}
.scroll-indicator { display: flex; flex-direction: column; align-items: center; gap: 10px; animation: fadeUp 0.7s ease both; animation-delay: 1.4s; }
.scroll-line { position: relative; width: 1px; height: 48px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2)); overflow: hidden; }
.scroll-drip { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 3px; height: 8px; border-radius: 100px; background: var(--purple); animation: drip 2s ease-in-out infinite; }
.scroll-label { font-size: 9px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.3); }

/* ── Portfolio ── */
#work { position: relative; z-index: 1; padding: 48px 24px 100px; margin-top: -60px; }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow { display: inline-block; font-size: 11px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 14px; }
.section-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3vw, 44px); letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.portfolio-stack-wrapper { display: flex; justify-content: center; }
.portfolio-stack { position: relative; width: 100%; max-width: 820px; height: 580px; }
@keyframes float-mid { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-22px); } }
@keyframes float-side { 0%,100% { transform: translateY(0); } 50% { transform: translateY(18px); } }
.stack-mid { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 49%; z-index: 2; filter: url(#clean-stroke-mid); animation: float-mid 6s ease-in-out infinite; }
.stack-side { position: absolute; top: 20%; left: 0; width: 100%; z-index: 1; filter: url(#clean-stroke-side); animation: float-side 6s ease-in-out infinite; }

/* ── CTA ── */
.cta-section { position: relative; z-index: 1; text-align: center; padding: 80px 48px 80px; }
.cta-section .section-eyebrow { display: block; margin-bottom: 16px; }
.cta-section .section-title { margin-bottom: 16px; }
.cta-subtext { font-size: 14px; font-weight: 300; color: var(--text-secondary); margin-bottom: 48px; }
.cta-btn {
  display: inline-block; position: relative; font-size: 14px; font-weight: 400; color: var(--text); text-decoration: none;
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 100px; padding: 14px 32px;
  transition: background 0.25s, border-color 0.25s;
  --glow-x: 50%; --glow-y: 50%; --glow-intensity: 0;
}
.cta-btn::after {
  content: ''; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(180px circle at var(--glow-x) var(--glow-y),
    rgba(168,85,247, calc(var(--glow-intensity) * 0.9)) 0%, transparent 65%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  transition: opacity 0.3s;
}
.cta-btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(200,150,255,0.35); }

/* ── MagicBento ── */
.bento-grid {
  display: grid; gap: 10px; max-width: 1000px; margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(4, 1fr); }
  .bento-card:nth-child(3) { grid-column: span 2; grid-row: span 2; }
  .bento-card:nth-child(4) { grid-column: 1 / span 2; grid-row: 2 / span 2; }
  .bento-card:nth-child(6) { grid-column: 4; grid-row: 3; }
}
.bento-card {
  position: relative; overflow: hidden; border-radius: 20px; min-height: 150px;
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
  padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
  cursor: default; transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
  --glow-x: 50%; --glow-y: 50%; --glow-intensity: 0;
}
.bento-card:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(168,85,247,0.1); }
.bento-card::after {
  content: ''; position: absolute; inset: 0; padding: 1px;
  background: radial-gradient(220px circle at var(--glow-x) var(--glow-y),
    rgba(168,85,247, calc(var(--glow-intensity) * 0.9)) 0%, transparent 65%);
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude; pointer-events: none; z-index: 1;
}
.bento-label { font-size: 9px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(168,85,247,0.65); margin-bottom: 10px; }
.bento-title { font-family: var(--font-display); font-size: clamp(17px, 1.8vw, 24px); font-weight: 600; color: #fff; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 8px; }
.bento-desc { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.5; }
.bento-card.bento-cta { background: rgba(168,85,247,0.07); border-color: rgba(168,85,247,0.18); align-items: center; justify-content: center; text-align: center; gap: 0; }
.bento-cta-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; color: #fff;
  text-decoration: none; padding: 11px 22px; border-radius: 100px;
  background: rgba(168,85,247,0.15); border: 1px solid rgba(168,85,247,0.3);
  transition: background 0.25s, border-color 0.25s;
}
.bento-cta-link:hover { background: rgba(168,85,247,0.28); border-color: rgba(168,85,247,0.55); }
.bento-spotlight {
  position: fixed; width: 500px; height: 500px; border-radius: 50%; pointer-events: none;
  z-index: 9999; opacity: 0; transform: translate(-50%, -50%); mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, rgba(168,85,247,0.05) 25%, transparent 60%);
}

/* ── Marquee ── */
.marquee-section { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.05); padding: 28px 0 20px; }
.marquee-eyebrow { text-align: center; font-size: 11px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 28px; }
.marquee-track-wrapper { position: relative; overflow: hidden; }
.marquee-track-wrapper::before, .marquee-track-wrapper::after { content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.marquee-track-wrapper::before { left: 0; background: linear-gradient(to right, #1a0d2e, transparent); }
.marquee-track-wrapper::after  { right: 0; background: linear-gradient(to left,  #1a0d2e, transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee-item { font-family: var(--font-display); font-weight: 400; font-size: 16px; color: rgba(255,255,255,0.28); white-space: nowrap; padding: 0 28px; transition: color 0.2s; cursor: default; user-select: none; }
.marquee-item:hover { color: rgba(255,255,255,0.75); }
.marquee-sep { font-family: var(--font-display); font-weight: 300; font-size: 18px; color: rgba(255,255,255,0.12); padding: 0 4px; user-select: none; }

/* ── Footer ── */
.footer { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.05); padding: 28px 48px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-socials { display: flex; align-items: center; gap: 10px; }
.footer-socials a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.footer-socials a:hover { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.12); border-color: rgba(200,150,255,0.4); }
.footer-socials svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.footer-copy { font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.2); }

/* ═══════════════════════════════════════════════════
   WORK PAGE
   ═══════════════════════════════════════════════════ */
[data-barba-namespace="work"] main { position: relative; z-index: 1; padding: 110px 0 80px; }
.page-header { text-align: center; margin-bottom: 56px; padding: 0 48px; }
.eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 16px; }
.page-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.5vw, 52px); letter-spacing: -0.04em; line-height: 0.95; color: #fff; }

.gallery-outer { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%); cursor: grab; -webkit-user-select: none; user-select: none; touch-action: pan-y; }
.gallery-outer:active { cursor: grabbing; }
.gallery-track { display: flex; align-items: center; gap: 14px; width: max-content; padding-bottom: 8px; will-change: transform; }
.g-card { flex-shrink: 0; height: min(500px, calc(100vh - 280px)); aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,0.07); background: #110820; cursor: pointer; }
.g-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); pointer-events: none; }
.g-card:hover img { transform: scale(1.05); }
.g-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,3,18,0.88) 0%, transparent 50%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 16px; opacity: 0; transition: opacity 0.3s; }
.g-card:hover .g-overlay { opacity: 1; }
.g-num { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 4px; }
.g-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: #fff; }
.g-tag { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 2px; }

.projects-section { padding: 60px 48px 80px; }
.section-label { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.5vw, 36px); letter-spacing: -0.03em; color: #fff; margin-bottom: 28px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj-card { aspect-ratio: 4/3; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; overflow: hidden; position: relative; transition: border-color 0.25s, transform 0.25s; }
.proj-card[data-proj-src] { cursor: pointer; }
.proj-card[data-proj-src]:hover { border-color: rgba(200,150,255,0.35); transform: translateY(-3px); }
.proj-card svg { opacity: 0.15; }
.proj-card p { font-size: 11px; color: rgba(255,255,255,0.22); letter-spacing: 0.08em; }
.proj-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.4s ease; }
.proj-card[data-proj-src]:hover .proj-thumb { transform: scale(1.04); }
.proj-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,4,22,0.88) 0%, rgba(10,4,22,0.1) 55%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 20px; gap: 3px; }
.proj-tag { font-size: 10px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.proj-name { font-family: var(--font-display); font-size: clamp(15px, 1.6vw, 20px); font-weight: 600; color: #fff; line-height: 1.1; }
.proj-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }

/* Bottom Sheet */
.proj-sheet-backdrop { position: fixed; inset: 0; z-index: 9400; background: rgba(8,3,18,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.32s ease; }
.proj-sheet-backdrop.open { opacity: 1; pointer-events: all; }
.proj-sheet { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9500; transform: translateY(100%); transition: transform 0.42s cubic-bezier(0.32,0.72,0,1); }
.proj-sheet.open { transform: translateY(0); }
.proj-sheet-card { background: rgba(22,10,38,0.96); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border: 1px solid rgba(255,255,255,0.1); border-bottom: none; border-radius: 24px 24px 0 0; padding: 12px 28px 40px; position: relative; max-width: 640px; margin: 0 auto; }
.proj-sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.18); margin: 0 auto 22px; }
.proj-sheet-close { position: absolute; top: 16px; right: 20px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.proj-sheet-close:hover { background: rgba(255,255,255,0.15); color: #fff; }
.proj-sheet-tag { font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(200,150,255,0.7); margin-bottom: 8px; }
.proj-sheet-title { font-family: var(--font-display); font-size: clamp(22px, 4vw, 32px); font-weight: 600; letter-spacing: -0.03em; color: #fff; margin-bottom: 14px; line-height: 1.05; }
.proj-sheet-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9000; background: rgba(8,3,18,0.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lb-img { max-width: min(90vw, 500px); max-height: 90vh; object-fit: contain; border-radius: 12px; display: block; transition: opacity 0.18s; }
.lb-btn { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; }
.lb-btn:hover { background: rgba(255,255,255,0.16); }
.lb-btn svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.85); pointer-events: none; }
.lb-close { top: 24px; right: 28px; }
.lb-prev { top: 50%; left: 28px; transform: translateY(-50%); }
.lb-next { top: 50%; right: 28px; transform: translateY(-50%); }

/* ═══════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════ */
[data-barba-namespace="about"] .page-content { position: relative; z-index: 1; padding: 110px 48px 80px; display: flex; flex-direction: column; align-items: center; }
.about-wrap { display: flex; flex-direction: column; align-items: center; }
.rings-wrap { position: relative; width: 480px; height: 480px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rings-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; background: transparent; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, black 0%, black 55%, transparent 100%);
  mask-image: radial-gradient(circle closest-side at 50% 50%, black 0%, black 55%, transparent 100%);
}
.about-photo { position: relative; z-index: 1; width: 320px; height: 320px; flex-shrink: 0; }
.about-photo img { width: 320px; height: 320px; object-fit: cover; border-radius: 50%; display: block; }
.about-photo-placeholder { width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.about-photo-placeholder svg { opacity: 0.15; }
.about-photo-placeholder span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.about-journey { margin-top: 32px; text-align: center; }
.about-journey h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.5vw, 52px); letter-spacing: -0.04em; line-height: 1; color: #fff; display: flex; flex-wrap: wrap; justify-content: center; }

/* ═══════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════ */
[data-barba-namespace="contact"] .page-content { position: relative; z-index: 1; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px 48px 80px; text-align: center; }
[data-barba-namespace="contact"] .eyebrow { margin-bottom: 20px; }
[data-barba-namespace="contact"] .page-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4vw, 64px); letter-spacing: -0.04em; line-height: 0.95; color: #fff; margin-bottom: 24px; }
.subtitle { font-weight: 300; font-size: 15px; color: rgba(255,255,255,0.5); margin-bottom: 56px; }
.contact-card { width: 100%; max-width: 520px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; padding: 36px 32px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.contact-card input, .contact-card textarea { font-family: var(--font-body); font-size: 14px; font-weight: 300; color: #fff; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 13px 16px; outline: none; width: 100%; transition: border-color 0.2s; resize: none; }
.contact-card input::placeholder, .contact-card textarea::placeholder { color: rgba(255,255,255,0.25); }
.contact-card input:focus, .contact-card textarea:focus { border-color: rgba(200,150,255,0.4); }
.contact-card textarea { height: 120px; margin-bottom: 16px; }
.send-btn { width: 100%; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; color: #fff; background: rgba(200,150,255,0.15); border: 1px solid rgba(200,150,255,0.3); border-radius: 100px; padding: 14px 24px; cursor: pointer; transition: background 0.25s, border-color 0.25s; }
.send-btn:hover { background: rgba(200,150,255,0.25); border-color: rgba(200,150,255,0.55); }
.send-btn.sent { background: rgba(100,220,150,0.15); border-color: rgba(100,220,150,0.35); pointer-events: none; }
.social-divider { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 44px auto; }
.drip-line { position: relative; width: 1px; height: 52px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15)); overflow: hidden; }
@keyframes drip2 { 0% { top: -8px; opacity: 1; } 80% { top: 52px; opacity: 0.6; } 100% { top: 60px; opacity: 0; } }
.drip-dot { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 3px; height: 8px; border-radius: 100px; background: var(--purple); animation: drip2 2s ease-in-out infinite; }
.social-divider-label { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.25); }
.social-links { display: flex; align-items: center; gap: 14px; justify-content: center; list-style: none; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.social-links a:hover { color: #fff; background: rgba(255,255,255,0.12); border-color: rgba(200,150,255,0.4); }
.social-links svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.location { font-size: 12px; color: rgba(255,255,255,0.2); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 44px; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .g-card { width: 240px; }
}

@media (max-width: 600px) {
  /* Nav */
  .nav-outer { padding: 10px 14px; }
  .nav-inner { flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 16px 20px; border-radius: 20px; }
  .nav-logo { justify-content: center; }
  .nav-tagline { display: none; }
  .nav-links { gap: 2px; justify-content: center; flex-wrap: wrap; }
  .nav-links a { font-size: 11px; padding: 6px 10px; }
  .nav-links .nav-cta a, .nav-links a.nav-cta { padding: 6px 10px; }

  /* Hero */
  .hero { padding-top: 148px; padding-bottom: 44px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.15em; padding: 7px 16px; margin-bottom: 20px; }
  .hero-subtext { font-size: 14px; margin-bottom: 20px; }
  .scroll-line { height: 36px; }

  /* Home sections */
  #work { margin-top: -20px; padding-bottom: 60px; }
  .portfolio-stack { height: 360px; }
  .cta-section { padding: 48px 20px 48px; }
  .cta-subtext { margin-bottom: 32px; font-size: 13px; }
  .footer { padding: 24px 20px; gap: 20px; }
  .footer-socials { gap: 8px; }

  /* Bento */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card { min-height: 120px; padding: 18px; }

  /* Work page */
  [data-barba-namespace="work"] main { padding-top: 145px; }
  .page-header { padding: 0 24px; }
  .gallery-track { padding: 0 24px 20px; gap: 10px; }
  .g-card { height: min(340px, calc(100vh - 240px)); border-radius: 12px; width: 200px; }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-section { padding: 48px 24px 60px; }
  .proj-sheet-card { padding: 12px 20px 36px; }
  .lb-prev { left: 12px; } .lb-next { right: 12px; } .lb-close { top: 16px; right: 16px; }

  /* About page */
  [data-barba-namespace="about"] .page-content { padding: 145px 24px 60px; }
  .rings-wrap { width: 340px; height: 340px; }
  .about-photo { width: 240px; height: 240px; }
  .about-photo img { width: 240px; height: 240px; }
  .about-photo-placeholder { width: 240px; height: 240px; }

  /* Contact page */
  [data-barba-namespace="contact"] .page-content { padding: 145px 24px 60px; justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .subtitle { font-size: 13px; margin-bottom: 32px; }
}
