/* ========================================================================
   UNDERWORLD — style.css
   Editor & Creative Portfolio · Static site for Neocities
   ======================================================================== */

/* EDIT COLORS HERE */

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

:root {
  --c-bg:         #050505;
  --c-panel:      rgba(12,12,12,0.55);
  --c-border:     rgba(255,255,255,0.06);
  --c-border-h:   rgba(255,255,255,0.14);
  --c-text:       #d4d4d4;
  --c-text-dim:   #777;
  --c-text-mute:  #444;
  --c-accent:     #f0f0f0;
  --c-accent-dim: rgba(255,255,255,0.035);

  --f-display: 'Playfair Display', Georgia, serif;
  --f-body:    'Outfit', 'Helvetica Neue', sans-serif;
  --f-mono:    'JetBrains Mono', 'Courier New', monospace;

  --sp-xs: .25rem; --sp-sm: .5rem; --sp-md: 1rem;
  --sp-lg: 2rem;   --sp-xl: 4rem;  --sp-2xl: 6rem; --sp-3xl: 8rem;

  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;

  --ease: cubic-bezier(.16,1,.3,1);
  --ease-elastic: cubic-bezier(.34,1.56,.64,1);
}

/* ── Base ───────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--f-body); background: var(--c-bg); color: var(--c-text); line-height: 1.6; overflow-x: hidden; min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
::selection { background: rgba(255,255,255,.12); color: #fff; }

/* ── Skip Link ─────────────────────────────────────────────────────── */
.skip-link { position: absolute; top: -100%; left: var(--sp-md); background: var(--c-accent); color: var(--c-bg); padding: var(--sp-sm) var(--sp-md); border-radius: var(--r-sm); z-index: 10000; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: var(--sp-md); }

/* ── Background ────────────────────────────────────────────────────── */
/* Clean layered gradient — no canvas needed on most pages */
.bg-gradient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30,30,35,.45) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(15,15,20,.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 15% 60%, rgba(20,20,25,.25) 0%, transparent 55%),
    var(--c-bg);
}
/* Subtle animated glow layer — CSS only, no canvas */
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .35;
  background: radial-gradient(ellipse 45% 45% at 50% 35%, rgba(60,60,70,.2) 0%, transparent 100%);
  animation: glow-drift 20s ease-in-out infinite alternate;
}
@keyframes glow-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(3%, -2%) scale(1.05); }
  66%  { transform: translate(-2%, 3%) scale(.97); }
  100% { transform: translate(1%, -1%) scale(1.02); }
}

/* Grain overlay */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998; opacity: .024;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 300px; mix-blend-mode: overlay;
}

/* Vignette */
.vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 9997;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.5) 100%);
}

