:root {
  --page-bg: #000000;
  --ink: #202225;
  --ink-soft: #5a5f66;
  --font-display: 'Baloo 2', 'Segoe UI Rounded', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--page-bg);
  background-image: radial-gradient(circle at 20% 15%, #f7f8fa 0%, transparent 45%),
                     radial-gradient(circle at 85% 90%, #e4e7eb 0%, transparent 50%);
  color: var(--ink);
  font-family: var(--font-body);
  padding: 3rem 1.25rem;
}

main {
  width: 100%;
  max-width: 960px;
}

.box {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 20, 30, 0.18);
  display: flex;
  flex-direction: column;
}

.stripe {
  position: relative;
  display: block;
  height: 210px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  outline: none;
}

.stripe-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6%;
  filter: grayscale(1) brightness(0.92) contrast(0.95);
  transition: filter 0.5s ease, transform 0.6s ease;
}

.stripe:hover .stripe-visual,
.stripe:focus-visible .stripe-visual {
  filter: grayscale(0) brightness(1) contrast(1);
}

/* "Ensemble cast poster": all six chibi illustrations composited with pure
   CSS. experience.png is the one image that isn't a transparent cutout (it's
   a full illustrated desk scene), so it becomes a blurred, dimmed backdrop —
   exactly the role a hazy background scene plays on a real film poster —
   while the five transparent character cutouts are layered in front at
   staggered sizes/positions/rotations, welcome.png biggest and frontmost
   as the "hero" pose. */
.stripe-visual--poster {
  display: block;
  padding: 0;
}

/* Confines the whole composited poster to the right half of the stripe
   (matching the book/laptop photo treatment) and fades its left edge into
   the stripe's gradient, instead of covering the full width. */
.poster-zone {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 26%);
  mask-image: linear-gradient(to right, transparent 0%, black 26%);
}

.poster-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: blur(4px) brightness(0.5) saturate(1.15);
  transform: scale(1.08);
}

.poster-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #ffb15c 0%, #ff7a4d 55%, #d6431f 100%);
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.poster-figure {
  position: absolute;
  bottom: -2%;
  width: auto;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.45));
}

.poster-figure--hobbies { left: -1%; height: 48%; z-index: 2; transform: rotate(-6deg); }
.poster-figure--education { left: 12%; height: 74%; z-index: 3; transform: rotate(-3deg); }
.poster-figure--soft-skills { left: 30%; height: 58%; z-index: 4; transform: rotate(4deg); }
.poster-figure--welcome { left: 45%; height: 102%; bottom: -4%; z-index: 6; }
.poster-figure--contacts { left: 68%; height: 66%; z-index: 5; transform: rotate(5deg); }

.stripe:hover .poster-figure,
.stripe:focus-visible .poster-figure {
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.5));
}

.stripe:hover .poster-figure--welcome,
.stripe:focus-visible .poster-figure--welcome {
  transform: scale(1.03);
  transform-origin: bottom center;
}

/* Photorealistic photos (book / laptop): anchored to the bottom-right
   corner of the stripe, full height, fading out on the left edge so they
   blend into the stripe's gradient rather than showing a hard cut line. */
.stripe-photo {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 52%;
  object-fit: cover;
  object-position: 65% 85%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 28%);
  mask-image: linear-gradient(to right, transparent 0%, black 28%);
}

.stripe:hover .stripe-photo,
.stripe:focus-visible .stripe-photo {
  transform: scale(1.03);
  transform-origin: bottom right;
}

.stripe-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 8, 6, 0.62) 0%, rgba(10, 8, 6, 0.28) 45%, rgba(10, 8, 6, 0) 75%);
  pointer-events: none;
}

.stripe-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 2.25rem;
  max-width: 60%;
}

.stripe-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.stripe-hint {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.82);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.stripe--book {
  background: linear-gradient(115deg, #e9d3a3 0%, #c9a066 45%, #7a5330 100%);
}

.stripe--neon {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,46,196,0.25), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(15,240,252,0.2), transparent 55%),
    repeating-linear-gradient(0deg, rgba(15,240,252,0.07) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(255,46,196,0.06) 0 1px, transparent 1px 38px),
    linear-gradient(135deg, #08050f 0%, #170a2e 100%);
}

.stripe--fun {
  background:
    radial-gradient(circle at 22% 22%, rgba(255,255,255,0.4), transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(255,214,102,0.4), transparent 55%),
    linear-gradient(115deg, #ffd08a 0%, #ff8a5c 55%, #e8543a 100%);
}

.stripe:nth-child(2) { border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }

@media (max-width: 640px) {
  .stripe { height: 170px; }
  .stripe-copy { max-width: 75%; padding: 0 1.4rem; }
  .stripe-photo { width: 62%; }
  .poster-figure--welcome { left: 40%; }
  .poster-figure--contacts { left: 74%; }
}

@media (prefers-reduced-motion: reduce) {
  .stripe-visual, .stripe-photo, .poster-figure { transition: filter 0.2s ease; transform: none !important; }
}
