/* NIKKŌ — editorial artist site */

:root {
  --bg: #ece8e2;
  --panel-bg: #f6f3ee;
  --line: rgba(20, 20, 20, 0.1);
  --ink: #ffffff;
  --ink-dark: #1c1c1c;
  --ink-soft: rgba(28, 28, 28, 0.62);
  --font-display: "Syne", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --left-w: clamp(300px, 34vw, 420px);
  --pad: clamp(24px, 4vw, 56px);

  /* AnoAno-inspired palette (flat midtones from anoano.fr) */
  --ano-rose: #c4a0a2;
  --ano-lavender: #bfafdf;
  --ano-sky: #b5d0eb;
  --ano-teal: #8fada8;
  --ano-mauve: #a99eb8;
  --ano-slate: #707a98;
}

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

html {
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink-dark);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Desktop home: lock viewport to the full-screen grid */
@media (min-width: 901px) {
  body:not(.view-open) {
    overflow: hidden;
    height: 100%;
  }
}

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

img, video { display: block; max-width: 100%; }

button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

/* ── Views ── */
.view { display: none; min-height: 100vh; min-height: 100dvh; }
.view.view--active { display: block; }

/* ── Homepage grid ── */
.home {
  display: grid;
  grid-template-columns: var(--left-w) 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-areas:
    "identity about  about"
    "identity gigs   disker"
    "identity contact contact";
  height: 100vh;
  height: 100dvh;
  gap: 3px;
  background: #fff;
}

.identity {
  grid-area: identity;
  display: flex;
  flex-direction: column;
  background: #e8e4de;
  min-height: 0;
}

.identity-photo {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #ddd8d0;
}

.identity-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.identity-meta {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(20px, 2.5vw, 32px) clamp(16px, 2vw, 24px) clamp(24px, 3vw, 36px);
}

.logo-nikko {
  display: block;
  color: var(--ink-dark);
  margin: 0 auto clamp(12px, 1.5vw, 16px);
  width: clamp(88px, 11vw, 120px);
  padding: 0;
  border: none;
  background: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-nikko--home {
  cursor: pointer;
  position: relative;
  transition: transform 250ms ease;
}

.logo-nikko-mark {
  width: 100%;
  height: auto;
  display: block;
}

.logo-nikko-mark .logo-nikko-ring {
  transition: stroke-opacity 250ms ease, opacity 250ms ease;
}

.logo-nikko-type {
  fill: #f5f2eb;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.logo-nikko img {
  width: 100%;
  height: auto;
  display: block;
}

.logo-nikko-hover-label {
  display: block;
  margin-top: 7px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 250ms ease, transform 250ms ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .logo-nikko--home:not(.is-playing):hover,
  .logo-nikko--home:not(.is-playing):focus-visible {
    transform: scale(1.04) rotate(1deg);
  }

  .logo-nikko--home:not(.is-playing):hover .logo-nikko-mark .logo-nikko-ring,
  .logo-nikko--home:not(.is-playing):focus-visible .logo-nikko-mark .logo-nikko-ring {
    opacity: 0.22;
    stroke-opacity: 1;
  }

  .logo-nikko--home:not(.is-playing):hover .logo-nikko-hover-label,
  .logo-nikko--home:not(.is-playing):focus-visible .logo-nikko-hover-label {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-nikko--home:focus-visible {
  outline: 2px solid var(--ink-dark);
  outline-offset: 5px;
}

.logo-nikko--home.is-playing {
  animation: logo-spin 8s linear infinite;
}

@keyframes logo-spin {
  to { transform: rotate(360deg); }
}

.logo-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.nikko-player {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, margin 0.4s ease;
  margin-top: 0;
  width: min(100%, 320px);
}

.nikko-player.is-open {
  max-height: 240px;
  opacity: 1;
  margin-top: 14px;
}

.nikko-player-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.nikko-player-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 26ch;
}

.nikko-player-close {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-soft);
  padding: 2px 4px;
  transition: color 0.3s;
}

.nikko-player-close:hover,
.nikko-player-close:focus-visible {
  color: var(--ink-dark);
}

#nikko-sc-widget {
  display: block;
  width: 100%;
  height: 166px;
  border: none;
  background: transparent;
}

.logo-nikko--panel {
  margin: 16px 0 28px;
  width: min(120px, 28vw);
}

.identity-collective {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-soft);
  margin: 0 0 clamp(14px, 1.8vw, 20px);
  width: 100%;
}

.identity-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1vw, 11px);
  width: 100%;
}

.identity-socials a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(28, 28, 28, 0.72);
  transition: opacity 0.3s;
  display: inline-block;
  text-align: center;
}

