:root {
  --bg: #08080c;
  --bg2: #0e0e14;
  --text: #f0f0f2;
  --muted: #7a7a88;
  --line: rgba(255,255,255,0.07);
  --accent: #fbbf24;
  --accent-2: #ef4444;
  --accent-3: #3b82f6;
  --accent-soft: rgba(251,191,36,0.14);
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
}

body[data-alias="shadm3hr"] {
  --accent: #fbbf24;      /* yellow — primary CTA */
  --accent-2: #ef4444;    /* red — badges / hover alt */
  --accent-3: #3b82f6;    /* blue — secondary / borders */
  --accent-soft: rgba(59,130,246,0.12);
  --btn-alt: #ef4444;
  --ring: #3b82f6;
}

body[data-alias="sadmehr"] {
  --accent: #7dd3fc;
  --accent-2: #38bdf8;
  --accent-3: #0ea5e9;
  --accent-soft: rgba(125,211,252,0.12);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.55;
  cursor: auto;
}
body.has-custom-cursor {
  cursor: none;
}
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor .alias-btn,
body.has-custom-cursor .press-thumb {
  cursor: none;
}

body.touch { cursor: auto; }
body.touch .cursor, body.touch .cursor-dot { display: none !important; }

/* Custom cursor */
.cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor.hover {
  width: 56px;
  height: 56px;
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 15%, transparent);
}
.cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent),
    radial-gradient(ellipse 40% 30% at 50% 50%, color-mix(in srgb, var(--accent-3) 6%, transparent), transparent);
  transition: background 0.6s ease;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  background: rgba(8,8,12,0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo-img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.35s ease;
}
.logo-wrap:hover .logo-img { transform: scale(1.05); }

.logo-text {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 120px 48px 80px;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  display: block;
  background: linear-gradient(135deg, #fff 30%, #888);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.alias-control {
  display: inline-flex;
  border: 1px solid var(--line);
  margin-bottom: 24px;
  overflow: hidden;
}

.alias-btn {
  padding: 12px 24px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s;
}

.alias-btn.active {
  background: var(--accent);
  color: #000;
}

.alias-btn:not(.active):hover {
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.hero-subtitle {
  color: var(--muted);
  font-size: 15px;
  max-width: 360px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  padding: 13px 26px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.25s;
}
.btn-primary:hover { background: var(--accent); color: #000; }

.btn-ghost {
  padding: 13px 26px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.25s;
}
.btn-ghost:hover { border-color: var(--text); }

.portrait-frame {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--line);
}

.portrait-frame .portrait-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s ease;
  filter: none;
}
.portrait-frame .portrait-layer.is-active {
  opacity: 1;
  z-index: 1;
}
.portrait-frame:hover .portrait-layer.is-active {
  transform: scale(1.04);
  transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,12,0.55) 0%, transparent 45%);
  pointer-events: none;
}

.portrait-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--accent);
  z-index: 1;
  font-weight: 600;
}

/* SECTIONS */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 36px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

/* LATEST */
.latest-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
}

.latest-cover {
  aspect-ratio: 1;
  background: var(--bg2);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.latest-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.latest-cover:hover img { transform: scale(1.08); }

.latest-cover .ph {
  font-size: 48px;
  opacity: 0.2;
  font-family: var(--font-display);
}

.latest-meta-top {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.latest-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.latest-info-line {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.latest-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 16px 0 24px;
  max-width: 420px;
}

.spotify-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #1DB954;
  color: #000;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.25s;
}
.spotify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(29,185,84,0.35);
}

/* BEST */
.best-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.best-card {
  padding: 24px;
  background: var(--bg2);
  border: 1px solid var(--line);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 160px;
}
.best-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  transform: translateY(-3px);
}

.best-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
  line-height: 1.25;
  font-weight: 600;
}

.best-card .meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.best-card .label {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 16px;
}

.best-card a {
  margin-top: auto;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  opacity: 0.55;
  transition: 0.2s;
}
.best-card a:hover { opacity: 1; color: var(--accent); }

/* ABOUT */
.about-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}

.about-portrait-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-portrait-wrap .portrait-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s ease;
  filter: none;
}
.about-portrait-wrap .portrait-layer.is-active {
  opacity: 1;
  z-index: 1;
}