/* ── Custom Cursor ─────────────────────────────────────────────────── */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; will-change: transform; opacity: 0; transition: opacity .5s; }
body.cursor-ready .cursor-dot, body.cursor-ready .cursor-ring { opacity: 1; }
.cursor-dot { width: 5px; height: 5px; background: #fff; mix-blend-mode: difference; }
.cursor-ring { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); mix-blend-mode: difference; transition: width .4s var(--ease-elastic), height .4s var(--ease-elastic), border-color .3s, background .3s, opacity .5s; }
.cursor-ring.hovering { width: 64px; height: 64px; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.cursor-ring.clicking { width: 28px; height: 28px; border-color: rgba(255,255,255,.55); }
.touch-device .cursor-dot, .touch-device .cursor-ring { display: none !important; }
.custom-cursor-active, .custom-cursor-active a, .custom-cursor-active button, .custom-cursor-active input, .custom-cursor-active [role="button"] { cursor: none !important; }

/* ── Layout ────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-lg); }
.section { position: relative; z-index: 1; padding: var(--sp-3xl) 0; }
.section--hero { padding-top: 12rem; padding-bottom: var(--sp-3xl); }

/* ── Nav ───────────────────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: var(--sp-md) 0; transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .4s var(--ease); }
.nav.scrolled { background: rgba(5,5,5,.82); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 1px 0 var(--c-border), 0 8px 32px rgba(0,0,0,.3); padding: .6rem 0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-md); }

.nav__logo { font-family: var(--f-body); font-size: .8125rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--c-accent); transition: letter-spacing .5s var(--ease); position: relative; }
.nav__logo:hover { letter-spacing: .45em; }
.nav__logo::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--c-accent), transparent); transform: scaleX(0); transition: transform .5s var(--ease); }
.nav__logo:hover::after { transform: scaleX(1); }

.nav__links { display: flex; align-items: center; gap: var(--sp-xl); }
.nav__link { font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-mute); transition: color .4s var(--ease), transform .3s var(--ease); position: relative; }
.nav__link::before { content: ''; position: absolute; top: 50%; left: -12px; width: 4px; height: 4px; border-radius: 50%; background: var(--c-accent); transform: scale(0); transition: transform .4s var(--ease-elastic); }
.nav__link:hover, .nav__link:focus-visible { color: var(--c-accent); transform: translateY(-1px); }
.nav__link:hover::before, .nav__link:focus-visible::before { transform: scale(1); }
.nav__cta { display: inline-flex; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; z-index: 110; }
.nav__toggle span { display: block; width: 22px; height: 1.5px; background: var(--c-text); transition: transform .4s var(--ease), opacity .3s; transform-origin: center; }
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile-menu { display: none; position: fixed; inset: 0; background: rgba(5,5,5,.97); backdrop-filter: blur(24px); z-index: 105; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-lg); }
.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu a { font-family: var(--f-display); font-size: 2.2rem; color: var(--c-text-mute); transition: color .3s, transform .3s var(--ease); }
.nav__mobile-menu a:hover { color: var(--c-accent); transform: translateX(8px); }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: var(--sp-sm); padding: .7em 1.7em; border-radius: var(--r-pill); font-size: .8125rem; font-weight: 600; letter-spacing: .03em; transition: all .4s var(--ease); white-space: nowrap; position: relative; overflow: hidden; }
.btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); transition: left .6s var(--ease); }
.btn:hover::before { left: 100%; }
.btn--primary { background: var(--c-accent); color: var(--c-bg); box-shadow: 0 2px 16px rgba(255,255,255,.06); }
.btn--primary:hover, .btn--primary:focus-visible { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 32px rgba(255,255,255,.1); }
.btn--primary:active { transform: translateY(-1px) scale(.98); }
.btn--outline { border: 1px solid var(--c-border); color: var(--c-text); background: transparent; }
.btn--outline:hover, .btn--outline:focus-visible { border-color: var(--c-border-h); transform: translateY(-3px); background: rgba(255,255,255,.02); box-shadow: 0 8px 32px rgba(0,0,0,.2); }
.btn--sm { padding: .5em 1.3em; font-size: .75rem; }
.btn--lg { padding: .9em 2.2em; font-size: .9375rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid rgba(255,255,255,.4); outline-offset: 3px; }

/* ── Pill ──────────────────────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: var(--sp-sm); padding: .4em 1.1em; border-radius: var(--r-pill); border: 1px solid var(--c-border); background: var(--c-accent-dim); font-size: .6875rem; font-weight: 500; color: var(--c-text-dim); letter-spacing: .08em; text-transform: uppercase; }
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,.4); animation: pulse-dot 2.5s ease infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ── Glass Panel ───────────────────────────────────────────────────── */
.glass-panel {
  background: linear-gradient(145deg, rgba(16,16,16,.5), rgba(8,8,8,.65));
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(32px) saturate(1.15);
  -webkit-backdrop-filter: blur(32px) saturate(1.15);
  box-shadow: 0 4px 32px rgba(0,0,0,.35), 0 1px 0 rgba(255,255,255,.025) inset;
  position: relative; overflow: hidden;
}
.glass-panel::before { content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); pointer-events: none; }
.glass-panel::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.012), transparent 60%); pointer-events: none; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__panel { padding: var(--sp-3xl) var(--sp-xl); max-width: 1000px; width: 100%; position: relative; z-index: 1; }
.hero__headline { font-family: var(--f-display); font-size: clamp(2.8rem,7vw,5.5rem); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; color: var(--c-accent); margin: var(--sp-lg) 0; }
.hero__headline em { font-style: italic; background: linear-gradient(135deg, #fff, #888); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.word { display: inline-block; overflow: hidden; vertical-align: top; }
.word__inner { display: inline-block; transform: translateY(115%); transition: transform .9s var(--ease); }
.word.revealed .word__inner { transform: translateY(0); }

.hero__sub { max-width: 500px; margin: 0 auto var(--sp-xl); font-size: 1rem; color: var(--c-text-dim); line-height: 1.75; opacity: 0; transform: translateY(16px); animation: fade-up .8s var(--ease) 1.1s forwards; }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }
.hero__ctas { display: flex; gap: var(--sp-md); justify-content: center; flex-wrap: wrap; opacity: 0; transform: translateY(16px); animation: fade-up .8s var(--ease) 1.3s forwards; }
.hero__scroll-hint { margin-top: var(--sp-2xl); font-size: .6875rem; color: var(--c-text-mute); display: flex; flex-direction: column; align-items: center; gap: var(--sp-sm); letter-spacing: .15em; text-transform: uppercase; opacity: 0; animation: fade-up .8s var(--ease) 1.6s forwards; }
.hero__scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--c-text-mute), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent, var(--c-accent), transparent); animation: scroll-trace 2.8s ease infinite; }
@keyframes scroll-trace { 0% { top: -100%; } 100% { top: 200%; } }