.identity-socials a:hover { opacity: 0.55; }

/* ── Cards ── */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 40px);
  min-height: 0;
  overflow: hidden;
  text-align: left;
  isolation: isolate;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
  transition:
    opacity 1.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 2.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.card::before {
  opacity: 1;
  transform: scale(1);
}

.card::after {
  opacity: 0;
  transform: scale(1.04);
}

.card--link:hover::before {
  opacity: 0;
  transform: scale(1.06);
}

.card--link:hover::after {
  opacity: 1;
  transform: scale(1);
}

.card--link .card-title {
  position: relative;
  z-index: 1;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.card--link:hover .card-title { transform: translateY(-3px); }

/* À propos — aqua/teal into cobalt (About us) */
.card-about {
  grid-area: about;
  background: #3a4898;
}

.card-about::before {
  background:
    radial-gradient(ellipse 85% 75% at 22% 18%, rgba(109, 185, 179, 0.72) 0%, transparent 58%),
    linear-gradient(168deg, #6db5b0 0%, #5570b8 52%, #2a2a9a 100%);
}

.card-about::after {
  background:
    radial-gradient(ellipse 80% 70% at 72% 28%, rgba(125, 125, 199, 0.62) 0%, transparent 55%),
    linear-gradient(168deg, #7d9dc7 0%, #4f6ebb 52%, #2870b8 100%);
}

/* Gigs — dusty coral glow on muted teal (Releases) */
.card-gigs {
  grid-area: gigs;
  background: #6a9898;
}

.card-gigs::before {
  background:
    radial-gradient(circle at 48% 42%, #b96365 0%, rgba(185, 99, 101, 0.45) 38%, transparent 68%),
    radial-gradient(ellipse 130% 110% at 50% 88%, #6db6b3 0%, #5a9090 100%);
}

.card-gigs::after {
  background:
    radial-gradient(circle at 54% 48%, #b96385 0%, rgba(185, 99, 133, 0.42) 40%, transparent 70%),
    radial-gradient(ellipse 125% 105% at 46% 82%, #6d98b6 0%, #587a96 100%);
}

/* Disker — electric indigo into lavender (Artists) */
.card-disker {
  grid-area: disker;
  background: #5a5898;
}

.card-disker::before {
  background:
    radial-gradient(circle at 38% 36%, #2828b8 0%, rgba(40, 40, 184, 0.55) 42%, transparent 72%),
    radial-gradient(ellipse 120% 100% at 78% 78%, #b4a7b8 0%, #8a8498 100%);
}

.card-disker::after {
  background:
    radial-gradient(circle at 44% 40%, #104eb1 0%, rgba(16, 78, 177, 0.5) 44%, transparent 74%),
    radial-gradient(ellipse 115% 95% at 72% 72%, #8cb3c2 0%, #6a8ea0 100%);
}

/* Contact — deep cobalt / indigo (Services) */
.card-contact {
  grid-area: contact;
  background: #2e3080;
}

.card-contact::before {
  background:
    radial-gradient(ellipse 90% 80% at 28% 32%, rgba(72, 72, 192, 0.55) 0%, transparent 58%),
    linear-gradient(155deg, #2828b8 0%, #3d3d81 62%, #2a2868 100%);
}

.card-contact::after {
  background:
    radial-gradient(ellipse 85% 75% at 68% 38%, rgba(90, 90, 170, 0.5) 0%, transparent 56%),
    linear-gradient(155deg, #3a3aa8 0%, #45458a 58%, #323070 100%);
}

.card-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: var(--ink);
}

/* ── Panels ── */
.panel {
  background: var(--panel-bg);
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--pad);
  padding-top: clamp(72px, 8vw, 96px);
}

.panel-back {
  position: fixed;
  top: clamp(20px, 3vw, 28px);
  left: var(--pad);
  z-index: 50;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 10px 0;
  transition: color 0.3s;
}

.panel-back:hover { color: var(--ink-dark); }

.panel-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.panel-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 0.95;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.panel-header { max-width: 720px; margin-bottom: clamp(24px, 3vw, 40px); }

.panel-socials,
.panel-socials-link,
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.panel-socials a,
.panel-socials-link,
.contact-socials a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s;
}

.panel-socials a:hover,
.contact-socials a:hover { color: var(--ink-dark); }

/* ── About ── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  max-width: 1100px;
}

.about-photo { overflow: hidden; background: #e0dbd4; }

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center 45%;
}

.about-bio {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* ── Gigs grid ── */
.gigs-panel-inner,
.gig-detail-inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.gigs-panel-inner .panel-header,
.gig-detail-inner .panel-header {
  max-width: none;
  text-align: center;
}

/* ── Gig detail page ── */
.panel--gig {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.gig-detail-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: clamp(48px, 8vh, 96px);
}

.gig-detail-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: clamp(28px, 4vh, 48px);
  padding-top: clamp(8px, 2vh, 24px);
}

.gig-detail-inner .panel-header {
  margin-bottom: 0;
  width: 100%;
}

.gig-detail-intro {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 52ch;
  text-align: center;
  margin: 0;
}

.gig-detail-intro::before {
  content: "\00ab\00a0";
}

.gig-detail-intro::after {
  content: "\00a0\00bb";
}

.gigs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

/* ── Flip cards ── */
.gig-flip-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 200px;
  perspective: 900px;
  text-align: left;
  padding: 0;
  border: none;
  background: transparent;
}

.gig-flip-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.gig-flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 2.8vw, 30px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid rgba(20, 20, 20, 0.08);
}

.gig-flip-front {
  z-index: 2;
}

.gig-flip-back {
  transform: rotateY(180deg);
  padding: 0;
  overflow: hidden;
}

.gig-flip-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gig-flip-card[data-gig="las-cabanas-2025"] .gig-flip-photo {
  object-position: center 45%;
}

.gig-flip-card[data-gig="wild-savage-2025"] .gig-flip-photo {
  object-position: center 38%;
}

.gig-flip-card[data-gig="rosa-bonheur-2023-06"] .gig-flip-photo {
  object-position: center 42%;
}

.gig-flip-card[data-gig="gambetta-2023"] .gig-flip-photo {
  object-position: 62% center;
}

.gig-flip-back::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 20, 0.55) 0%, rgba(20, 20, 20, 0.08) 55%, transparent 100%);
}

.gig-flip-cta {
  position: relative;
  z-index: 1;
  margin: clamp(22px, 2.8vw, 30px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

/* Checkerboard tones — AnoAno rhythm */
.gig-flip-card.tone-lavender .gig-flip-front {
  background: var(--ano-lavender);
  color: var(--ink-dark);
}

.gig-flip-card.tone-peach .gig-flip-front {
  background: var(--ano-rose);
  color: var(--ink-dark);
}

.gig-flip-card.tone-sage .gig-flip-front {
  background: var(--ano-teal);
  color: var(--ink-dark);
}

.gig-flip-card.tone-slate .gig-flip-front {
  background: var(--ano-slate);
  color: var(--ink);
}

.gig-flip-card.tone-slate .gig-card-kind,
.gig-flip-card.tone-slate .gig-card-extra,
.gig-flip-card.tone-slate .gig-card-date,
.gig-flip-card.tone-slate .gig-card-city {
  color: rgba(255, 255, 255, 0.72);
}

@media (hover: hover) and (pointer: fine) {
  .gig-flip-card:hover .gig-flip-inner,
  .gig-flip-card:focus-visible .gig-flip-inner {
    transform: rotateY(180deg);
  }
}

.gig-flip-card:focus-visible {
  outline: 2px solid rgba(28, 28, 28, 0.35);
  outline-offset: 3px;
}

.gig-card-kind {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(28, 28, 28, 0.62);
  margin-bottom: 4px;
}

.gig-card-extra {
  font-size: 12px;
  font-weight: 400;
  color: rgba(28, 28, 28, 0.62);
  margin-bottom: 12px;
  font-style: italic;
}

.gig-card-date {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(28, 28, 28, 0.62);
  margin-bottom: 8px;
}

.gig-card-venue {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 4px;
}

.gig-card-city {
  font-size: 13px;
  font-weight: 300;
  color: rgba(28, 28, 28, 0.62);
}

/* ── Gig detail ── */
#gig-header .gig-detail-kind {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

#gig-header .gig-detail-extra {
  font-size: 14px;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

#gig-header .gig-detail-date {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

#gig-header .gig-detail-venue {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 6px;
}

#gig-header .gig-detail-city {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ── Gig detail gallery ── */
.gig-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2vw, 20px);
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.gig-gallery--single {
  max-width: min(520px, 100%);
}

.gig-gallery--photos {
  max-width: min(480px, 100%);
}

.gig-gallery-item {
  width: 100%;
}

.gig-gallery-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #e8e4de;
  border: 1px solid var(--line);
}

.gig-video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #e8e4de;
  border: 1px solid var(--line);
  overflow: hidden;
}

.gig-video-card.is-playing .gig-video-poster,
.gig-video-card.is-playing .gig-video-play,
.gig-video-card.is-playing .video-error-msg {
  display: none;
}

.gig-video-poster.is-missing {
  display: none;
}

.gig-video-poster--fallback,
.disker-video-poster--fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: #e8e4de;
}

.video-error-msg {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: var(--ink-soft);
  background: #e8e4de;
}

.video-error-msg:not([hidden]) {
  display: flex;
}

[hidden] {
  display: none !important;
}

.gig-flip-photo.is-missing {
  visibility: hidden;
}

.gig-flip-back:has(.gig-flip-photo.is-missing) {
  background: #e8e4de;
}

.gig-video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gig-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 20, 0.08);
  transition: background 0.3s;
}

