/* AMASO local copy: "Wat we doen", six activities in the slider that held three cases. The rows keep their style,
   numbering and active-row highlight; on short screens they tighten so all six sit under the heading. */
@media screen and (min-width: 992px) {
  .left_panel .work_item { padding-top: clamp(9px, 1.55vh, 24px); padding-bottom: clamp(9px, 1.55vh, 24px); cursor: pointer; }
  .left_panel .item_name { font-size: clamp(22px, 3.3vh, 32px); }
  .left_panel .item_name { white-space: nowrap; }
  .left_panel .item_name.amaso-long { font-size: clamp(20px, 2.9vh, 28px); }
  .left_panel .item-tags { font-size: clamp(12px, 1.5vh, 14px); white-space: nowrap; text-align: right; }
  .left_panel .work_item:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
}
.right_panel video.case_image, .slider_mask video.slide_img { display: block; background: #0f0f0f; }
.file-inner_img { position: relative; overflow: hidden; }
/* Projecten window: each project links to its case page; image windows link from their title bar */
.amaso-case-link { display: inline-flex; align-items: center; gap: .4em; margin-top: 10px; font-family: var(--_typography---font-tertiary);
  font-size: 12px; text-transform: uppercase; letter-spacing: .02em; color: var(--amaso-accent-text, #4a50d0); text-decoration: none; border-bottom: 1px solid currentColor; }
.amaso-case-link:hover { opacity: .75; }
.amaso-window-case { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2; font: 500 11px/1 var(--mac-font, -apple-system, sans-serif);
  color: #4d4d4d; text-decoration: none; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .06); }
.amaso-window-case:hover { background: rgba(0, 0, 0, .12); color: #1d1d1f; }
.mac-inactive .amaso-window-case { color: #a8a8a8; }
/* phones/tablets: a long name wraps instead of running under the round pager */
@media screen and (max-width: 991px) {
  #our_work .slide_content_wrap .case_title { max-width: calc(100% - 150px); }
  #our_work .slide_content_wrap .item_name.amaso-long { font-size: min(28px, 4.9vw); white-space: nowrap; }
}

/* ---------------------------------------------------------------- AMASO brand palette (2026-10-20, amaso/brand/tokens.css)
   The Neutomni red becomes the ribbon's ember (the /werk/ wordmark, lines, cards, the footer), its blue the periwinkle.
   Body text takes a deeper ember (#b3381c, 4.7:1 on the beige, AA); large headings stay ember (3.7:1, AA large). */
:root {
  --_colors---base-colors--red: var(--amaso-ember, #d14121);
  --_colors---base-colors--blue: var(--amaso-periwinkle, #7179ef);
  --_colors---text-colors--main-text-color: #b3381c;
}
.logo_link.w--current { color: var(--amaso-ember, #d14121); }
.link_wrap:hover { color: var(--amaso-accent-text, #4a50d0); }
/* the Diensten window's lower glow: sky, like its wave (amaso/wave-top-light.svg) */
.bottom.light { background-color: var(--amaso-sky, #b6d3f4); }
/* buttons: the palette accent with ink on it (4.9:1) */
.circle, .pricing_close { background-color: var(--amaso-accent, #7179ef); }
.circle-cta .arrow-icon, .pricing_close { color: var(--amaso-on-accent, #16151c); }
.circle-cta:hover .circle, .pricing_close:hover { background-color: var(--amaso-accent-hover, #8e92f1); }

/* one colour per service (the row's line and an underline under its number); text itself stays AA ember */
.left_panel .work_item._01, .slides-stack .swiper-slide:nth-child(1) { --svc: var(--svc-website-design); }
.left_panel .work_item._02, .slides-stack .swiper-slide:nth-child(2) { --svc: var(--svc-webshops); }
.left_panel .work_item._03, .slides-stack .swiper-slide:nth-child(3) { --svc: var(--svc-apps); }
.left_panel .work_item._04, .slides-stack .swiper-slide:nth-child(4) { --svc: var(--svc-3d-vr); }
.left_panel .work_item._05, .slides-stack .swiper-slide:nth-child(5) { --svc: var(--svc-dashboards); }
.left_panel .work_item._06, .slides-stack .swiper-slide:nth-child(6) { --svc: var(--svc-marketing); }
.left_panel .work_item._07, .slides-stack .swiper-slide:nth-child(7) { --svc: var(--svc-ai-automatisering); }
.left_panel .work_item, .slides-stack .slide_content_wrap { border-bottom-color: var(--svc, currentColor); }
.left_panel .work_item .item_num, .slides-stack .item_num {
  text-decoration: underline 3px var(--svc, currentColor); text-decoration-skip-ink: none; text-underline-offset: 4px; }

/* the Siri glow (iOS 26): the ribbon colours as a soft, slowly turning edge light. The conic is restated here so the
   angle turns on this element (a token resolved on :root would keep the root's angle). */
.right_panel .slide_mask::after {
  --amaso-glow: conic-gradient(from var(--amaso-glow-angle), #e0652c, #dc7ac7, #b14bd3, #7179ef, #b6d3f4, #d9a0e8, #f4c263, #eeb9b2, #e0652c);
  content: ""; position: absolute; pointer-events: none; border-radius: inherit; background: var(--amaso-glow);
}
/* the showreel: a blurred halo just outside its edge, breathing. perf (21 Oct 2026): a real element whose conic layer
   turns with a transform on the compositor (the same picture as turning the conic's start angle, which repainted the
   blur on the main thread every frame) */
.section.video .video_wrap > .amaso-glow-ring {
  position: absolute; inset: -6px; z-index: -1; pointer-events: none; border-radius: inherit; overflow: hidden;
  filter: blur(var(--amaso-glow-blur, 18px)); opacity: .75;
  animation: amaso-glow-breathe 6s ease-in-out infinite;
}
.section.video .video_wrap > .amaso-glow-ring > i {
  position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; margin: -75% 0 0 -75%;
  background: conic-gradient(#e0652c, #dc7ac7, #b14bd3, #7179ef, #b6d3f4, #d9a0e8, #f4c263, #eeb9b2, #e0652c);
  animation: amaso-ring-turn 8s linear infinite; will-change: transform;
}
@keyframes amaso-ring-turn { to { transform: rotate(360deg); } }
/* the services slider's media: a soft inner edge light on hover (a fading edge mask, the slider clips its outside) */
.right_panel .slide_mask::after {
  inset: 0; z-index: 3; opacity: 0; transition: opacity .5s ease;
  -webkit-mask: linear-gradient(90deg, #000, transparent 28px, transparent calc(100% - 28px), #000),
                linear-gradient(180deg, #000, transparent 28px, transparent calc(100% - 28px), #000);
          mask: linear-gradient(90deg, #000, transparent 28px, transparent calc(100% - 28px), #000),
                linear-gradient(180deg, #000, transparent 28px, transparent calc(100% - 28px), #000);
}
/* it only turns while hovered: at opacity 0 the custom-property animation still restyled every frame (perf, 21 Oct 2026) */
.right_panel .slide_mask:hover::after { opacity: 1; animation: amaso-glow-spin 8s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .section.video .video_wrap > .amaso-glow-ring, .section.video .video_wrap > .amaso-glow-ring > i, .right_panel .slide_mask:hover::after { animation: none; }
}