.bio-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}

.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.social-pill {
  padding: 10px 16px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.social-pill:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* SPOTIFY */
.spotify-box {
  border: 1px solid var(--line);
  background: var(--bg2);
  min-height: 380px;
  overflow: hidden;
}
.spotify-box iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}
.spotify-loading {
  padding: 100px 20px;
  text-align: center;
  color: var(--muted);
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 36px 40px;
  margin-top: 40px;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand .logo-img {
  height: 44px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }

/* CONTACT block inside footer area */
.contact-block {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 48px;
  text-align: center;
}

.contact-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 10px;
}

.contact-block .sub {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 14px;
}

.contact-form {
  max-width: 440px;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 13px 14px;
  background: var(--bg2);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form button {
  padding: 14px;
  background: var(--text);
  color: var(--bg);
  border: none;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.contact-form button:hover { background: var(--accent); color: #000; }

.recaptcha-wrap {
  display: flex;
  justify-content: center;
  margin: 8px 0;
  min-height: 78px;
}

.email-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text);
  text-decoration: none;
  padding: 14px 24px;
  border: 1px solid var(--text);
  margin-top: 12px;
  transition: 0.25s;
}
.email-link:hover { background: var(--text); color: var(--bg); }

/* MODAL */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.modal-bg.on { display: flex; }

.modal {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 36px;
  max-width: 380px;
  width: 100%;
}
.modal h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.modal p { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.modal input {
  width: 100%;
  padding: 12px;
  background: var(--bg2);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  margin-bottom: 12px;
}
.modal input:focus { outline: none; border-color: var(--accent); }

.modal-actions { display: flex; gap: 8px; }
.modal-actions button {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}
.modal-actions .go {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  font-weight: 600;
}
.err { color: #ef4444; font-size: 12px; margin-bottom: 8px; }

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 13px;
  transform: translateX(140%);
  transition: 0.3s;
  z-index: 300;
}
.toast.show { transform: translateX(0); }

/* ADMIN */
.admin-wrap {
  max-width: 800px;
  margin: 80px auto;
  padding: 24px;
}
.admin-wrap h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  margin: 28px 0 20px;
  flex-wrap: wrap;
}
.admin-tabs button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}
.admin-tabs button.on {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  font-weight: 600;
}

.admin-panel { display: none; }
.admin-panel.on { display: block; }

.box {
  background: var(--bg2);
  border: 1px solid var(--line);
  padding: 20px;
  margin-bottom: 14px;
}
.box h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.fg { margin-bottom: 12px; }
.fg label {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}
.fg input, .fg textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.fg textarea { min-height: 70px; resize: vertical; }
.fg input:focus, .fg textarea:focus { outline: none; border-color: var(--accent); }

.up-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.up-prev {
  width: 52px; height: 52px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--bg);
}
.up-btn {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 11px;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: inherit;
}
.up-btn:hover { background: var(--accent); color: #000; border-color: var(--accent); }

.card {
  border: 1px solid var(--line);
  padding: 14px;
  margin-bottom: 10px;
  background: var(--bg);
}
.card-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}
.xbtn {
  width: 24px; height: 24px;
  border: none;
  background: rgba(239,68,68,0.2);
  color: #ef4444;
  border-radius: 50%;
  cursor: pointer;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.actions button {
  padding: 12px 18px;
  border: none;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 600;
}
.btn-save { background: var(--accent); color: #000; }
.btn-exp { background: #3b82f6; color: #fff; }
.btn-imp { background: #1DB954; color: #000; }
.btn-rst { background: #ef4444; color: #fff; }
.btn-add {
  background: transparent !important;
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
}

/* EPK */
.epk-hero {
  padding: 140px 36px 60px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.epk-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 12px;
}
.epk-hero p { color: var(--muted); }

.epk-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 36px 80px;
  display: grid;
  gap: 24px;
}
.epk-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  padding: 28px;
}
.epk-card h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--accent);
}
.epk-card p { color: var(--muted); line-height: 1.7; font-size: 15px; }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    text-align: center;
  }
  .hero-subtitle { margin-inline: auto; }
  .hero-cta-row { justify-content: center; }
  .hero-right { order: -1; }
  .portrait-frame { width: min(280px, 80vw); margin: 0 auto; }
  .latest-card { grid-template-columns: 1fr; gap: 24px; }
  .latest-cover { max-width: 240px; margin: 0 auto; }
  .about-layout { grid-template-columns: 1fr; }
  .about-portrait { max-width: 180px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 700px) {
  nav { padding: 14px 18px; }
  .hamburger { display: flex; }
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none !important; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 72%;
    max-width: 260px;
    height: 100vh;
    background: rgba(8,8,12,0.98);
    flex-direction: column;
    padding: 80px 24px;
    gap: 20px;
    transition: right 0.3s;
    border-left: 1px solid var(--line);
  }
  .nav-links.open { right: 0; }
  .section { padding: 60px 20px; }
  .best-grid { grid-template-columns: 1fr; }
}