.gig-video-play:hover,
.gig-video-play:focus-visible {
  background: rgba(20, 20, 20, 0.18);
}

.gig-video-play-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gig-video-play-icon::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent rgba(28, 28, 28, 0.75);
}

.gig-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.gig-video-card.is-playing video {
  display: block;
}

/* ── Shared media figures (Disker, etc.) ── */
.media-figure {
  overflow: hidden;
  background: #e8e4de;
  border: 1px solid var(--line);
}

.media-figure img,
.media-figure video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-figure img { aspect-ratio: 4 / 5; }

/* ── Disker ── */
.panel--disker {
  max-width: 1320px;
  margin: 0 auto;
}

.disker-layout {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.disker-intro {
  position: sticky;
  top: clamp(72px, 8vw, 96px);
}

.disker-logo-wrap {
  width: min(168px, 44vw);
  height: min(168px, 44vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  overflow: hidden;
  background: var(--bg);
  margin-bottom: clamp(28px, 4vw, 40px);
  flex-shrink: 0;
  position: relative;
  isolation: isolate;
}

.disker-logo-anim {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 138%;
  height: 138%;
  transform: translate(-50%, -50%);
  display: block;
  object-fit: cover;
  object-position: center 46%;
  filter: invert(1);
  mix-blend-mode: multiply;
}

.disker-text {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-soft);
}

.disker-ig-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.disker-ig-cta:hover,
.disker-ig-cta:focus-visible {
  opacity: 0.62;
}

.disker-ig-cta-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.disker-ig-cta-handle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-dark);
}

