/* V1.1 — réglages artistiques, sans incidence sur l'atelier. */
.portfolio-page {
  --scene-desktop: url('/assets/backgrounds/city-desktop.webp');
  --scene-mobile: url('/assets/backgrounds/city-mobile.webp');
  --scene-dim: .24; /* 0 = clair, 1 = voile sombre maximal */
  --panel-opacity: .75;
  --halo-strength: .55;
  --tube-width: 7px;
  --tube-radius: 17px;
  --tube-cyan: #58f5e0;
  --tube-blue: #51d7ff;
  --tube-violet: #a697ff;
  --tube-pink: #ff70bd;
  --feed-max: 860px;
  --side-width: 200px;
  --column-gap: 30px;
  --gutter: 32px;
  background: #090b15;
}
.portfolio-page::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(rgb(6 8 18 / var(--scene-dim)),rgb(6 8 18 / var(--scene-dim))),var(--scene-desktop) center / cover no-repeat;
  image-rendering: pixelated;
}
.portfolio-page .site { position: relative; z-index: 1; max-width: 1500px; padding: 3dvh var(--gutter) 0; }
.portfolio-page .workspace { grid-template-columns: minmax(0,var(--side-width)) minmax(0,var(--feed-max)) minmax(0,var(--side-width)); justify-content: center; gap: var(--column-gap); overflow: visible; }
.portfolio-page .filters-side,.portfolio-page .profile-side { padding: 8px 0; }
.portfolio-page .section-kicker { color: var(--cyan); font-size: 13px; letter-spacing: .13em; font-weight: 600; text-shadow: 0 0 10px #58f5e066; }
.portfolio-page .profile-side .section-kicker { color: var(--pink); text-shadow: 0 0 10px #ff70bd66; }
.portfolio-page .panel { background: linear-gradient(145deg,#161b29ed,#0d101be8); border-color: #687b975c; }
.portfolio-page .profile-card { border-color: #a697ff77; }
.portfolio-page .side-decoration { text-shadow: 0 1px 3px #000; color: #b6bed0; }
/* One luminous tube: the gradient is masked to the rim. Thin specular highlights
   create a curved-glass effect; the middle remains transparent. */
.portfolio-page .feed-frame { position: relative; min-width: 0; min-height: 0; border-radius: var(--tube-radius); padding: var(--tube-width); isolation: isolate; background: rgb(9 12 23 / var(--panel-opacity)); box-shadow: 0 0 20px rgb(81 215 255 / calc(var(--halo-strength) * .55)), 0 0 42px rgb(255 112 189 / calc(var(--halo-strength) * .37)), 0 14px 40px #0009; }
.portfolio-page .feed-frame::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: var(--tube-width); background: linear-gradient(135deg,var(--tube-cyan),var(--tube-blue) 31%,var(--tube-violet) 66%,var(--tube-pink)); mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask-composite: exclude; z-index: 2; pointer-events: none; }
.portfolio-page .feed-frame::after { content: ''; position:absolute; inset: 1px; border-radius: calc(var(--tube-radius) - 1px); box-shadow: inset 0 1px 1px #efffffdd,inset 1px 0 1px #efffff99,inset 0 -2px 2px #15132bba,inset -1px 0 2px #15132b88; border: 1px solid #ffffff50; pointer-events: none; z-index: 3; }
.portfolio-page .feed { height: 100%; background: transparent; border: 0; box-shadow: inset 0 0 16px #91e5ff12; border-radius: calc(var(--tube-radius) - var(--tube-width)); padding: clamp(18px,2.1vw,30px); }
.portfolio-page .feed-heading { margin-bottom: 20px; }
.portfolio-page .feed-title { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.portfolio-page .feed-heading h1 { font-family: var(--mono); font-size: clamp(21px,2.3vw,34px); font-weight: 700; letter-spacing: .065em; color: var(--cyan); text-shadow: 0 0 15px #58f5e044; }
.portfolio-page .feed-meta { border-bottom: 1px solid #8da3c139; padding-bottom: 15px; }
.portfolio-page .project-card { background: linear-gradient(145deg,#171b29ed,#121620e8); }
.portfolio-page .footer { max-width: 100%; text-shadow: 0 1px 5px #000; height: 4dvh; min-height: 22px; }
.portfolio-page .compact-profile,.portfolio-page .compact-index {display:none;}
.portfolio-page .detail-wrap { padding-top: 12px; }
.portfolio-page .detail-controls { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:18px; }
.portfolio-page .detail-controls .back-link { margin:0; }
.portfolio-page .detail-controls .language { flex:0 0 auto; }
.portfolio-page .detail { background: rgb(13 17 29 / .94); }
.portfolio-page .project-bottom p { font-size: 15px; }

/* V2 — réglages SKILLS (public) */
.portfolio-page {
  --skill-card-width: 260px;
  --skill-card-min-height: 210px;
  --skill-card-gap: 28px;
  --skill-tube-width: 4px;
  --skill-tube-radius: 12px;
  --skill-halo-strength: .45;
  --skill-panel-opacity: .85;
  --skill-carousel-speed: 22; /* pixels per second */
  --skill-carousel-fade: 12%;
  --project-skill-tube-width: 2px;
  --project-skill-gap: 8px;
  --project-skill-opacity: .90;
}