/* Press gallery (EPK) */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.press-thumb {
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg2);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.25s;
}
.press-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.press-thumb:hover {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  transform: translateY(-2px);
}
.press-thumb:hover img { transform: scale(1.08); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 64px;
  flex-direction: column;
  gap: 12px;
}
.lightbox[hidden] { display: none !important; }

.lightbox img {
  max-width: min(90vw, 900px);
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid var(--line);
}

.lightbox-cap {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  max-width: 500px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s;
}
.lightbox-close:hover { background: var(--text); color: var(--bg); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.4);
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  transition: 0.2s;
}
.lightbox-nav:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }

@media (max-width: 600px) {
  .lightbox { padding: 60px 12px 24px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 22px; }
  .press-grid { grid-template-columns: repeat(2, 1fr); }
}


/* Shadm3hr multi-color accents */
body[data-alias="shadm3hr"] .alias-btn.active {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #000;
}
body[data-alias="shadm3hr"] .btn-primary:hover {
  background: #ef4444;
  color: #fff;
}
body[data-alias="shadm3hr"] .spotify-btn {
  background: #1DB954;
}
body[data-alias="shadm3hr"] .latest-meta-top {
  color: #3b82f6;
}
body[data-alias="shadm3hr"] .best-card:hover {
  border-color: rgba(239, 68, 68, 0.5);
}
body[data-alias="shadm3hr"] .bio-text {
  border-left-color: #ef4444;
}
body[data-alias="shadm3hr"] .section-label {
  color: #3b82f6;
}
body[data-alias="shadm3hr"] .social-pill:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}
body[data-alias="shadm3hr"] .bg-mesh {
  background:
    radial-gradient(ellipse 70% 45% at 15% 0%, rgba(251,191,36,0.16), transparent 50%),
    radial-gradient(ellipse 55% 40% at 95% 30%, rgba(239,68,68,0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(59,130,246,0.14), transparent 55%);
}

/* Smooth scroll offset for fixed nav */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* Pages without custom cursor (EPK, CV, etc.) */
body.no-cursor,
body.no-cursor * {
  cursor: auto !important;
}
body.no-cursor .cursor,
body.no-cursor .cursor-dot {
  display: none !important;
  visibility: hidden !important;
}

/* ===== Phase B: CV ===== */
.cv-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 36px 80px;
}
.cv-block {
  margin-bottom: 48px;
}
.cv-block h2 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.cv-item {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.cv-item:last-child { border-bottom: none; }
.cv-item-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  flex-wrap: wrap;
}
.cv-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.cv-item-top span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.cv-org {
  color: var(--accent);
  font-size: 13px;
  margin: 6px 0 8px;
}
.cv-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.cv-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cv-skill {
  padding: 8px 14px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--text);
  background: var(--bg2);
}
.cv-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 12px;
}

/* ===== Phase C: identity transition + stronger reveal ===== */
#mainContent {
  transition: opacity 0.35s ease, filter 0.35s ease;
}
#mainContent.is-switching {
  opacity: 0.35;
  filter: blur(2px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

.alias-btn {
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.alias-btn:active { transform: scale(0.97); }

body {
  transition: none;
}
.bg-mesh {
  transition: background 0.7s ease;
}

@media (max-width: 700px) {
  .cv-wrap { padding: 10px 20px 60px; }
}