.disker-ig-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.disker-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(108px, 10.5vw);
  gap: 3px;
  width: 100%;
  min-width: 0;
}

.disker-mosaic-item {
  position: relative;
  overflow: hidden;
  background: #e8e4de;
  margin: 0;
  min-height: 0;
}

.disker-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.disker-mosaic-item.tile-2x2 {
  grid-column: span 2;
  grid-row: span 2;
}

.disker-mosaic-item.tile-wide {
  grid-column: span 2;
}

.disker-mosaic-item.tile-tall {
  grid-row: span 2;
}

.disker-video-card {
  width: 100%;
  height: 100%;
  min-height: 140px;
}

.disker-video-card.is-playing .disker-video-poster,
.disker-video-card.is-playing .disker-video-play,
.disker-video-card.is-playing .video-error-msg {
  display: none;
}

.disker-video-poster.is-missing {
  display: none;
}

.disker-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.disker-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 20, 0.08);
  transition: background 0.3s;
}

.disker-video-play:hover,
.disker-video-play:focus-visible {
  background: rgba(20, 20, 20, 0.18);
}

.disker-video-play-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
}

.disker-video-play-icon::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent rgba(28, 28, 28, 0.75);
}

.disker-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.disker-video-card.is-playing video {
  display: block;
}

@media (max-width: 960px) {
  .disker-layout {
    grid-template-columns: 1fr;
    gap: clamp(36px, 5vw, 48px);
  }

  .disker-intro {
    position: static;
    max-width: 52ch;
  }

  .disker-mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(120px, 22vw);
  }

  .disker-mosaic-item.tile-2x2 {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 600px) {
  .disker-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(110px, 30vw);
  }

  .disker-mosaic-item.tile-wide,
  .disker-mosaic-item.tile-2x2 {
    grid-column: span 2;
  }
}

/* Disker mobile scroll — release touch from logo video and play overlays */
@media (max-width: 900px) {
  #view-disker.view--active,
  .panel--disker {
    height: auto;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .panel--disker .disker-layout,
  .panel--disker .disker-mosaic {
    height: auto;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .disker-logo-wrap,
  .disker-logo-anim {
    pointer-events: none;
  }

  .panel--disker .disker-video-card {
    height: auto;
  }

  .panel--disker .disker-video-card video {
    pointer-events: none;
  }

  .panel--disker .disker-video-card.is-playing video {
    pointer-events: auto;
  }

  .panel--disker .disker-mosaic-item {
    touch-action: pan-y;
  }

  .panel--disker .disker-video-play {
    touch-action: pan-y;
    pointer-events: none;
    background: transparent;
  }

  .panel--disker .disker-video-play::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.08);
    pointer-events: none;
  }

  .panel--disker .disker-video-play-icon {
    pointer-events: auto;
    touch-action: manipulation;
    position: relative;
    z-index: 1;
  }
}