/* ── Section Headers ───────────────────────────────────────────────── */
.section-header { margin-bottom: var(--sp-xl); }
.section-header__label { font-size: .625rem; text-transform: uppercase; letter-spacing: .22em; color: var(--c-text-mute); margin-bottom: var(--sp-sm); font-weight: 600; font-family: var(--f-mono); }
.section-header__title { font-family: var(--f-display); font-size: clamp(2rem,4.5vw,3.5rem); font-weight: 400; letter-spacing: -.02em; color: var(--c-accent); line-height: 1.12; }
.section-header__sub { margin-top: var(--sp-md); color: var(--c-text-dim); max-width: 520px; font-size: .95rem; line-height: 1.7; }

.section-divider { border: none; height: 1px; background: linear-gradient(90deg, transparent, var(--c-border), transparent); }

/* ── Projects Strip ────────────────────────────────────────────────── */
.projects-strip { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; display: flex; gap: var(--sp-lg); padding: var(--sp-md) 0 var(--sp-xl); scrollbar-width: none; cursor: grab; }
.projects-strip::-webkit-scrollbar { display: none; }
.projects-strip:active { cursor: grabbing; }

.project-card { flex: 0 0 340px; scroll-snap-align: center; border-radius: var(--r-lg); border: 1px solid var(--c-border); background: rgba(255,255,255,.02); overflow: hidden; transition: transform .55s var(--ease), border-color .4s, box-shadow .55s var(--ease); }
.project-card:hover { transform: translateY(-8px) scale(1.015); border-color: var(--c-border-h); box-shadow: 0 24px 64px rgba(0,0,0,.4); }
.project-card__img { width: 100%; aspect-ratio: 16/10; background: linear-gradient(135deg, rgba(15,15,15,.8), rgba(25,25,25,.6) 50%, rgba(15,15,15,.8)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.project-card__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.4)); }
.project-card__img svg { width: 36px; height: 36px; opacity: .08; transition: transform .6s var(--ease), opacity .4s; }
.project-card:hover .project-card__img svg { transform: scale(1.2) rotate(5deg); opacity: .16; }
.project-card__body { padding: var(--sp-lg); }
.project-card__title { font-family: var(--f-display); font-size: 1.3rem; margin-bottom: 6px; color: var(--c-accent); }
.project-card__desc { font-size: .8125rem; color: var(--c-text-dim); margin-bottom: var(--sp-md); line-height: 1.65; }
.project-card__link { font-size: .6875rem; font-weight: 600; color: var(--c-text-dim); letter-spacing: .06em; text-transform: uppercase; transition: color .3s, gap .35s var(--ease); display: inline-flex; align-items: center; gap: 6px; }
.project-card__link:hover { color: var(--c-accent); gap: 12px; }
.project-card__link svg { width: 14px; height: 14px; }
.projects__footer { margin-top: var(--sp-xl); text-align: center; }