/* ── Contact ── */
.panel--contact {
  max-width: none;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: stretch;
  flex: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  min-height: calc(100dvh - clamp(120px, 14vw, 160px));
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8px, 2vw, 24px) 0;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 600;
  line-height: 0.95;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.contact-lead {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 38ch;
}

.contact-details {
  margin-top: clamp(40px, 5vw, 64px);
}

.contact-detail {
  padding: clamp(22px, 2.8vw, 32px) 0;
  border-bottom: 1px solid var(--line);
}

.contact-detail-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.contact-detail a,
.contact-detail-value {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink-dark);
  transition: opacity 0.3s;
}

.contact-detail a:hover {
  opacity: 0.55;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(36px, 4.5vw, 56px);
}

.contact-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: var(--ink-dark);
}

.contact-portrait-swap {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #e0dbd4;
  aspect-ratio: 3 / 4;
  width: min(100%, clamp(280px, 52vw, 560px));
  min-height: clamp(320px, 54vh, 620px);
  max-height: calc(75dvh - clamp(120px, 14vw, 160px));
  justify-self: center;
  align-self: center;
  cursor: default;
}

.contact-portrait-frame {
  position: absolute;
  inset: 0;
  transition: transform 280ms ease, filter 280ms ease;
}

.contact-portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transition: opacity 0.7s ease;
}

.contact-portrait-img--hover {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .contact-portrait-swap {
    cursor: pointer;
  }

  .contact-portrait-swap:hover .contact-portrait-frame,
  .contact-portrait-swap:focus-visible .contact-portrait-frame {
    transform: scale(1.03);
    filter: brightness(1.03);
  }

  .contact-portrait-swap:hover .contact-portrait-img--base,
  .contact-portrait-swap:focus-visible .contact-portrait-img--base {
    opacity: 0;
  }

  .contact-portrait-swap:hover .contact-portrait-img--hover,
  .contact-portrait-swap:focus-visible .contact-portrait-img--hover {
    opacity: 1;
  }
}

.contact-portrait-swap:focus-visible {
  outline: 2px solid var(--ink-dark);
  outline-offset: 4px;
}

.contact-portrait-swap.is-active .contact-portrait-img--base {
  opacity: 0;
}

.contact-portrait-swap.is-active .contact-portrait-img--hover {
  opacity: 1;
}

@media (max-width: 900px) {
  .contact-page {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-copy {
    justify-content: flex-start;
  }

  .contact-portrait-swap {
    width: min(100%, clamp(260px, 72vw, 480px));
    min-height: clamp(280px, 44vw, 400px);
    max-height: none;
    align-self: center;
    justify-self: center;
    cursor: pointer;
  }
}

@media (max-width: 520px) {
  .contact-portrait-swap {
    width: min(100%, clamp(240px, 64vw, 360px));
    min-height: clamp(260px, 64vw, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-portrait-img {
    transition: none;
  }

  .contact-portrait-frame {
    transition: none;
  }
}

/* ── Mobile ── */
@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100%;
    min-height: 100dvh;
    -webkit-overflow-scrolling: touch;
  }

  body:not(.view-open),
  body.view-open {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
  }

  .home {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 40vh 36vh 36vh 36vh 36vh;
    grid-template-areas:
      "identity identity"
      "about    about"
      "gigs     disker"
      "contact  contact";
    height: auto;
    min-height: 100dvh;
  }

  .identity-photo { min-height: 42vh; }

  .card { min-height: 36vh; }

  .about-layout { grid-template-columns: 1fr; }
  .about-photo img { min-height: 360px; }

  .gigs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .home {
    grid-template-columns: 1fr;
    grid-template-areas:
      "identity"
      "about"
      "gigs"
      "disker"
      "contact";
  }

  .gigs-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .card--link { transition: none; }
  .card--link:hover .card-title { transform: none; }
  .card::before,
  .card::after { transition: none; }
  .card--link:hover::before { opacity: 1; transform: none; }
  .card--link:hover::after { opacity: 0; transform: none; }
  .gig-flip-inner { transition: none; }
  .gig-flip-card:hover .gig-flip-inner,
  .gig-flip-card:focus-visible .gig-flip-inner { transform: none; }
  .logo-nikko--home.is-playing { animation: none; }
  .nikko-player { transition: none; }
}