/* ── Meet ──────────────────────────────────────────────────────────── */
.meet { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2xl); align-items: start; }
.meet__bio { color: var(--c-text-dim); font-size: 1.05rem; line-height: 1.8; margin-bottom: var(--sp-lg); }
.skill-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-chip { padding: .4em 1em; border-radius: var(--r-pill); border: 1px solid var(--c-border); font-size: .6875rem; color: var(--c-text-dim); background: var(--c-accent-dim); letter-spacing: .03em; transition: all .35s var(--ease); }
.skill-chip:hover { border-color: var(--c-border-h); color: var(--c-accent); transform: translateY(-2px); }

.timeline { display: flex; flex-direction: column; }
.timeline__item { display: flex; justify-content: space-between; align-items: baseline; padding: var(--sp-md) 0; border-bottom: 1px solid var(--c-border); transition: padding-left .35s var(--ease), border-color .3s; }
.timeline__item:hover { padding-left: var(--sp-sm); border-color: var(--c-border-h); }
.timeline__role { font-weight: 600; color: var(--c-text); font-size: .9rem; }
.timeline__company { font-size: .8125rem; color: var(--c-text-dim); margin-top: 2px; }
.timeline__date { font-size: .6875rem; color: var(--c-text-mute); font-family: var(--f-mono); white-space: nowrap; }

/* ── Stats ─────────────────────────────────────────────────────────── */
.stats-row { display: flex; justify-content: center; gap: var(--sp-3xl); flex-wrap: wrap; padding: var(--sp-3xl) 0; }
.stat { text-align: center; }
.stat__number { font-family: var(--f-display); font-size: clamp(2.2rem,4.5vw,3.5rem); color: var(--c-accent); line-height: 1.05; letter-spacing: -.03em; }
.stat__label { font-size: .625rem; color: var(--c-text-mute); margin-top: var(--sp-xs); text-transform: uppercase; letter-spacing: .18em; font-family: var(--f-mono); }

/* ── Services ──────────────────────────────────────────────────────── */
.services-callout { display: flex; align-items: center; gap: var(--sp-lg); flex-wrap: wrap; margin-bottom: var(--sp-2xl); padding: var(--sp-lg) var(--sp-xl); border-radius: var(--r-lg); border: 1px solid var(--c-border); background: linear-gradient(135deg, var(--c-accent-dim), transparent); transition: border-color .4s; }
.services-callout:hover { border-color: var(--c-border-h); }
.services-callout__number { font-family: var(--f-display); font-size: 3.5rem; color: var(--c-accent); line-height: 1; letter-spacing: -.03em; }
.services-callout__text { color: var(--c-text-dim); font-size: .9rem; line-height: 1.5; }
.services-callout__pill { margin-left: auto; }

.filter-chips { display: flex; flex-wrap: wrap; gap: var(--sp-sm); margin-bottom: var(--sp-xl); }
.filter-chip { padding: .5em 1.2em; border-radius: var(--r-pill); border: 1px solid var(--c-border); font-size: .6875rem; font-weight: 500; color: var(--c-text-dim); background: transparent; letter-spacing: .04em; text-transform: uppercase; transition: all .35s var(--ease); }
.filter-chip:hover, .filter-chip.active { border-color: var(--c-accent); color: var(--c-bg); background: var(--c-accent); transform: translateY(-1px); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: var(--sp-lg); margin-bottom: var(--sp-xl); }
.service-card { padding: var(--sp-xl) var(--sp-lg); border-radius: var(--r-lg); border: 1px solid var(--c-border); background: var(--c-panel); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease); position: relative; overflow: hidden; }
.service-card::before { content: attr(data-number); position: absolute; top: var(--sp-md); right: var(--sp-lg); font-family: var(--f-display); font-size: 4rem; color: rgba(255,255,255,.02); line-height: 1; pointer-events: none; transition: color .4s; }
.service-card:hover::before { color: rgba(255,255,255,.04); }
.service-card:hover { transform: translateY(-6px); border-color: var(--c-border-h); box-shadow: 0 20px 56px rgba(0,0,0,.3); }
.service-card[data-hidden="true"] { display: none; }
.service-card__icon { width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-lg); color: var(--c-text-dim); transition: border-color .3s, color .3s, transform .4s var(--ease); }
.service-card:hover .service-card__icon { border-color: var(--c-border-h); color: var(--c-accent); transform: scale(1.08); }
.service-card__icon svg { width: 22px; height: 22px; }
.service-card__title { font-family: var(--f-display); font-size: 1.25rem; margin-bottom: 8px; color: var(--c-accent); }
.service-card__desc { font-size: .8125rem; color: var(--c-text-dim); line-height: 1.7; }

.capabilities-bar { display: flex; flex-wrap: wrap; gap: var(--sp-md) var(--sp-lg); padding-top: var(--sp-lg); border-top: 1px solid var(--c-border); font-size: .6875rem; color: var(--c-text-mute); letter-spacing: .03em; }

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq-list { width: 100%; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item__q { width: 100%; text-align: left; padding: var(--sp-lg) 0; font-size: .95rem; font-weight: 500; color: var(--c-text); display: flex; justify-content: space-between; align-items: center; gap: var(--sp-md); transition: color .3s; }
.faq-item__q:hover { color: var(--c-accent); }
.faq-item__icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform .45s var(--ease); opacity: .35; }
.faq-item.open .faq-item__icon { transform: rotate(45deg); opacity: 1; }
.faq-item__a { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease), padding .4s var(--ease); }
.faq-item.open .faq-item__a { max-height: 300px; padding-bottom: var(--sp-lg); }
.faq-item__a p { font-size: .875rem; color: var(--c-text-dim); line-height: 1.75; }

/* ── Contact ───────────────────────────────────────────────────────── */
.contact { text-align: center; }
.contact__panel { padding: var(--sp-3xl) var(--sp-xl); max-width: 740px; margin: 0 auto; }
.contact__available { display: inline-flex; align-items: center; gap: var(--sp-sm); font-size: .8125rem; color: var(--c-text-dim); margin-bottom: var(--sp-lg); }
.contact__available .pill__dot { width: 8px; height: 8px; }
.contact__headline { font-family: var(--f-display); font-size: clamp(1.8rem,3.5vw,3rem); color: var(--c-accent); margin-bottom: var(--sp-md); letter-spacing: -.02em; }
.contact__sub { color: var(--c-text-dim); margin-bottom: var(--sp-xl); line-height: 1.75; max-width: 460px; margin-left: auto; margin-right: auto; font-size: .95rem; }
.contact__email { display: inline-block; font-family: var(--f-mono); font-size: .8125rem; color: var(--c-text-mute); margin-top: var(--sp-lg); transition: color .3s; letter-spacing: .02em; }
.contact__email:hover { color: var(--c-accent); }
.socials-row { display: flex; justify-content: center; gap: var(--sp-xl); margin-top: var(--sp-xl); flex-wrap: wrap; }
.social-link { font-size: .6875rem; color: var(--c-text-mute); letter-spacing: .06em; text-transform: uppercase; transition: color .3s, transform .3s var(--ease); display: flex; align-items: center; gap: 8px; }
.social-link:hover { color: var(--c-accent); transform: translateY(-2px); }
.social-link svg { width: 15px; height: 15px; }

/* ── Footer ────────────────────────────────────────────────────────── */
.footer { position: relative; z-index: 1; padding: var(--sp-xl) 0 var(--sp-lg); border-top: 1px solid var(--c-border); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-md); }
.footer__text { font-size: .625rem; color: var(--c-text-mute); letter-spacing: .06em; text-transform: uppercase; }

/* ── Art Grid ──────────────────────────────────────────────────────── */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: var(--sp-lg); }
.art-card { border-radius: var(--r-lg); border: 1px solid var(--c-border); background: var(--c-panel); overflow: hidden; transition: transform .55s var(--ease), border-color .4s, box-shadow .55s var(--ease); cursor: pointer; }
.art-card:hover { transform: translateY(-6px) scale(1.015); border-color: var(--c-border-h); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.art-card__img { width: 100%; aspect-ratio: 1; background: linear-gradient(135deg, #0a0a0a, #141414, #0a0a0a); display: flex; align-items: center; justify-content: center; color: var(--c-text-mute); overflow: hidden; }
.art-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.art-card:hover .art-card__img img { transform: scale(1.08); }
.art-card__body { padding: var(--sp-md); }
.art-card__title { font-weight: 600; font-size: .85rem; color: var(--c-text); }
.art-card__meta { font-size: .625rem; color: var(--c-text-mute); margin-top: 3px; font-family: var(--f-mono); }
.art-card__tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.art-tag { padding: 2px 8px; border-radius: var(--r-pill); border: 1px solid var(--c-border); font-size: .5625rem; color: var(--c-text-mute); text-transform: uppercase; letter-spacing: .03em; }

/* ── Lightbox ──────────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.92); backdrop-filter: blur(16px); padding: var(--sp-lg); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__close { position: absolute; top: var(--sp-lg); right: var(--sp-lg); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; color: var(--c-text); background: rgba(10,10,10,.7); transition: border-color .3s, transform .4s var(--ease); z-index: 2; }
.lightbox__close:hover { border-color: var(--c-border-h); transform: rotate(90deg); }
.lightbox__content { max-width: 90vw; max-height: 85vh; border-radius: var(--r-lg); overflow: hidden; position: relative; transform: scale(.92) translateY(12px); transition: transform .5s var(--ease); }
.lightbox.open .lightbox__content { transform: scale(1) translateY(0); }
.lightbox__content img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--r-lg); }
.lightbox__info { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--sp-lg); background: linear-gradient(transparent, rgba(0,0,0,.85)); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.lightbox__info h3 { font-size: 1rem; color: var(--c-accent); }
.lightbox__info p { font-size: .75rem; color: var(--c-text-dim); }
.lightbox__placeholder { width: 60vw; max-width: 560px; aspect-ratio: 4/3; background: linear-gradient(135deg, #0e0e0e, #181818); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; color: var(--c-text-mute); }

/* ── 404 ───────────────────────────────────────────────────────────── */
.four04 { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.four04__code { font-family: var(--f-display); font-size: clamp(6rem,18vw,14rem); color: var(--c-accent); line-height: 1; letter-spacing: -.05em; opacity: .06; position: absolute; user-select: none; }
.four04__content { position: relative; z-index: 1; }
.four04__title { font-family: var(--f-display); font-size: clamp(1.5rem,3vw,2.5rem); color: var(--c-accent); margin-bottom: var(--sp-md); }
.four04__sub { color: var(--c-text-dim); margin-bottom: var(--sp-xl); }

/* ── Currently Section ──────────────────────────────────────────────── */
.currently__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
.currently__card {
  padding: var(--sp-xl) var(--sp-lg);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: rgba(255,255,255,.02);
  transition: border-color .4s;
}
.currently__card:hover { border-color: var(--c-border-h); }
.currently__card-label {
  font-size: .625rem; text-transform: uppercase; letter-spacing: .2em;
  color: var(--c-text-mute); font-family: var(--f-mono); font-weight: 600;
  margin-bottom: var(--sp-md);
  display: flex; align-items: center; gap: var(--sp-sm);
}
.currently__card-label svg { width: 14px; height: 14px; opacity: .5; }
.currently__time {
  font-family: var(--f-display); font-size: clamp(2rem,4vw,3.2rem);
  color: var(--c-accent); line-height: 1.1; letter-spacing: -.02em;
}
.currently__time-zone { font-size: .75rem; color: var(--c-text-mute); margin-top: var(--sp-sm); font-family: var(--f-mono); letter-spacing: .03em; }
.currently__track { display: flex; align-items: center; gap: var(--sp-md); min-height: 64px; }
.currently__track-art {
  width: 64px; height: 64px; border-radius: var(--r-sm); flex-shrink: 0;
  background: linear-gradient(135deg, #111, #1a1a1a); overflow: hidden;
  border: 1px solid var(--c-border);
}
.currently__track-art img { width: 100%; height: 100%; object-fit: cover; }
.currently__track-info { min-width: 0; }
.currently__track-name {
  font-weight: 600; font-size: .95rem; color: var(--c-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px;
}
.currently__track-artist {
  font-size: .8125rem; color: var(--c-text-dim); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px;
}
.currently__track-status {
  font-size: .625rem; color: var(--c-text-mute); margin-top: 4px;
  font-family: var(--f-mono); letter-spacing: .04em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.currently__now-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,.4);
  animation: pulse-dot 2.5s ease infinite;
}
.currently__lastfm-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .6875rem; color: var(--c-text-mute); margin-top: var(--sp-md);
  letter-spacing: .04em; transition: color .3s;
}
.currently__lastfm-link:hover { color: var(--c-accent); }
.currently__placeholder { color: var(--c-text-mute); font-size: .8125rem; }

/* ── Scroll Reveals ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal--scale { opacity: 0; transform: scale(.94) translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal--scale.visible { opacity: 1; transform: none; }
.reveal--left { opacity: 0; transform: translateX(-40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal--left.visible { opacity: 1; transform: none; }
.reveal--right { opacity: 0; transform: translateX(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal--right.visible { opacity: 1; transform: none; }

/* ── Reduced Motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal--scale, .reveal--left, .reveal--right { opacity: 1; transform: none; }
  .word__inner { transform: none; }
  .hero__sub, .hero__ctas, .hero__scroll-hint { opacity: 1; transform: none; }
  .bg-glow { animation: none; }
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .meet { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .stats-row { gap: var(--sp-xl); }
  .hero__panel { padding: var(--sp-xl) var(--sp-lg); }
  .section { padding: var(--sp-2xl) 0; }
  .section--hero { padding-top: 9rem; }
  .services-callout { padding: var(--sp-lg); }
}
@media (max-width: 600px) {
  :root { font-size: 15px; }
  .container { padding: 0 var(--sp-md); }
  .section { padding: var(--sp-xl) 0; }
  .section--hero { padding-top: 7.5rem; }
  .hero__panel { padding: var(--sp-xl) var(--sp-md); }
  .project-card { flex: 0 0 280px; }
  .currently__grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .art-grid { grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); }
  .stats-row { gap: var(--sp-lg); }
  .contact__panel { padding: var(--sp-xl) var(--sp-md); }
  .services-callout { flex-direction: column; align-items: flex-start; }
  .services-callout__pill { margin-left: 0; }
}
@media (min-width: 1600px) {
  :root { font-size: 18px; }
  .container { max-width: 1400px; }
}
